Chris wrote: > Hi, > > I'm a newbie here. > > We are preparing a service that creates virtual servers on demand with > a concrete installation and configuration. Reading though the FAQ and > examples on the puppet web site, I am looking forward to getting down > to work with it. However, I haven't seen any information on how to > apply patches to (in our case) config files. > > How is that done? > Is there a repository of Puppet examples somewhere?
In the case of config files, the recommended way is to replace the file completely. This reduces headaches down the line when your distribution's defaults change or some errant script (or root) touches the file. For examples see my complete running configuration in git (described in the wiki: http://reductivelabs.com/trac/puppet/wiki/CompleteConfiguration). There are more modules and examples at http://reductivelabs.com/trac/puppet/wiki/PuppetModules and http://reductivelabs.com/trac/puppet/wiki/Recipes Regards, DavidS --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---