Re: [Puppet Users] nagios_service types and name

2010-10-21 Thread Bruce Richardson
On Wed, Oct 20, 2010 at 05:16:39PM +0100, Bruce Richardson wrote: It seems that the nagios_service type will not write out the name property of nagios service objects. I had thought this was an oversight or a bug, till I saw this thread:

Re: [Puppet Users] Re: Negate or uninclude a class

2010-10-21 Thread Felix Frank
On 10/19/2010 07:07 PM, Bruce Richardson wrote: On Tue, Oct 19, 2010 at 01:36:25PM +0200, Felix Frank wrote: Subclasses that effectively disable a class are a sound concept. Subclasses which disable a resource are a sound concept; subclasses which attempt to negate a claass present many

Re: [Puppet Users] Re: Automating infrastructure tests on Puppet nodes after a puppetrun

2010-10-21 Thread Felix Frank
To answer the 'now' part of it, I'd just notify via mcollective my nagios box to do a check for all services on the node post puppet run. That could be an option but it wouldn't directly correlate the check's failure with a Puppet run. I think I would prefer to use the existing checks (so

[Puppet Users] FreeBSD puppetd CSRs being ignored by puppetmaster

2010-10-21 Thread sasepp
Hi, I'm trying to deploy puppetd 0.25.4 (from ports) on two servers running FreeBSD 8.0-RELEASE and 8.1-RELEASE. The puppetmaster 0.24.5 is running on Debian Lenny. Tcpdump on puppetmaster shows tons of packets coming in and going out when puppetd is launched. I've used this command for

Re: [Puppet Users] FreeBSD puppetd CSRs being ignored by puppetmaster

2010-10-21 Thread Felix Frank
Hi, On 10/21/2010 12:01 PM, sasepp wrote: Hi, I'm trying to deploy puppetd 0.25.4 (from ports) on two servers running FreeBSD 8.0-RELEASE and 8.1-RELEASE. The puppetmaster 0.24.5 is running on Debian Lenny. Tcpdump on puppetmaster shows tons of packets coming in and going out when puppetd

[Puppet Users] Puppet master reparsing every 24 hours

2010-10-21 Thread Trevor Hemsley
About a year ago there was a discussion about why a puppetmaster process was reparsing /etc/puppet/puppet.conf every 24 hours. The conclusion of that was that it was down to a backup package called Netbackup which was resetting the atime on the file as it backed it up. I seem to have a similar

[Puppet Users] Re: FreeBSD puppetd CSRs being ignored by puppetmaster

2010-10-21 Thread sasepp
But clients being newer than the master is not a good thing and should be avoided at all costs. Seeing as the debian stable packages are rather ancient by now (lots of bugs fixed since), you may want to look for a way to upgrade those (i.e., use backport or unstable packages, not use packages

[Puppet Users] Problem overriding file resource in 2.6.x

2010-10-21 Thread Arnaud Gomes-do-Vale
Hi folks, I have a couple of classes to manage ssh servers. All my hosts include ssh::server which manages a generic config file, and some of them include ssh::server::forceip which use a template to force sshd to bind on specific IP addresses. Here is the code: class ssh::server {

[Puppet Users] SLES11 facter problems

2010-10-21 Thread Andreas Paul
I installed the 2.6.2 puppet and facter 1.5.8 gems and tried to run puppet, but it failed with the following message: err: Could not run Puppet configuration client: Could not retrieve local facts: uninitialized constant Facter::IPAddress Then I tried running facter alone: # facter

[Puppet Users] Upgrade to 2.6: Cannot use class name as tag anymore?

2010-10-21 Thread Daniel Kerwin
Hi list, i just upgraded some servers to Puppet 2.6.2 and it seems like it's not possible to use class names as tags anymore. I haven't found any documentation about this except a bug for 2.6.1 that should be fixed (http://projects.puppetlabs.com/issues/4631). Example: class firewall {

Re: [Puppet Users] Puppet master reparsing every 24 hours

2010-10-21 Thread Patrick
On Oct 21, 2010, at 3:13 AM, Trevor Hemsley wrote: About a year ago there was a discussion about why a puppetmaster process was reparsing /etc/puppet/puppet.conf every 24 hours. The conclusion of that was that it was down to a backup package called Netbackup which was resetting the atime

Re: [Puppet Users] Re: best practice for removing a module maintained resources from a system ?

2010-10-21 Thread Martin Langhoff
On Thu, Oct 21, 2010 at 4:56 AM, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: I guess what you're getting at is this: No, puppet is not exactly good at uninstall this now and from then on, don't care about it anymore. This is not what puppet has been conceived for, though. OK - but

Re: [Puppet Users] Puppet master reparsing every 24 hours

2010-10-21 Thread Trevor Hemsley
The original report is http://www.mail-archive.com/puppet-users@googlegroups.com/msg04883.html I don't use BSD, I'm running RHEL5.5. I have two other puppet masters with identical config files that do not do this. Only difference I can find is that in the new data centre, the provider runs a

Re: [Puppet Users] Re: best practice for removing a module maintained resources from a system ?

2010-10-21 Thread Felix Frank
On 10/21/2010 05:33 PM, Martin Langhoff wrote: On Thu, Oct 21, 2010 at 4:56 AM, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: I guess what you're getting at is this: No, puppet is not exactly good at uninstall this now and from then on, don't care about it anymore. This is not what

Re: [Puppet Users] puppetd 0.25.4 with puppetmaster 0.24.8?

2010-10-21 Thread Ed Greenberg
OK, so I upgraded the puppetmaster server to lucid, which got me the puppetmaster 0.25.4. I am still having issues signing up a new lucid client, and I've foudn this in the client's log: Oct 21 15:32:53 edglucid1 puppetd[27061]: Could not request certificate: undefin ed method `closed?' for

[Puppet Users] Re: Puppet trying to start service before package is installed

2010-10-21 Thread Kris Saxton
Hi Freddie, I experienced something similar with the init service provider (which the freebsd provider inherits). In some cases, the puppet agent seems to attempt to locate the init script before it's been installed and throws the exception you're seeing ('Could not find init script') when it

[Puppet Users] Pulling in a Hash from an external data source?

2010-10-21 Thread Matt Wise
I have a scenario where I'd like to pull in a hash table from an external file (really, a generate() function.. but for testing purposes, a file will do)... is there any way to do that? —Matt -- You received this message because you are subscribed to the Google Groups Puppet Users group. To

Re: [Puppet Users] puppetd 0.25.4 with puppetmaster 0.24.8?

2010-10-21 Thread Patrick
On Oct 21, 2010, at 8:48 AM, Ed Greenberg wrote: OK, so I upgraded the puppetmaster server to lucid, which got me the puppetmaster 0.25.4. I am still having issues signing up a new lucid client, and I've foudn this in the client's log: Oct 21 15:32:53 edglucid1 puppetd[27061]: Could not

Re: [Puppet Users] Re: best practice for removing a module maintained resources from a system ?

2010-10-21 Thread Nigel Kersten
On Wed, Oct 20, 2010 at 12:09 PM, Martin Langhoff martin.langh...@gmail.com wrote: On Wed, Oct 20, 2010 at 3:00 PM, Mohit Chawla mohit.chawla.bin...@gmail.com wrote: Except that some definitions may be gone. That's what worries me. Sure I can read the pp files as they are today. That's

Re: [Puppet Users] Puppet master reparsing every 24 hours

2010-10-21 Thread Rob McBroom
On Oct 21, 2010, at 11:47 AM, Trevor Hemsley wrote: The original report is http://www.mail-archive.com/puppet-users@googlegroups.com/msg04883.html I don't use BSD, I'm running RHEL5.5. I have two other puppet masters with identical config files that do not do this. Only difference I

Re: [Puppet Users] puppetd 0.25.4 with puppetmaster 0.24.8?

2010-10-21 Thread Nigel Kersten
On Thu, Oct 21, 2010 at 10:13 AM, Patrick kc7...@gmail.com wrote: On Oct 21, 2010, at 8:48 AM, Ed Greenberg wrote: OK, so I upgraded the puppetmaster server to lucid, which got me the puppetmaster 0.25.4. I am still having issues signing up a new lucid client, and I've foudn this in the

Re: [Puppet Users] puppetd 0.25.4 with puppetmaster 0.24.8?

2010-10-21 Thread Ed Greenberg
If someone bug reports that to us on Debian, we can get a patch in for that version. We're concentrating on 2.6.x now though due to the freeze. I appreciate all the help I've received. I really don't know how to file a bug report on Debian, since I don't even know what their release names

Re: [Puppet Users] puppetd 0.25.4 with puppetmaster 0.24.8?

2010-10-21 Thread Patrick
On Oct 21, 2010, at 2:20 PM, Nigel Kersten wrote: On Thu, Oct 21, 2010 at 10:13 AM, Patrick kc7...@gmail.com wrote: On Oct 21, 2010, at 8:48 AM, Ed Greenberg wrote: OK, so I upgraded the puppetmaster server to lucid, which got me the puppetmaster 0.25.4. I am still having issues

[Puppet Users] Disabling Puppet

2010-10-21 Thread Douglas Garstang
Having some issues disabling puppet. I want to use scripts to update RPM's, and obviously you need to quiesce puppet first. The pid file directory is empty: [pax] app01 ~:# ls -l /var/run/puppet/ total 0 Puppet is stopped: [pax] app01 ~:# service puppet status puppetd is stopped Really really

Re: [Puppet Users] Disabling Puppet

2010-10-21 Thread Denmat
Depending on your distro, you might find your package has your pids defined in different directories to your puppet.conf. The RPM packages had that problem. Check your init script against your puppet.conf On 22/10/2010, at 8:30, Douglas Garstang doug.garst...@gmail.com wrote: Having some

Re: [Puppet Users] Disabling Puppet

2010-10-21 Thread Douglas Garstang
The startup script set the pid file to /var/run/puppet/agent.pid, as the error messages below indicate. Doug. On Thu, Oct 21, 2010 at 2:38 PM, Denmat tu2bg...@gmail.com wrote: Depending on your distro, you might find your package has your pids defined in different directories to your

Re: [Puppet Users] Disabling Puppet

2010-10-21 Thread Patrick
On Oct 21, 2010, at 2:30 PM, Douglas Garstang wrote: Having some issues disabling puppet. I want to use scripts to update RPM's, and obviously you need to quiesce puppet first. The pid file directory is empty: [pax] app01 ~:# ls -l /var/run/puppet/ total 0 Puppet is stopped: [pax]

Re: [Puppet Users] Disabling Puppet

2010-10-21 Thread Douglas Garstang
On Thu, Oct 21, 2010 at 2:48 PM, Patrick kc7...@gmail.com wrote: On Oct 21, 2010, at 2:30 PM, Douglas Garstang wrote: Having some issues disabling puppet. I want to use scripts to update RPM's, and obviously you need to quiesce puppet first. The pid file directory is empty: [pax]

Re: [Puppet Users] Disabling Puppet

2010-10-21 Thread Russell Jackson
On 10/21/2010 02:56 PM, Douglas Garstang wrote: On Thu, Oct 21, 2010 at 2:48 PM, Patrickkc7...@gmail.com wrote: On Oct 21, 2010, at 2:30 PM, Douglas Garstang wrote: Having some issues disabling puppet. I want to use scripts to update RPM's, and obviously you need to quiesce puppet first.

Re: [Puppet Users] puppetd 0.25.4 with puppetmaster 0.24.8?

2010-10-21 Thread Nigel Kersten
On Thu, Oct 21, 2010 at 2:27 PM, Patrick kc7...@gmail.com wrote: On Oct 21, 2010, at 2:20 PM, Nigel Kersten wrote: On Thu, Oct 21, 2010 at 10:13 AM, Patrick kc7...@gmail.com wrote: On Oct 21, 2010, at 8:48 AM, Ed Greenberg wrote: OK, so I upgraded the puppetmaster server to lucid,

[Puppet Users] Re: how to set Ruby path?

2010-10-21 Thread bobics
Thanks Sandor, that worked for me. Unfortunately I'm still seeing Puppet intermittently hang. I'll investigate the issue some more and create a new thread if needed. On Oct 20, 1:54 am, Sandor Szuecs sandor.szu...@fu-berlin.de wrote: On Oct 20, 2010, at 2:13 AM, bobics wrote: How do I set

Re: [Puppet Users] Disabling Puppet

2010-10-21 Thread Douglas Garstang
On Thu, Oct 21, 2010 at 2:55 PM, Russell Jackson r...@csub.edu wrote: On 10/21/2010 02:56 PM, Douglas Garstang wrote: On Thu, Oct 21, 2010 at 2:48 PM, Patrickkc7...@gmail.com wrote: On Oct 21, 2010, at 2:30 PM, Douglas Garstang wrote: Having some issues disabling puppet. I want to use

Re: [Puppet Users] Disabling Puppet

2010-10-21 Thread Nigel Kersten
On Thu, Oct 21, 2010 at 2:30 PM, Douglas Garstang doug.garst...@gmail.comwrote: Having some issues disabling puppet. I want to use scripts to update RPM's, and obviously you need to quiesce puppet first. It does look like you may have found a bug around disabling (be great to see a bug report

Re: [Puppet Users] Disabling Puppet

2010-10-21 Thread R.I.Pienaar
- Nigel Kersten ni...@puppetlabs.com wrote: On Thu, Oct 21, 2010 at 2:30 PM, Douglas Garstang doug.garst...@gmail.com wrote: Having some issues disabling puppet. I want to use scripts to update RPM's, and obviously you need to quiesce puppet first. It does look like you may

Re: [Puppet Users] Re: how to set Ruby path?

2010-10-21 Thread Patrick
This often means that an exec is hanging. On Oct 21, 2010, at 3:16 PM, bobics wrote: Thanks Sandor, that worked for me. Unfortunately I'm still seeing Puppet intermittently hang. I'll investigate the issue some more and create a new thread if needed. On Oct 20, 1:54 am, Sandor Szuecs

Re: [Puppet Users] show dependency tree?

2010-10-21 Thread Matt Wise
I'd really like to see puppet-dashboard do this dynamically show you these graphs by pointing puppet dashboard to a local copy of your puppet configs... Thoughts? On Oct 20, 2010, at 11:39 AM, Mohit Chawla wrote: You can do that by enabling graphs to be generated, in puppet.conf or as an

[Puppet Users] Pulling in a Hash from an external data source?

2010-10-21 Thread Matt Wise
I have a scenario where I'd like to pull in a hash table from an external file (really, a generate() function.. but for testing purposes, a file will do)... is there any way to do that? —Matt -- You received this message because you are subscribed to the Google Groups Puppet Users group. To

Re: [Puppet Users] Pulling in a Hash from an external data source?

2010-10-21 Thread Richard Crowley
On Thu, Oct 21, 2010 at 5:17 PM, Matt Wise w...@wiredgeek.net wrote: I have a scenario where I'd like to pull in a hash table from an external file (really, a generate() function.. but for testing purposes, a file will do)... is there any way to do that? You probably want the extlookup

Re: [Puppet Users] puppetd 0.25.4 with puppetmaster 0.24.8?

2010-10-21 Thread Patrick
On Oct 21, 2010, at 2:59 PM, Nigel Kersten wrote: On Thu, Oct 21, 2010 at 2:27 PM, Patrick kc7...@gmail.com wrote: On Oct 21, 2010, at 2:20 PM, Nigel Kersten wrote: On Thu, Oct 21, 2010 at 10:13 AM, Patrick kc7...@gmail.com wrote: On Oct 21, 2010, at 8:48 AM, Ed Greenberg