Displaying 20 results from an estimated 1000 matches similar to: "defining client/server configs"
2006 Nov 03
1
Reusable definitions
Hi there,
I would like to use puppet to configure two networks and one of the first
things I''ve tried to do is to describe ntp configuration. Each network has a
ntp server that acts as a proxy for internal nodes, so those internal nodes
share the same configuration except for the server they use to get the time.
Attempting to describe this I''ve thought of several approaches,
2007 Aug 24
4
Variable scope: Class inheritance vs Include statement.
Hello.
I''m a long time cfengine user, some might say sufferer, and I have
finally managed to get around to experimenting with Puppet. So far I''m
very impressed.
I am trying to get puppet to configure the openntpd config file, from
an ERB template, based on the node definition in the site config.
What I''m trying to understand is why when I define a variable in a
child
2007 Nov 18
9
Modules, namespaces and variables
Hi there,
After quite a long time out of puppet business I''m back, and the first thing
I''m doing is rephrasing my puppet manifests using modules. I started with
the NTP module (a classic, I guess). I have (more or less) the following:
In modules/ntp/manifests/init.pp:
$ntp_localtime = "/usr/share/zoneinfo/Europe/Madrid"
class ntp {
... some stuff using the
2007 Sep 17
2
ntp policy example question
I would like to configure a linux ntp server on my lan as the ntp server for
my windows xp clients
I'm not able to come to an understandable solution (due probably to my lack
in windows knowledge)
I found this in samba archives:
CLASS MACHINE
CATEGORY !!Time
POLICY !!NTPServer
KEYNAME SYSTEM\CurrentControlSet\Services\W32Time\Parameters
PART !!NTP_SERVER EDITTEXT
VALUENAME
2008 May 06
5
Environments and tiers
Does anyone have any suggestions about how to deal with multiple
environments/tiers?
For instance, we have several environments ( production, dev, qa,
etc.. ) and within each environment, different tiers ( web, data, app,
etc ). Each tier is a different IP network segment, so all the hosts
in each tier have different configurations for certain things like
resolv.conf, ntp.conf and so on.
We do
2004 Oct 13
2
time server directive and synchronizing Win XP clients
Hi all!
I have configured a Samba PDC (3.0.7) on a Fedora Core 2 machine with LDAP
authentication (conform http://samba.idealx.org/smbldap-howto.en.html). I
have about 180 Windows XP Pro clients using this PDC to log onto the
domain, which works great!
However I seem to have trouble synchronizing the time on the clients to
the time on the server. The users (in group Domain Users) do not have
2007 Dec 13
1
Help me understand class namespacing
I asked on IRC but no one responded.
Suppose the following:
class basenode {
include users
include security
class webserver {
include apache, php
}
}
node web1a {
include basenode::webserver
}
Does node web1a imply including users and security specified under
class basenode as well? Similarly, does this mean the same thing?
class basenode {
include users
include security
}
2013 Mar 20
2
How to make sure my common module executes before all other ones
I am running puppet 3.1.1 and have a site.pp which roughly looks like this
site.pp:
node basenode {
include common
}
node ''server1'' inherits basenode {
include role::appserver
}
node ''server2'' inherits basenode {
include role::webserver
}
And my common module includes lots of different types of classes for
creating base directories, adding in
2008 Oct 22
5
LDAP Problem
I am trying to configure puppet with LDAP repository . I have set puppet
schema and I have also added node definition at LDAP.
Here is my configuration details .
##############################################################
Puppet.conf
node_terminus = ldap
ldapserver = 10.250.11.127
ldapbase = ou=Hosts,dc=xyz,dc=com
ldapassword = secret
2011 Mar 24
6
run stages in puppet 2.6
hello guys,
I am trying to incorporate run stages into my puppet setup. I''ve been
working with this for a few days and I haven''t quite got the hang of
it yet...
When I attempt my puppet run this is the error I see:
------------------------------------------------
[root@chromews21 ~]# puppetd -t
err: Could not retrieve catalog from remote server: Error 400 on
SERVER:
2012 Nov 06
2
ntpserver in domainU vm
Hello all,
I try to set a ntp server in domainU, but other vms cannot synchronizes with the ntpserver VM. When I choose to set ntp server in domain0, synchronization can be done. Why is that?
I install xcp-xapi 1.5 on ubuntu server 12.04 64-bit.
Many thanks!
clayton
claytonly
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
2007 Oct 29
2
puppetd and self management
OS: FreeBSD 6.2-RELEASE
Puppet: 0.22.4
OS: CentOS 5.0
Puppet: 0.23.2
Is it currently not possible for puppetd to upgrade itself (0.22.4 -> 0.23.2)? I tried it,
and when puppetd attempted to restart itself (using the init provider), it failed to start
back up. Perhaps the init provider needs to close all file handles before executing the
rc.d scripts?
Additionally, I had puppetd update its
2007 Sep 11
5
Node behavior
Hello,
I am rather new to Puppet and am starting to test it out for use on a
client''s servers. I am running into difficulty with node behavior. I
want to specify a different firewall for every server. The default
"basenode" works (applies the various files/functions/etc to all the
servers just fine). However, when I specify the following (see
nodes.pp, specifically),
2013 Oct 11
4
Duplicate declaration for files.
Hello,
I''m configuring my linux server with puppet open and is ok. My question is
the next; I''ve a declared in mi nodes.pp the next:
[.............]
node ''basenode'' {
include ''baseos''
include ''motd''
import ''useradd.pp''
}
#All nodes for my domain
node /.*\.example\.com/ inherits
2007 Jul 21
5
Some ''in service'' questions
Hi,
Just a quick query about some things that crop up when I run ''puppetd
--test''. Every time I run this command I always see the following
output, which I think is strange as the ''man'' package has been installed
previously and the firewall service is definitely running. Has anybody
got any suggestions as to why puppet thinks it needs to install the man
2010 Jul 23
3
Design, syntax question for passing values from node.pp
Is it possible to define variable at this level. I need to pass the
monit config file name ( sometimes its monitrc sometimes in not ).
Here is what I have.
# /etc/puppet/manifests/nodes.pp
node basenode {
include postgresql
include monit
include wiki
include apace
}
node ''freebeerontuesdays.com'' inherits basenode {
}
--
You received this message because you are
2008 Apr 17
4
looking for a way to remove module interdependencies
Hello List,
i''m running into an issue with puppet where I don''t know how to solve
correctly.
We''re managing applications and our monitoring (nagios) using puppet
using the following schema:
class nagios {
// ensure nrpe ist installed
// export a host definition
nagios::check { ''ping'': }
nagios::check { ''load'': }
...
2013 Feb 01
3
Cannot get puppetlabs-haproxy to do what I want
I''ve been having a mess of a time using this module, which stinks because
its behavior is EXACTLY what I am looking for... whenever I bootstrap new
rabbitMQ nodes I want to add them to our HAProxy instance.
Here''s my relevant site.pp entries:
node /^rabbit.*/ inherits basenode {
@@haproxy::balancermember { $fqdn:
listening_service => ''messaging00'',
2007 Aug 24
7
Problem restarting client service ssh in client
Hello,
I want a simple operation in a puppet node like restarting the ssh
service if it was stopped. My site.pp is simple as this:
import "services/*"
node default {
include ssh
}
The services directory as a ssh.pp :
class ssh {
service { ssh:
ensure => running,
subscribe => File["/etc/ssh/sshd_config"]
}
}
I''ve stopped the ssh service in the
2010 Apr 26
0
[LLVMdev] r102300 breaks Obj-C codegen on Darwin x86
I managed to build a reduced test case:
================== foo.m ==================
#include <Foundation/Foundation.h>
@interface BaseNode : NSObject <NSCoding, NSCopying> { }
@end
@implementation BaseNode
@end
int main(int argc, char **argv) {
return 0;
}
==========================================
# clang -o foo -arch i386 -framework Foundation foo.m
foo.m:8:1: warning: