[Puppet Users] Intermittent errors for resource dependencies

2011-05-19 Thread tobyriddell
Hi all, I've got a bit of a strange one here. I'm seeing intermittent errors for missing resource dependencies. I'm building up a Puppet config. for a new server, making changes gradually and running the puppet agent multiple times by hand to apply the changes. The behaviour I see is that the erro

[Puppet Users] Re: Intermittent errors for resource dependencies

2011-05-19 Thread jcbollinger
On May 19, 2:23 am, tobyriddell wrote: > I've got a bit of a strange one here. I'm seeing intermittent errors > for missing resource dependencies. [...] > it's just that I'd expect the errors to be present the entire time > rather than intermittent. Prior to version 2.7, the relative order in w

[Puppet Users] Re: Intermittent errors for resource dependencies

2011-05-19 Thread tobyriddell
Thanks for the explanation - nice to know there's a good reason for it. On May 19, 2:01 pm, jcbollinger wrote: > On May 19, 2:23 am, tobyriddell wrote: > > > I've got a bit of a strange one here. I'm seeing intermittent errors > > for missing resource dependencies. > [...] > > it's just that I'd

[Puppet Users] autosign by hostname not working?

2011-05-19 Thread Arnau Bria
Hi all, till today we had a *.our.doamin in autosign.conf. So any host from our.domain could get a signed certificate if it contacts our master. But we've decide to move that "*" to a complet list of hostnames. So, I've pasted all the names to autosign file, restarted master (not sure if needed)

[Puppet Users] Re: Intermittent errors for resource dependencies

2011-05-19 Thread tobyriddell
Actually, I've just re-read your message. I don't think we're talking about quite the same thing. It's not that the end results are non-deterministic, but rather that Puppet occasionally bleats about missing dependencies. So it's the error-reporting that's non-deterministic. On May 19, 3:04 pm, t

Re: [Puppet Users] autosign by hostname not working?

2011-05-19 Thread Patrick
On May 19, 2011, at 7:37 AM, Arnau Bria wrote: > Hi all, > > till today we had a *.our.doamin in autosign.conf. So any host from > our.domain could get a signed certificate if it contacts our master. > But we've decide to move that "*" to a complet list of hostnames. > > So, I've pasted all the

Re: [Puppet Users] autosign by hostname not working?

2011-05-19 Thread Arnau Bria
On Thu, 19 May 2011 08:03:38 -0700 Patrick Patrick wrote: Hi Patrick, Maybe I haven't explained myself correctly. > 1) Are you sure you want this? Sounds like a bad idea. I want to restrict puppet service to a list of known hosts. Is this a bad idea? I don't want all the nodes in our domain to

Re: [Puppet Users] autosign by hostname not working?

2011-05-19 Thread Nathan Clemons
Why not just sign them manually with puppetca --list and if nothing suspicious shows up, puppetca --sign --all? I'm not sure it makes sense to autosign a list of hosts instead of everything from a domain when you can sign things on a host by host basis and sign requests in bulk. -- Nathan Clemons

Re: [Puppet Users] autosign by hostname not working?

2011-05-19 Thread Patrick
On May 19, 2011, at 7:37 AM, Arnau Bria wrote: > Hi all, > > till today we had a *.our.doamin in autosign.conf. So any host from > our.domain could get a signed certificate if it contacts our master. > But we've decide to move that "*" to a complet list of hostnames. > > So, I've pasted all the

[Puppet Users] Negative checkin time

2011-05-19 Thread Gabriel Filion
Hi, I'm using puppet 0.25.5 and a puppetlast script [1]. [1] : http://humangenomeinfo.com.ar/1.txt/usr/share/puppet/ext/puppetlast I get a negative checkin time from one node.. UNKNOWN: somenode.fqdn checked in -16 minutes ago how is that possible? The timestamp for the checkin time is taken f

Re: [Puppet Users] Negative checkin time

2011-05-19 Thread Chris Phillips
On 19 May 2011 18:48, Gabriel Filion wrote: > Hi, > > I'm using puppet 0.25.5 and a puppetlast script [1]. > > [1] : http://humangenomeinfo.com.ar/1.txt/usr/share/puppet/ext/puppetlast > > I get a negative checkin time from one node.. > > UNKNOWN: somenode.fqdn checked in -16 minutes ago > > how

Re: [Puppet Users] Negative checkin time

2011-05-19 Thread Jacob Helwig
On Thu, 19 May 2011 13:48:06 -0400, Gabriel Filion wrote: > > Hi, > > I'm using puppet 0.25.5 and a puppetlast script [1]. > > [1] : http://humangenomeinfo.com.ar/1.txt/usr/share/puppet/ext/puppetlast > > I get a negative checkin time from one node.. > > UNKNOWN: somenode.fqdn checked in -16 m

Re: [Puppet Users] Negative checkin time

2011-05-19 Thread Gabriel Filion
On 11-05-19 01:58 PM, Chris Phillips wrote: > I raised a bug for the report date being based on the clients clock, > which doesn't seem right in my > book: https://projects.puppetlabs.com/issues/7520 Thanks to both of you the problem was indeed a clock drift and using 'ntpd -s -d' on the node "so

[Puppet Users] How to pass variables from got from kickstart to puppet

2011-05-19 Thread hyzhang
We are trying to make puppet to do the some of the kickstart part for CentOS installation. The kickstart will prompt for hostname, IP, etc, then install the puppet client to the client. From then on, puppet would take over. My question is, how can I pass the variable such as hostname, IP,etc gotte

Re: [Puppet Users] How to pass variables from got from kickstart to puppet

2011-05-19 Thread Chris Phillips
On 19 May 2011 20:29, hyzhang wrote: > We are trying to make puppet to do the some of the kickstart part for > CentOS installation. The kickstart will prompt for hostname, IP, etc, > then install the puppet client to the client. From then on, puppet > would take over. > > My question is, how can

Re: [Puppet Users] How to pass variables from got from kickstart to puppet

2011-05-19 Thread Ohad Levy
On 2011 5 19 22:48, "Chris Phillips" wrote: > > > On 19 May 2011 20:29, hyzhang wrote: >> >> We are trying to make puppet to do the some of the kickstart part for >> CentOS installation. The kickstart will prompt for hostname, IP, etc, >> then install the puppet client to the client. From then on

[Puppet Users] custom function from .24.6 not working in 2.6 (from squeeze)

2011-05-19 Thread Bill Anderson
I'm in the process of upgrading an existing installation from .24.x to 2.6. We seem to have a custom function that is throwing the error: "err: Could not retrieve catalog from remote server: Error 400 on SERVER: private method `gsub' called for # at /etc/puppet/manifests/classes/apache-php.pp:72

Re: [Puppet Users] autosign by hostname not working?

2011-05-19 Thread Nan Liu
On Thu, May 19, 2011 at 2:37 PM, Arnau Bria wrote: > Hi all, > > till today we had a *.our.doamin in autosign.conf. So any host from > our.domain could get a signed certificate if it contacts our master. > But we've decide to move that "*" to a complet list of hostnames. > > So, I've pasted all th

Re: [Puppet Users] Intermittent errors for resource dependencies

2011-05-19 Thread Nan Liu
On Thu, May 19, 2011 at 7:23 AM, tobyriddell wrote: > Hi all, > > I've got a bit of a strange one here. I'm seeing intermittent errors > for missing resource dependencies. I'm building up a Puppet config. > for a new server, making changes gradually and running the puppet > agent multiple times by

[Puppet Users] changing the default key length and hash

2011-05-19 Thread Micah Anderson
Hi all, I would like to start a discussion about changing the default key length From 1024 bits to 2048, and am interested to know if this might cause any issues for people. puppet.conf(5) says that the keylength parameter defaults to 1024 bits for new RSA keys. There are many reasons why 1024

[Puppet Users] The quantum effect when loading classes

2011-05-19 Thread John Warburton
Can anyone comment / expand upon http://www.nico.schottelius.org/blog/puppet-sometimes-loads-a-class/ I am experiencing a case which may be related. We have an ENC, and recently on our twice daily noop runs from cron, puppet has reported some servers aren't in sync because they do not have a certa

[Puppet Users] Not able to execute shell script

2011-05-19 Thread Sumith Sudhakaran
Hi, After configuring puppet ( 2.6.8 ) in RHEL 5 update 6, I am able to execute commands individually but I am not able execute the shell script, its giving error only. Somebody please help me how can I execute a shell script in rhel5 update6 using puppetserver. hereunder I am mentioning the m