Re: [Puppet Users] A ruby question, about arrays

2011-03-12 Thread Naresh V
On 13 March 2011 05:00, Mohamed Lrhazi wrote: > I have a var defined like this: > > $uiso_scanners = [ >    ["uiso-scanner.example.com","192.168.151.21"], >    ["uiso-scanner1.example.com","192.168.18.37"], >    ] > > and then in a template I have: > > <% if uiso_scanners -%> > # Allow communicati

Re: [Puppet Users] Why is it so hard to make a sane nagios server config?

2011-03-12 Thread Douglas Garstang
I gave up and stopped trying to obfuscate the nagios configuration in puppet. I simply have puppet pushing out anything I drop into /etc/nagios/conf.d, and then doing a nagios restart. This makes it very easy to add hosts and services because a script can read the node manifest and drop the necessa

[Puppet Users] A ruby question, about arrays

2011-03-12 Thread Mohamed Lrhazi
I have a var defined like this: $uiso_scanners = [ ["uiso-scanner.example.com","192.168.151.21"], ["uiso-scanner1.example.com","192.168.18.37"], ] and then in a template I have: <% if uiso_scanners -%> # Allow communication with UISO scanners <% uiso_scanners.each do |uiso_scanner| -

Re: [Puppet Users] Proposal: "strict" mode for manifests

2011-03-12 Thread Patrick
On Mar 11, 2011, at 6:29 AM, Felix Frank wrote: > On 03/08/2011 11:37 PM, Robin Bowes wrote: >> Nigel suggested I posted this here - he likes the idea. >> >> I'm constantly getting bitten by small typos in my manifests, eg. when I >> do something like: >> >> $var1 = extlookup('foo') >> $var2 =

[Puppet Users] Re: question about auto requiring resources

2011-03-12 Thread Stefan Baryakov
Unfortunately I am not able to reproduce it as well. I must be going blind or something. The problem was actually with root password getting applied to all nodes even-though the module was included in some of the nodes only. The --debug log was saying autorequiring user root, while it wasn't suppos

Re: [Puppet Users] append to document with content attribute

2011-03-12 Thread Tim Dunphy
Cool, thank you Frank! I will check it out and I appreciate the advice! tim On Sat, Mar 12, 2011 at 12:13 PM, Frank Sweetser wrote: > On 3/12/2011 11:55 AM, Tim Dunphy wrote: >> >> Hello list!! >> >>  There is a line I usually like to add to my network scripts under centos. >> >>   PEERDNS=no >>

Re: [Puppet Users] append to document with content attribute

2011-03-12 Thread Frank Sweetser
On 3/12/2011 11:55 AM, Tim Dunphy wrote: Hello list!! There is a line I usually like to add to my network scripts under centos. PEERDNS=no Is there a way to use the content => "blah" attribute to append to a file rather than clobber whatever's there and replace the contents? check o

[Puppet Users] append to document with content attribute

2011-03-12 Thread Tim Dunphy
Hello list!! There is a line I usually like to add to my network scripts under centos. PEERDNS=no Is there a way to use the content => "blah" attribute to append to a file rather than clobber whatever's there and replace the contents? thanks! -- GPG me!! gpg --keyserver pool.sks-keyserv

Re: [Puppet Users] Pycon 2011

2011-03-12 Thread Richard Crowley
>>> Here are the slides from this unfortunately short and speedy intro: >>>  http://rcrowley.org/talks/pycon-2011/ >>> >> >> How can  I see the short slides ? I can't get beyond 1st slide using >> IE,FF or Chrome. >> > > Never mind. for http://rcrowley.org/talks/pycon-2011/#1, > Just keep increase

Re: [Puppet Users] Pycon 2011

2011-03-12 Thread TJ Yang
On Sat, Mar 12, 2011 at 10:24 AM, TJ Yang wrote: > On Sat, Mar 12, 2011 at 10:05 AM, Richard Crowley wrote: >> On Friday, March 11, 2011 at 1:02 PM, Richard Crowley wrote: >> >> I'm the one giving the talk. Airlines have forced it to be rescheduled >> for today at 4:55 in Centenial 2. >> >> On Fr

Re: [Puppet Users] Pycon 2011

2011-03-12 Thread TJ Yang
On Sat, Mar 12, 2011 at 10:05 AM, Richard Crowley wrote: > On Friday, March 11, 2011 at 1:02 PM, Richard Crowley wrote: > > I'm the one giving the talk. Airlines have forced it to be rescheduled > for today at 4:55 in Centenial 2. > > On Friday, March 11, 2011, Corey Osman wrote: > > Hi,  someone

Re: [Puppet Users] Pycon 2011

2011-03-12 Thread Richard Crowley
On Friday, March 11, 2011 at 1:02 PM, Richard Crowley wrote: I'm the one giving the talk. Airlines have forced it to be rescheduled > for today at 4:55 in Centenial 2. > > On Friday, March 11, 2011, Corey Osman wrote: > > Hi, someone is giving a talk about puppet at pycon. Are there any other >

Re: [Puppet Users] finished, yet execution expired

2011-03-12 Thread Angelo Corbo
Thank you very much, Daniel. Just to confirm that upgrading from version 2.6.4 to 2.6.6 solved the problem. Angelo -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscr