Displaying 1 result from an estimated 1 matches for "oayikvapyzuj".
2011 Sep 01
3
Multiple template fallbacks
Hi,
In a file resource I want to be able to specify multiple template contents.
If the 1st template doesn''t exist use the 2nd listed and so on. Much like
how the source attribute works.
Basically this:
file { "/tmp/somefile.txt":
ensure => present,
content => [
template("somefile-$fqdn.erb"),