Quantcast
Channel: User kaiser - Server Fault
Viewing all articles
Browse latest Browse all 26

Answer by kaiser for Puppet concatenate templates

$
0
0

Another possible solution that surprisingly works (and about which I couldn't find any documentation), is the array syntax inside the template() function:

file { "${location}/final-file.php":    ensure  => file,    content => template('wppuppet/template.a.erb','wppuppet/template.b.erb','wppuppet/template.c.erb'    ),}

Viewing all articles
Browse latest Browse all 26

Trending Articles