[Puppet Users] Nagios object inheritance

2009-11-13 Thread Scott
So I'm revisiting puppet's management of nagios now that 0.25.1 is out and I want to say thanks for the updates to all the nagios types. However, there is one huge, gaping hole that's been asked about before in 2 different threads but that's never been addressed: object inheritance. For it to wo

[Puppet Users] Package dependancy.

2009-11-13 Thread Douglas Garstang
I have a node definition that includes a tomcat::server class. That tomcat::server class calls a definition to install tomcat. My node definition then calls another definition to configure tomcat. And, I'm getting this... Configuration could not be instantiated: Could not find dependency Package

[Puppet Users] Checksum Behavior Change

2009-11-13 Thread Paul Lathrop
Hiya, Since upgrading our puppetmaster to 0.25.1, we've noticed a behavior change which is causing us some problems, and I'm not sure if it is expected behavior. We have the following resource definition (inside of a define): file { "/var/lib/mysql/extdbfiles/$name": owner => mysql

[Puppet Users] Re: how can I use puppet to manage ec2 instances owned by the autoscaler?

2009-11-13 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Westin wrote: > I've done a setup of some puppet-managed virtual hosts under VMWare > before. Now I'd like to manage a larger set of hosts in ec2. But I > don't see how to manage them given that hosts could come and go. In a > static environm

[Puppet Users] Re: Multihomed puppet-server Multidomain SSL Problem

2009-11-13 Thread Paul Lathrop
On Fri, Nov 13, 2009 at 6:40 AM, Hubert Krause wrote: > > Hello List, > > I have a problem with the CA on my Puppetmaster. This Puppetmaster is > connected to different Networks with different sub domainnames. The Puppet > clients connecting via different Interfaces. There is no routing between >

[Puppet Users] Re: Multihomed puppet-server Multidomain SSL Problem

2009-11-13 Thread Christopher Webber
I would love to see an answer to this as well. I have basically ended up just adding an entry to /etc/hosts to make it possible to connect to the secondary interface. -- cwebber On Nov 13, 2009, at 6:40 AM, Hubert Krause wrote: > > Hello List, > > I have a problem with the CA on my Puppetma

[Puppet Users] how can I use puppet to manage ec2 instances owned by the autoscaler?

2009-11-13 Thread Chris Westin
I've done a setup of some puppet-managed virtual hosts under VMWare before. Now I'd like to manage a larger set of hosts in ec2. But I don't see how to manage them given that hosts could come and go. In a static environment, I can assign hostnames to the hosts, and those are the nodenames that

[Puppet Users] Multihomed puppet-server Multidomain SSL Problem

2009-11-13 Thread Hubert Krause
Hello List, I have a problem with the CA on my Puppetmaster. This Puppetmaster is connected to different Networks with different sub domainnames. The Puppet clients connecting via different Interfaces. There is no routing between subnets. Only one subnet can connect successfully. This is becau

[Puppet Users] Re: user::virtual and selectivly removing users

2009-11-13 Thread danielbln
Thanks for the purging advice, I faced a similar problem recently. @Christopher Did you file a bug report yet? On 5 Nov., 00:23, Russ Allbery wrote: > Christopher writes: > > From what I remember (and after looking at the RH docs on users) , UIDs > > from 1-499 are for system users, and UIDs f

[Puppet Users] Re: Behavior Driven Infrastructure

2009-11-13 Thread Ryan Dooley
Agreed. Great collection of testing links. Cheers, Ryan On Nov 13, 2009, at 1:15 PM, Christian Kauhaus wrote: > > Patrick Debois schrieb: >> I've put my collection of infrastructure testing links online: >> http://www.jedi.be/blog/2009/11/12/collection-of-test-driven-infrastructure-links/ >

[Puppet Users] Re: conditional restart of service

2009-11-13 Thread Jason Lavoie
On 11/13, Luke Kanies wrote: > On Nov 12, 2009, at 11:58 AM, Jason Lavoie wrote: > > Shouldn't the "Skipping because of failed dependencies" in the output > > below be absolute? Why is puppet still refreshing the Service[dep] > > (in the very next log line)? Am I misunderstanding how the > > d

[Puppet Users] Re: Behavior Driven Infrastructure

2009-11-13 Thread Christian Kauhaus
Patrick Debois schrieb: > I've put my collection of infrastructure testing links online: > http://www.jedi.be/blog/2009/11/12/collection-of-test-driven-infrastructure-links/ Great compilation. Thank you for sharing it with us. :-) Regards Christian -- Dipl.-Inf. Christian Kauhaus <>< · k...@g

[Puppet Users] Re: conditional restart of service

2009-11-13 Thread Luke Kanies
On Nov 12, 2009, at 11:58 AM, Jason Lavoie wrote: > > On 10/29, Peter Meier wrote: >>> I'm trying to have a exec dependency on a service object that >>> would keep >>> it from being restarted if the exec fails. Unfortunately, the >>> service >>> gets refreshed regardless whenever the exec is

[Puppet Users] Re: Managing 'services' (daemons) in AIX Client

2009-11-13 Thread jcbollinger
On Nov 13, 3:04 am, M F Haris wrote: > Yes i tried to tweak with puppet resources, when i set >  *ensure => running* and run puppet in debug mode > then puppet executes following command as; > > /service/Manageservice[ssh]/Exec[sshd]: Executing '/etc/rc.d/init.d/sshd > /*running*/' > > similarl

[Puppet Users] Re: master/slave

2009-11-13 Thread Rune Stensø
In this case I would recommend using distributed revision control, for example git or mercurial. Syncronizing between several hosts is what these does well. In my case, I use mercurial on a virtual machine I use for development in my puppet environment. When I'm happy with how it's working on all

[Puppet Users] Re: master/slave

2009-11-13 Thread windowsrefund
You probably also want a development environment when you'll write/ test your manifests. This could be hooked into a VCS. You'll develop in a testing branch and merge your tested code into trunk. From there, you can rsync trunk over to /etc/puppet on each of your 'production' puppet masters. Pers

[Puppet Users] Re: master/slave

2009-11-13 Thread mcn...@cafes.net
I have two different networks that I'm managing. I would like to set up a puppetmaster for each network, but it would be nice if I could set up a master/slave relationship somehow between the two puppetmasters so that I only have to make changes to one of them and have it pushed to both networks.

[Puppet Users] Re: conditional restart of service

2009-11-13 Thread Jason Lavoie
On 11/13, Peter Meier wrote: > > Shouldn't the "Skipping because of failed dependencies" in the output > > below be absolute? Why is puppet still refreshing the Service[dep] > > (in the very next log line)? Am I misunderstanding how the dependencies > > should work? > > hmm, which version are y

[Puppet Users] Re: Multiple environments

2009-11-13 Thread R.I.Pienaar
hello, - "Thomas Bellman" wrote: > Scott wrote: > > > Is anyone using multiple environments? Can someone at least tell > me > > what they did to get it working? > I wrote up the following: http://www.devco.net/archives/2009/10/10/puppet_environments.php That'll work for 0.24.8 onward

[Puppet Users] Multiple environments

2009-11-13 Thread Thomas Bellman
Scott wrote: > Is anyone using multiple environments? Can someone at least tell me > what they did to get it working? I do. My puppet.conf on the master looks like this: --- puppetmaster:/etc/puppet/puppet.conf --- [main] vardir = /var/lib/puppet logdir =

[Puppet Users] AIX client Could not parse source path in fileserver.conf

2009-11-13 Thread M F Haris
dear all, I am stuck in a small issue with my AIX node. I need to copy the ssh key file of individual users from my server in to their home directory in AIX client. I cannot manage the 'source' resource with path defined in fileserver.conf. filserver.conf: [AIX] path myfil

[Puppet Users] Re: Managing 'services' (daemons) in AIX Client

2009-11-13 Thread M F Haris
jcbollinger schrieb: > > On Nov 12, 7:32 am, M F Haris wrote: > >> I want to manage services in my AIX node. I mean i can start/stop >> service using >> exec { command => "/etc/rc/blah-service start",} but i like this to be >> done by puppet itself with its type reference 'service'. >> >> has

[Puppet Users] Re: master/slave

2009-11-13 Thread Rune Stensø
Could you tell us a bit more about what it is you are trying to do? Puppet contains several components, so replication can mean many things. Are you for example just looking to synchronize modules across several puppetmasters, a revision control tool might be what you want. If you're looking to a

[Puppet Users] Re: conditional restart of service

2009-11-13 Thread Peter Meier
Hi > Shouldn't the "Skipping because of failed dependencies" in the output > below be absolute? Why is puppet still refreshing the Service[dep] > (in the very next log line)? Am I misunderstanding how the dependencies > should work? hmm, which version are you running? > err: //Exec[check-dep]