[Puppet Users] Re: Source Arrays and Template Arrays

2009-07-24 Thread jb
It doesn't seem to work from me, bombing out if the template specified first doesn't exist. you'd expect it to gracefully ignore and try the next...this a bug? running puppet-0.24.6-1.1 On Jul 23, 12:31 pm, Udo Waechter wrote: > hmmm, right after sending the provious mail, I realised somethin

[Puppet Users] Re: Source Arrays and Template Arrays

2009-07-23 Thread Larry Ludwig
On Jul 23, 2009, at 1:58 PM, TomTom wrote: > Is it possible to do the same thing with templates? > An example of what I want to do is: > > file { "/etc/sysctl.conf": > content => [ > template("sysctl.conf.$hostname.erb"), > template("sysctl.conf.$tuningpolicy.erb"), > template("sysctl.conf

[Puppet Users] Re: Source Arrays and Template Arrays

2009-07-23 Thread Udo Waechter
hmmm, right after sending the provious mail, I realised something: On 23.07.2009, at 21:27, Udo Waechter wrote: Hi, On 23.07.2009, at 19:58, TomTom wrote: Is it possible to do the same thing with templates? An example of what I want to do is: file { "/etc/sysctl.conf": content => [ templat

[Puppet Users] Re: Source Arrays and Template Arrays

2009-07-23 Thread Udo Waechter
Hi, On 23.07.2009, at 19:58, TomTom wrote: Is it possible to do the same thing with templates? An example of what I want to do is: file { "/etc/sysctl.conf": content => [ template("sysctl.conf.$hostname.erb"), template("sysctl.conf.$tuningpolicy.erb"), template("sysctl.conf.erb"), ] }