The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com
https://tickets.puppetlabs.com. See the following page for information on filing tickets with JIRA:
file fragment manager should be an internal puppet feature
|Affected Puppet version:||0.25.1||Branch:|
Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com
There is a common pattern in puppet where separate modules want to modify different parts of the same configuration file.
I have discussed the pattern with Teyo and he recommends the following:
- Modules manage file fragments and put them into a local dirs
- Module responsible for configured service controls a file fragment for default params and concats these file fragments together. (these module should be responsible for things like ensuring)
This pattern is great, but currently a little complicated to implement. Maybe this could be implemented as a provider, separate providers for filefragmentmanagers and filefragments?
#4 Updated by Chad Metcalf over 3 years ago
The current state of this seems to still be the concat module. In either https://github.com/puppetlabs/puppet-concat or the more recent (original) https://github.com/ripienaar/puppet-concat. Anyway this would be nice to mainline. Or bring the puppetlabs version more inline with the ripienaar version.