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? Thanks. Chris. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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?http://reductivelabs.com/trac/puppet/wiki/PuppetTemplating Or Augeas.> Is there a repository of Puppet examples somewhere? >http://reductivelabs.com/trac/puppet/wiki/PuppetModules I also have a book about Puppet - http://tinyurl.com/pupbook. Regards James Turnbull - -- Author of: * Pro Linux Systems Administration (http://tinyurl.com/linuxadmin) * Pulling Strings with Puppet (http://tinyurl.com/pupbook) * Pro Nagios 2.0 (http://tinyurl.com/pronagios) * Hardening Linux (http://tinyurl.com/hardeninglinux) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFKZYgP9hTGvAxC30ARAqt3AJwNf+PFXjpURec2+jWDBbOsbzTtzgCeLcPD RdYwdl4HVi+nJwtfp82cIAI=3Iaq -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Jul 21, 11:19 am, David Schmitt <da...@dasz.at> wrote:> 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 athttp://reductivelabs.com/trac/puppet/wiki/PuppetModulesandhttp://reductivelabs.com/trac/puppet/wiki/Recipes > > Regards, DavidSThanks all for the replies. Chris. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---