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
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
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
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"),
]
}