Re: [Puppet Users] How manage xml elements as resources?

2013-01-08 Thread j4m3s
I started to look into this for JBoss - it uses an xml config file but the app itself makes changes to the file when you deploy an application (in domain mode) - so using the normal file resource in puppet simply wouldn't work. I found the Augeas documentation to be rather hard to get into (or

Re: [Puppet Users] How manage xml elements as resources?

2013-01-08 Thread Dominic Cleal
On 08/01/13 11:01, j4m3s wrote: I started to look into this for JBoss - it uses an xml config file but the app itself makes changes to the file when you deploy an application (in domain mode) - so using the normal file resource in puppet simply wouldn't work. I found the Augeas

[Puppet Users] How manage xml elements as resources?

2013-01-07 Thread Schofield
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? An example use case would look like something like this. Given xml file:

Re: [Puppet Users] How manage xml elements as resources?

2013-01-07 Thread Roman Shaposhnik
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?