Re: [Puppet Users] About autosigning and the FAQ entry

2010-03-06 Thread Nigel Kersten
On Sat, Mar 6, 2010 at 3:26 PM, Claus Divossen wrote: > Hello, >  >> Did both nodes actually show the same value for 'certname' however? >> And that's definitely the CN for both certs when you inspect them? > > Yes, when I check the certs with openssl, the CNs of the certs are > identical, althou

Re: [Puppet Users] About autosigning and the FAQ entry

2010-03-06 Thread Claus Divossen
Hello,  > Did both nodes actually show the same value for 'certname' however? > And that's definitely the CN for both certs when you inspect them? Yes, when I check the certs with openssl, the CNs of the certs are identical, although the cert keys are not. I also see "Compiled catalog for alice.m

[Puppet Users] Re: RHEL4 / 0.25.4-1 / Failed to retrieve current state of resource: Could not retrieve file metadata for

2010-03-06 Thread janfrode
On Mar 6, 2:18 pm, Jan-Frode Myklebust wrote: > As far as I can see, all RHEL5 puppets are running fine. Oops, no, I've gotten this once now from a RHEL5 host too. The only 32- bit RHEL5-host I have in this environment. My staging environment has 20 hosts: 3x 32-bit RHEL4 1x 32-bit RHEL5 16x

[Puppet Users] RHEL4 / 0.25.4-1 / Failed to retrieve current state of resource: Could not retrieve file metadata for

2010-03-06 Thread Jan-Frode Myklebust
After upgradeing my staging environment to the 0.25.4-1 version from EPEL, I'm getting the following errors from my RHEL4-clients: Sat Mar 06 11:47:29 +0100 2010 //ntpd/File[/etc/ntp/keys] (err): Failed to retrieve current state of resource: Could not retrieve file metadata for puppet:/

Re: [Puppet Users] About autosigning and the FAQ entry

2010-03-06 Thread Nigel Kersten
On Fri, Mar 5, 2010 at 2:20 PM, Claus Divossen wrote: > Hello! > > The FAQ contains an entry about autosigning: > > http://reductivelabs.com/trac/puppet/wiki/FrequentlyAskedQuestions#why-shouldn-t-i-use-autosign-for-all-my-clients > > It says: > >> The certificate itself is stored, so two nodes

Re: [Puppet Users] syntax

2010-03-06 Thread Nigel Kersten
On Fri, Mar 5, 2010 at 10:31 PM, Dick Davies wrote: > On Thu, Mar 4, 2010 at 5:43 PM, Peter Meier wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> Well, it workes in erb test, but not when puppet runs: undefined method `start_with?' for  via puppet erb -x

Re: [Puppet Users] Re: variable containing applied classes?

2010-03-06 Thread R.I.Pienaar
hello, - "Oded" wrote: > <% classes.each do |current_class| -%> this is order dependent, it only find classes already included before this template gets built. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send

[Puppet Users] Re: variable containing applied classes?

2010-03-06 Thread Oded
This code loops all applied classes and if a class has a variable named "iptable_rule_chain" it prints its(the variable's) content to the file. It raises some series scoping and ordering issues but I use it anyways as I prefer them over file concatenation(in some templates I use of 3 if these loo

Re: [Puppet Users] Re: variable containing applied classes?

2010-03-06 Thread R.I.Pienaar
hello, The way I achieve this is using a concat tool[1] and a define like: class motd { concat{"/etc/motd": owner => root, group => root, mode => 644, } concat::fragment{"modules_header": target => "/etc/motd", order => 9, content => " Puppet Module