[Puppet Users] variable scope woes

2011-02-28 Thread draeath
OK - I may be doing this all wrong. If so, I would appreciate finding out how it -should- be done. The basic idea is this: a node sets some variables, includes some classes (which autoload from modules). Some of the modules use templates to fill in files. In these templates, we try to access thes

[Puppet Users] factor value 'value-x' for 'somefact' not in required list 'value-w,value-x,value-y,value-z'

2011-03-17 Thread draeath
Greetings all, (puppet 0.25.x) I'm trying to use puppetd on some SuSE clients. I had to find and put the zypper provider into the system, as it was absent. I'll show the contents of this file below. The issue that I'm running into is this: err: //syslog/Package[syslogd]: Failed to retrieve curre

[Puppet Users] Re: factor value 'value-x' for 'somefact' not in required list 'value-w,value-x,value-y,value-z'

2011-03-17 Thread draeath
On Mar 17, 2:20 pm, draeath wrote: > Greetings all, > > (puppet 0.25.x) > > I'm trying to use puppetd on some SuSE clients. I had to find and put > the zypper provider into the system, as it was absent. I'll show the > contents of this file below. > > The issue

[Puppet Users] Re: factor value 'value-x' for 'somefact' not in required list 'value-w,value-x,value-y,value-z'

2011-03-17 Thread draeath
On Thu, Mar 17, 2011 at 6:10 PM, Nigel Kersten wrote: > On Thu, Mar 17, 2011 at 12:14 PM, draeath wrote: >> On Mar 17, 2:20 pm, draeath wrote: >>> Greetings all, >>> >>> (puppet 0.25.x) >>> >>> I'm trying to use puppetd on some SuSE clie

[Puppet Users] erb including other erbs

2011-04-06 Thread draeath
In the puppet documentation, it is stated: "You can also use templates to fill in variables in addition to filling out file contents." template('/path/to/template1','/path/to/template2') My question: is this done in the ERB file, or in the puppet manifest? If done in the ERB file, I assume it als

[Puppet Users] Re: erb including other erbs

2011-04-06 Thread draeath
s absolute system paths. This is the entry in question: http://docs.puppetlabs.com/guides/templating.html#combining-templates On Apr 6, 6:48 pm, Nan Liu wrote: > On Wed, Apr 6, 2011 at 2:54 PM, draeath wrote: > > In the puppet documentation, it is stated: > > > "You