Re: [Puppet Users] variable scope woes

2011-03-01 Thread Arnau Bria
On Mon, 28 Feb 2011 12:28:43 -0800 (PST) draeath draeath wrote: Hi, you could add some notify to see what value has $my_role in some classes. http://www.devco.net/archives/2009/08/19/tips_and_tricks_for_puppet_debugging.php We use same schema and variable scope works fine. what puppet version?

[Puppet Users] variable scope woes

2011-02-28 Thread draeath
OK - I may be doing this all wrong. If so, I would appreciate finding out how it -should- be done. The basic idea is this: a node sets some variables, includes some classes (which autoload from modules). Some of the modules use templates to fill in files. In these templates, we try to access thes