Re: [Puppet Users] Re: accessing puppet config variables inside a manifest

2011-02-03 Thread Gabriel Filion
On 11-02-01 04:16 AM, R.I.Pienaar wrote: > Since 2.6.0 you can just do notice($settings::vardir) oh .. I've just tried it out and it works. hurray for 2.6, then! :) and, I'll also keep Nan Liu's suggestion in mind for 0.25.x Thanks to everyone for the feedback! -- Gabriel Filion -- You recei

Re: [Puppet Users] Re: accessing puppet config variables inside a manifest

2011-02-01 Thread R.I.Pienaar
- Original Message - > On Jan 31, 10:09 am, Nan Liu wrote: > > On Mon, Jan 31, 2011 at 9:06 AM, Gabriel Filion > > wrote: > > Yeah, that would make manifests a lot more flexible. Here's a > > function > > that should work for this purpose and potentially other puppet > > configuration v

[Puppet Users] Re: accessing puppet config variables inside a manifest

2011-02-01 Thread donavan
On Jan 31, 10:09 am, Nan Liu wrote: > On Mon, Jan 31, 2011 at 9:06 AM, Gabriel Filion wrote: > Yeah, that would make manifests a lot more flexible. Here's a function > that should work for this purpose and potentially other puppet > configuration variables as well: You can also wedge this in to