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 ad...@swatteksystems.com 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,

[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, send email

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 specific file,

[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 server.

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

[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

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] 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

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

2011-05-06 Thread Daniel Pittman
On Fri, May 6, 2011 at 13:05, Jamie gojamieg...@gmail.com 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

[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

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 yao.yu...@gmail.com 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

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 doing

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. -- You received

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 y...@lbl.gov 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 distinct

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