Re: [Puppet Users] scheduling package installs - ignore schedule if not installed

2011-05-06 Thread Martin Willemsma
Hi Steven, Do you mind sharing how you manage this with us here or in some sort of a blog post? Martin 2011/5/6 Steven Acres > On Thu, Apr 28, 2011 at 3:36 AM, Felix Frank < > felix.fr...@alumni.tu-berlin.de> wrote: > >> On 04/23/2011 04:01 AM, Steven Acres wrote: >> > On Fri, Apr 22, 2011 at

[Puppet Users] Re: issue with exported resources and subscribe

2011-05-06 Thread Greg Sutcliffe
Hi, In my exported resource manifests, if using code like: File <<| tag == "nagios::target" |>> { notify => Service["nagios3"] } Does that work for you? Cheers, Greg -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, s

Re: [Puppet Users] augeas slooow

2011-05-06 Thread Dominic Cleal
On 05/05/11 15:43, Patrick wrote: > > On May 5, 2011, at 6:28 AM, Jennings, Jared L CTR USAF AFMC 46 SK/CCI wrote: > >> Hi, Aaron. >> >> Aaron (quoting letter@): >>> To avoid that, I added 'lens' and 'incl' parameters to the puppet type >>> a while ago. If you set these, Augeas will only read a s

[Puppet Users] Re: virtualized resource collections

2011-05-06 Thread jcbollinger
On May 5, 12:34 am, tu2bg...@gmail.com wrote: > Hi all, > > I'm trying to figure out how to automatically configure my nodes with   > amanda backup client. > > What I want to achieve is that the server have an entry created in the   > /etc/amanda/(Daily|Weekly|Monthly)/disklist.conf file on the s

[Puppet Users] Re: issue with exported resources and subscribe

2011-05-06 Thread jcbollinger
On May 5, 1:00 am, Nathan wrote: > Hello list, > > I have a situation where if I have a hosts file generated by exported > resources it does not trigger a service restart unlike if it was > subscribing on a file that gets copied over via puppet. An example > would explain it better. > > it shoul

[Puppet Users] Over-riding changes in modules and classes

2011-05-06 Thread Sean Carolan
Hello puppet gurus, maybe one of you can help with this. We have a bunch of servers that are managed by puppet, but would like to make a single, small change to a text file only on newly built machines. This text file is controlled by a module that is referenced in several places in our current co

Re: [Puppet Users] Over-riding changes in modules and classes

2011-05-06 Thread Nico -telmich- Schottelius
Sean Carolan [Fri, May 06, 2011 at 10:12:00AM -0500]: > Hello puppet gurus, maybe one of you can help with this. We have a > bunch of servers that are managed by puppet, but would like to make a > single, small change to a text file only on newly built machines. > This text file is controlled by a

Re: [Puppet Users] Over-riding changes in modules and classes

2011-05-06 Thread Sean Carolan
> You can just create a new class that inherits your previous class > and then overwrites the File[] you declared before and use that > only on the new machines. Will this also work with an augeas entry with a changes [] section? -- You received this message because you are subscribed to the Goo

[Puppet Users] Puppet Dashboard Questions

2011-05-06 Thread Christopher Lee
Hello, I am playing with Puppet Dashboard and I have a few questions. First, as we start using puppet we are planning on running puppet agent from cron or via mcollective runs in --noop mode every few hours as an audit function. If anything is changed we would like to have it show up in Puppet D

Re: [Puppet Users] Re: ERB advice

2011-05-06 Thread vagn scott
On 04/15/2011 03:05 PM, Rob McBroom wrote: On Apr 15, 2011, at 2:58 PM, Ramin K wrote: I use the IP address to generate a 32bit integer for the server_id for my Mysql configs. server_id =<%= ipaddress.split('.').inject(0) {|total,value| (total << 8 ) + value.to_i} %> Would something like

[Puppet Users] Puppet 2.7.0RC2 released

2011-05-06 Thread Daniel Pittman
G'day. We are proud to announce that Puppet 2.7.0RC2 is now available. Notable Features and Bug Fixes: pkgutil provider We have improved pkgutil provider support, resolving #4258 Faces We have made substantial usability improvements to the faces, including documentation accessible through the

[Puppet Users] undefined method `[]' for nil:NilClass

2011-05-06 Thread Jamie
I am getting this error on all my hosts, I can't tell that it's causing a problem, everything seems to be working fine. Fri May 06 12:52:16 -0700 2011 /Stage[main]// Resources[ssh_authorized_key] (err): Failed to generate additional resources using 'generate': undefined method `[]' for nil:NilClas

Re: [Puppet Users] undefined method `[]' for nil:NilClass

2011-05-06 Thread Daniel Pittman
On Fri, May 6, 2011 at 13:05, Jamie wrote: > I am getting this error on all my hosts, I can't tell that it's > causing a problem, everything seems to be working fine. > > Fri May 06 12:52:16 -0700 2011 /Stage[main]// > Resources[ssh_authorized_key] (err): Failed to generate additional > resources

[Puppet Users] Generate "Compiled catalog"/yaml for a node?

2011-05-06 Thread Yushu Yao
Hi Experts, I remember we had this discussion before, but could find it. Can I run a command to generate a "Compiled catalog" for a specific node (on the master node)? And apply this on the client node? What are the limitations for doing this? Basically we have special handling for the webserver

Re: [Puppet Users] Generate "Compiled catalog"/yaml for a node?

2011-05-06 Thread Nan Liu
On Fri, May 6, 2011 at 8:59 PM, Yushu Yao wrote: > Hi Experts, > > I remember we had this discussion before, but could find it. > > Can I run a command to generate a "Compiled catalog" for a specific node (on > the master node)? And apply this on the client node? What are the > limitations for doi

Re: [Puppet Users] Generate "Compiled catalog"/yaml for a node?

2011-05-06 Thread Patrick
On May 6, 2011, at 1:59 PM, Yushu Yao wrote: > Hi Experts, > > I remember we had this discussion before, but could find it. > > Can I run a command to generate a "Compiled catalog" for a specific node (on > the master node)? And apply this on the client node? What are the limitations > for d

Re: [Puppet Users] Generate "Compiled catalog"/yaml for a node?

2011-05-06 Thread Yushu Yao
Thanks. > 1) You can generate the catalog using "puppet master --verbose --compile > computer.name.domain_name" > 2) Anything that uses "puppet:///whatever" won't work, unless the client > can connect to the master. > Does this mean the file templates will not work as well? Thanks. > > -- > Y

Re: [Puppet Users] Generate "Compiled catalog"/yaml for a node?

2011-05-06 Thread Daniel Pittman
On Fri, May 6, 2011 at 14:43, Yushu Yao wrote: >> 1) You can generate the catalog using "puppet master --verbose --compile >> computer.name.domain_name" >> 2) Anything that uses "puppet:///whatever" won't work, unless the client >> can connect to the master. > > Does this mean the file templates

[Puppet Users] Re: issue with exported resources and subscribe

2011-05-06 Thread Nathan
> > To get this sort of thing right, you need to think in terms of > Puppet's logical model of the managed system, as opposed to in terms > of the observable result of Puppet's work.  In particular, as far as > Puppet is concerned, managing file /etc/hosts via a File resource is > logically distinc

Re: [Puppet Users] Generate "Compiled catalog"/yaml for a node?

2011-05-06 Thread Yushu Yao
Thanks Folks for the answers. Before I go into this direction, I just want to make sure one thing from the developers: Is this a feature that you think will stay inside puppet? (in 3.0, 4.0, etc) Or has there been any discussion to remove this feature? Feel safer if I know this feature will sta