On Jan 11, 2011 8:58 AM, "Dan Bode" <[email protected]> wrote:
> On Tue, Jan 11, 2011 at 1:36 AM, Uwe Bartels <[email protected]>
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
>> - $label
>
> The are special variables, not reserved words:
> also $module_name, $title, $name, $caller_module_name

However, watch out that any name exported by the Ruby "Kernel" module is
unavailable in an erb template - they invoke the Ruby method instead.  (This
is nasty for, say, the 'fork' variable in the template.)

While it doesn't sound like that was your problem, it has caught me out more
than once.

Regards,
    Daniel

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to