Sometimes you can't deploy a whole config file in one piece, yet making line-by-line edits isn't enough. Often, you need to build a config file from various bits of configuration managed by different classes. You may run into a situation where local information needs to be imported into the file as well. In this example, we'll build a config file using a local file as well as snippets defined in our manifests.
Building config files using snippets
Getting ready
Although it's possible to create our own system to build files from pieces, we'll use the puppetlabs-supported concat module. We will start by installing the concat module. In a previous example we installed the module to our local machine; in...