Re: [Puppet Users] Re: Dynamic scoping deprecated - for defines also?

2013-03-08 Thread llowder
On Thursday, March 7, 2013 4:49:38 PM UTC-6, Bruce wrote: just do %= @foo_name % the vars in the define is local scope, just use them This worked great. I'm a little shaky on when I can use @variables. Is there documentation you could point me at? Thanks again. Any variable

[Puppet Users] Re: Dynamic scoping deprecated - for defines also?

2013-03-07 Thread Bruce
No response to this? I'm trying to clean up code to eventually move to 3.x, and I'm running into this as well. Have defines with variables and then templates which reference those variables. How do I explicitly scope it? -- You received this message because you are subscribed to the Google

Re: [Puppet Users] Re: Dynamic scoping deprecated - for defines also?

2013-03-07 Thread R.I.Pienaar
- Original Message - From: Bruce bly...@yahoo.com To: puppet-users@googlegroups.com Sent: Thursday, March 7, 2013 8:08:54 PM Subject: [Puppet Users] Re: Dynamic scoping deprecated - for defines also? No response to this? I'm trying to clean up code to eventually move to 3.x

Re: [Puppet Users] Re: Dynamic scoping deprecated - for defines also?

2013-03-07 Thread R.I.Pienaar
- Original Message - From: Bruce bly...@yahoo.com To: puppet-users@googlegroups.com Sent: Thursday, March 7, 2013 8:16:26 PM Subject: Re: [Puppet Users] Re: Dynamic scoping deprecated - for defines also? That doesn't sound like a description of dynamic scoping. Best to show

Re: [Puppet Users] Re: Dynamic scoping deprecated - for defines also?

2013-03-07 Thread Bruce
just do %= @foo_name % the vars in the define is local scope, just use them This worked great. I'm a little shaky on when I can use @variables. Is there documentation you could point me at? Thanks again. -- You received this message because you are subscribed to the Google Groups