Re: [Puppet Users] reserved words

2011-01-11 Thread Dan Bode
On Tue, Jan 11, 2011 at 7:47 PM, Naresh V wrote: > On 11 January 2011 22:27, Dan Bode wrote: > > > > > > On Tue, Jan 11, 2011 at 1:36 AM, Uwe Bartels > wrote: > [...] > > > > The are special variables, not reserved words: > > > > also $module_name, $title, $name, $caller_module_name > > Hi Dan,

Re: [Puppet Users] reserved words

2011-01-11 Thread Naresh V
On 11 January 2011 22:27, Dan Bode wrote: > > > On Tue, Jan 11, 2011 at 1:36 AM, Uwe Bartels wrote: [...] > > The are special variables, not reserved words: > > also $module_name, $title, $name, $caller_module_name Hi Dan, (sorry for the minor thread-hijack) What's the difference between $modu

Re: [Puppet Users] reserved words

2011-01-11 Thread Daniel Pittman
On Tue, Jan 11, 2011 at 10:44, Ohad Levy wrote: > Why not simple render templates with puppet with safemode templating [1]? Last time I looked I didn't find this, if it was available. That was several major versions back though. > this will avoid things like <%= File.read "/etc/shadow" %> and

Re: [Puppet Users] reserved words

2011-01-11 Thread Ohad Levy
Why not simple render templates with puppet with safemode templating [1]? this will avoid things like <%= File.read "/etc/shadow" %> and such, additionally, it can whitelist which params are allowed to be accessed within the template. I started using it within Foreman recently, and I find it very

Re: [Puppet Users] reserved words

2011-01-11 Thread Dan Bode
On Tue, Jan 11, 2011 at 9:59 AM, Daniel Pittman wrote: > On Jan 11, 2011 8:58 AM, "Dan Bode" wrote: > > On Tue, Jan 11, 2011 at 1:36 AM, Uwe Bartels > wrote: > > >> are there any reserved words i'm not allowed to use in the puppet > manifests? > >> I have some strange errors that came up using

Re: [Puppet Users] reserved words

2011-01-11 Thread Daniel Pittman
On Jan 11, 2011 8:58 AM, "Dan Bode" wrote: > On Tue, Jan 11, 2011 at 1:36 AM, Uwe Bartels wrote: >> are there any reserved words i'm not allowed to use in the puppet manifests? >> I have some strange errors that came up using puppet manifests with variables like >> - $string >> - $type >> - $lab

Re: [Puppet Users] reserved words

2011-01-11 Thread Dan Bode
On Tue, Jan 11, 2011 at 1:36 AM, Uwe Bartels wrote: > Hi, > > are there any reserved words i'm not allowed to use in the puppet > manifests? > I have some strange errors that came up using puppet manifests with > variables like > - $string > - $type > - $label > The are special variables, not re

[Puppet Users] reserved words

2011-01-11 Thread Uwe Bartels
Hi, are there any reserved words i'm not allowed to use in the puppet manifests? I have some strange errors that came up using puppet manifests with variables like - $string - $type - $label After changing these variable names everything worked as expected. Best... Uwe -- You received this mes