[Puppet Users] Re: passing variables to static files

2010-06-20 Thread CraftyTech
Thanks for example. Cheers, On Jun 19, 12:31 am, spawn-pup...@adamsclan.org wrote: > As another option, I believe you can use: > >        file { "/etc/abc.conf": >              ensure =>  present >              content =>  "rundir= /central/$hostname/\nlogdir= > $hostname.log" >             } >

[Puppet Users] Re: passing variables to static files

2010-06-18 Thread CraftyTech
Yeah, that looks better. Thanks. On Jun 18, 2:49 pm, Nigel Kersten wrote: > On Fri, Jun 18, 2010 at 11:47 AM, CraftyTech wrote: > > Hello All, > > >      I have quick question for you; How can I pass a variable to a > > static file that I'm distributing via puppet?  i.g, : > > class abc { > >