Hello,
Looks like the concat module may do the job?
$my_template = '/my/config.file'
concat { $my_template:
}
concat::fragment { 'standard contents':
target => $my_template,
content => template('my.epp'),
}
And then in the Amavis profile class:
concat::fragment { 'extra special contents':
target => $my_template,
content => '/var/lib/amavis',
}
Add any other fragments you'd like, and of course any other options you need. See https://forge.puppet.com/puppetlabs/concat
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/xn0lwqkg17nfd95001%40news.gmane.org.