I need to use puppet to install a slightly modified version of a
package (modify a few lines in the scripts it installs), but I don't
want to build my own version of the package and distribute it via a
private package repository because this seems too heavyweight.
What's the common way to do this? I have a few things in mind:
* Add separate file resources to overwrite the files I need to
modify. Pro: easy to implement. Con: essentially fixes the "base"
version of the package I'm using (won't merge with the updated
package's changes in the same file)
* Add an exec task to patch the files. Pro: seems like the right way.
Con: how do I detect if the patch is already applied? (should I just
force-reinstall the base package before patching?)
--
Eugene Kirpichov
http://www.linkedin.com/in/eugenekirpichov
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.