Ask Your Question

Revision history [back]

All you need to do is switch from using a static file with the "source" attribute to a .erb template using the "content" attribute in your file resource. Have a look at https://docs.puppetlabs.com/guides/templating.html and you'll see exactly how to do it.