Re: [Puppet Users] Random errors in AIX-Zlinux clients

2010-09-03 Thread Héctor Rivas Gándara
> Bad luck, it is still failing with random errors, but more related to > the platform: > > On a Suse ZLinux (s390x) installation (and a pair of times on AIX > servers) I get this error related to MySQL: "MySQL server has gone > away". > And I still get these random errors on AIX. I think that it m

Re: [Puppet Users] Puppet 2.6.1rc2 does not honor agent's --tags option

2010-09-03 Thread Jason Koppe
Are automatic tags working for others in 2.6? On Wed, Sep 1, 2010 at 6:54 AM, Jason Koppe wrote: > Automatic tags don't work for me but explicit tags do since moving to 2.6. > > > On Mon, Aug 30, 2010 at 1:47 PM, Todd Zullinger wrote: > >> Jean-Baptiste Quenot wrote: >> > After upgrading Puppet

Re: [Puppet Users] err: Too many open files - /var/lib/puppet/state/state.yaml.tmp

2010-09-03 Thread Héctor Rivas Gándara
>> I keep on getting this message: >> err: Too many open files - /var/lib/puppet/state/state.yaml.tmp >> Does anybody know what might be causing it? >> I am having the same problem. I think that it is a socket leak in puppetmaster (it does not properly closes sockets). To workaround the problem y

Re: [Puppet Users] err: Too many open files - /var/lib/puppet/state/state.yaml.tmp

2010-09-03 Thread Héctor Rivas Gándara
2010/9/3 Héctor Rivas Gándara : > To workaround the problem you can increase the ulimit for open files > (/etc/security/limits.conf) and restart puppetmaster periodically > (¿each 6h?). About this solution, I think that I found another bug in puppetmasterd: http://projects.reductivelabs.com/issue

Re: [Puppet Users] [puppet-server] - "/var/lib/puppet" while installing 0.25.5 puppet-server

2010-09-03 Thread Rob McBroom
On Sep 2, 2010, at 7:46 PM, Patrick wrote: > I would assume that the package maintainer moved the default directory > location. It's been a while, but I think when I installed the Puppetmaster package (from EPEL), it was set up to use `/etc/puppet/` while the client package uses `/var/lib/pupp

Re: [Puppet Users] help adding line to /etc/inittab

2010-09-03 Thread Rob McBroom
On Sep 2, 2010, at 5:47 PM, Kit Stube wrote: > changes => [ > "set ~ /~", > "set ~/runlevels S", > "set ~/action wait", > "set ~/process /sbin/sul

Re: [Puppet Users] Puppet 2.6.1rc2 does not honor agent's --tags option

2010-09-03 Thread Ryan Y. Coleman
- Original Message - > From: "Jason Koppe" > To: puppet-users@googlegroups.com > Sent: Friday, September 3, 2010 7:12:34 AM > Subject: Re: [Puppet Users] Puppet 2.6.1rc2 does not honor agent's --tags > option > Are automatic tags working for others in 2.6? No, but see: http://projects.

Re: [Puppet Users] variable set in site.pp not visible in nodes.pp

2010-09-03 Thread Dan Urist
On Thu, 02 Sep 2010 23:32:43 +0200 Peter Meier wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > >> I have another glitch with 2.6.1-rc2 that worked in 0.25-- I set a >> global variable in my site.pp that is used in my nodes.pp, but it's >>no >> longer set there, though it still is in m

Re: [Puppet Users] variable set in site.pp not visible in nodes.pp

2010-09-03 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > So it looks like there are two different scopes now? In 0.25, I was > setting the variable outside of the node definition; I was using > this to set some path variables. Is this a bug, or was this change > intended? Hmm the only difference to how

[Puppet Users] Filebucket NameError

2010-09-03 Thread Richard Knight
I have a backup policy set up on my puppetmaster to back up all files to a /backup directory on each local machine, which it does flawlessly, and have verified even backups run locally work correctly, however when I try to restore I get an uninitialized constant error, to whit: [r...@iron ~]# file

Re: [Puppet Users] Filebucket NameError

2010-09-03 Thread James Turnbull
Richard That looks like a bug to me. Can you please log it - it'll be a simple naming fix. Thanks James Turnbull Richard Knight wrote: I have a backup policy set up on my puppetmaster to back up all files to a /backup directory on each local machine, which it does flawlessly, and have veri

Re: [Puppet Users] Puppet 2.6.1rc2 does not honor agent's --tags option

2010-09-03 Thread Jason Koppe
Thanks! On Fri, Sep 3, 2010 at 9:50 AM, Ryan Y. Coleman wrote: > > > - Original Message - > > From: "Jason Koppe" > > To: puppet-users@googlegroups.com > > Sent: Friday, September 3, 2010 7:12:34 AM > > Subject: Re: [Puppet Users] Puppet 2.6.1rc2 does not honor agent's --tags > option >

Re: [Puppet Users] variable set in site.pp not visible in nodes.pp

2010-09-03 Thread Dan Urist
On Fri, 03 Sep 2010 17:39:46 +0200 Peter Meier wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > So it looks like there are two different scopes now? In 0.25, I was > > setting the variable outside of the node definition; I was using > > this to set some path variables. Is this a b

Re: [Puppet Users] Re: Using defined(Class[]) on a subclass

2010-09-03 Thread Steven L. Seed
This doesn't work. It appears that puppet is looking to see if the value is defined anywhere at all in the manifest when called this way. Since I have defined a class "server::cobbler" it skips over the code even though the node I'm running it on doesn't have the class defined for it. John L

Re: [Puppet Users] Creating tests for the yum package provider

2010-09-03 Thread Matt Robinson
Hi Oliver, Sorry for taking so long to respond on this. We definitely appreciate the help writing some tests for that patch as it looks like something that would definitely help people once it gets merged in. Writing tests for puppet providers can be tricky, as you're finding. I'll take a look an