On 08/05/2011 10:21 AM, R.I.Pienaar wrote:
But also now I think $foo should be considered a top level variable in 2.7 when its not, making node variables more or less useless.
I like it that node variables are local and private. node default { $foo = "$backupdir/${hostname}" backup { $foo: when => 'daily', } archive { $foo: when => 'weekly', } } If $foo were global it might have unintended side effects. I think one could make a case for getting rid of global variables entirely. -- vagn -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@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.