In my site.pp I have a var set to false then I include a per_host module, which sets it for some host, to true, the intent if for this new value to be used * thereafter* I put I few notice statement in my manifests, and it seems my var that get start as false, gets set to true in my per-host module, but is then back to false in outer modules/classes....
How do you guys achieve what I am trying to do? I guess i don't understand var scoping in Puppet.... In site.pp $auth_aaa = false In nodes.pp include module1 include module2 module1: sets $auth_aaa to true module2: still sees $auth_aaa to false Thanks a lot. Mohamed. -- 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.
