On 17/12/10 05:37, Nan Liu wrote:
On Thu, Dec 16, 2010 at 2:57 PM, Tim Watts<t...@dionic.net> wrote:
<snip>
Sorry - I don;t understand this - is this pure ruby or puppet language?
Just to indicate it's an optional parameter, since default behavior is
handled as seen below.
if $mode != "" { File { mode => $mode } }
If it were ruby, I might have expected File:Stat or whatever - but I can't
find any docs on the puppet site describing "File".
Resource defaults, definitely a clever use:
http://docs.puppetlabs.com/guides/language_tutorial.html#resource-defaults
<snip>
Thanks Nan.
Tim
--
Tim Watts
Personal Email
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.