The Puppet Labs Issue Tracker has Moved:

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using See the following page for information on filing tickets with JIRA:

Feature #2779

file fragment manager should be an internal puppet feature

Added by Dan Bode over 6 years ago. Updated over 4 years ago.

Status:AcceptedStart date:11/03/2009
Priority:NormalDue date:
Assignee:-% Done:


Target version:-
Affected Puppet version:0.25.1 Branch:

We've Moved!

Ticket tracking is now hosted in JIRA:


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:

  1. Modules manage file fragments and put them into a local dirs
  2. 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?


#1 Updated by R.I. Pienaar over 6 years ago

Have often pondered rewriting my snippet defines into a type, would be great, but always seem to have better things to do!

If you are looking for a solution in the mean time try

#2 Updated by James Turnbull over 6 years ago

  • Category set to file
  • Status changed from Unreviewed to Needs Decision
  • Assignee set to Luke Kanies

#3 Updated by Luke Kanies over 6 years ago

  • Status changed from Needs Decision to Accepted
  • Assignee deleted (Luke Kanies)

Definitely a good idea.

#4 Updated by Chad Metcalf over 4 years ago

The current state of this seems to still be the concat module. In either or the more recent (original) Anyway this would be nice to mainline. Or bring the puppetlabs version more inline with the ripienaar version.

Also available in: Atom PDF