Re: [Puppet Users] Design, syntax question for passing values from node.pp

2010-07-23 Thread Richard Crowley
On Fri, Jul 23, 2010 at 1:10 PM, Peter Berghold wrote: > First question that comes to mind: is there a fact for a given node that > determines what file name to use? This sounds like a job for an external node classifier that picks a set of classes to apply to the node. http://docs.reductivelabs

Re: [Puppet Users] Design, syntax question for passing values from node.pp

2010-07-23 Thread Peter Berghold
First question that comes to mind: is there a fact for a given node that determines what file name to use? On Jul 23, 2010 3:55 PM, "bmort" wrote: Is it possible to define variable at this level. I need to pass the monit config file name ( sometimes its monitrc sometimes in not ). Here is wha

[Puppet Users] Design, syntax question for passing values from node.pp

2010-07-23 Thread bmort
Is it possible to define variable at this level. I need to pass the monit config file name ( sometimes its monitrc sometimes in not ). Here is what I have. # /etc/puppet/manifests/nodes.pp node basenode { include postgresql include monit include wiki include apace } node 'freebeero