On Mon, Jan 7, 2013 at 1:24 PM, Schofield <dbschofi...@gmail.com> wrote: > I would like to use puppet classes to inject and/or replace xml elements > into an existing xml configuration file. This seems to me to be a common > problem already solved. Can anyone suggest the easiest way to do this?
Well, the tool du jour for that would be augeas. That said, if the config file actually happens to be under your manifest control fully (even though different resources are depositing bits and pieces of configuration info into it) you could go with virtual resource template and sed. Thanks, Roman. -- 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.