I am trying to setup Munin using Chef, and I'm not sure where to put the customizations that are needed. For example, the documentation on Github says to add
munin_plugin 'plugin_name'
, in the client.rb.
While this is fine for right now, it seems to inhibit my ability to download upstream changes from the cookbook, because I'd have to merge or re-write my changes.
What is the correct way of making customizations to a cookbook?
Do I
- Modify foo/recipe/default.rb (or similar file, like client.rb here)
- Create a second cookbook, say munin-custom and create a second custom recipe
- Create a single personalization cookbook, cookbooks/acme_co to put these changes in?