On Tue, Aug 18, 2009 at 9:05 AM, Peter Meier<peter.me...@immerda.ch> wrote: > > Hi > >> I think you should have >> >> class myclass ($passwd = "111") { >> file {".... > > this syntax is completely new to me, where is it documented? > > thanks and cheers pete > It is document under variable scope in the puppet language guide. The short version or rule of thumb I use is "closet scope gets used". Not sure if that is the best way, but it seems to work.
Evan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---