Re: [Puppet Users] Managing config files...

2014-07-22 Thread Felix Frank
On 07/21/2014 09:52 AM, Gavin Williams wrote: > Ah, forgot about the parsed file stuff... Good call, think that could be > a good fit for the jre.properties file :) > > Cheers > Gavin To clarify, though - do write Ruby code that will parse files, but refrain from basing providers on Puppet's Pars

Re: [Puppet Users] Managing config files...

2014-07-21 Thread David Schmitt
Hi, if you really get a nice solution, please publish it on github/the forge to strengthen the community. Regards, David On 2014-07-21 09:52, Gavin Williams wrote: Ah, forgot about the parsed file stuff... Good call, think that could be a good fit for the jre.properties file :) Cheers Gavi

Re: [Puppet Users] Managing config files...

2014-07-21 Thread Gavin Williams
Ah, forgot about the parsed file stuff... Good call, think that could be a good fit for the jre.properties file :) Cheers Gavin On Monday, 21 July 2014 07:17:45 UTC+1, David Schmitt wrote: > > Hi > > On 2014-07-14 14:49, Gavin Williams wrote: > > As part of my work to create an Apache Karaf

Re: [Puppet Users] Managing config files...

2014-07-20 Thread David Schmitt
Hi On 2014-07-14 14:49, Gavin Williams wrote: As part of my work to create an Apache Karaf module[1] I need to manage a number of configuration files, and I'm wondering what the best way to go about it might be... A couple of examples of the config files that need managing can be found here[2].

Re: [Puppet Users] Managing config files...

2014-07-15 Thread Felix Frank
On 07/15/2014 11:08 PM, fatmcgav wrote: > I've been trying to work up a Augeas lense to support jre.properties, > but dont seem to be having much luck... Seems like there's a bit of a > black art to writing them... Oh, right, I forget...yes we mortals are not supposed to be able to just create new

Re: [Puppet Users] Managing config files...

2014-07-15 Thread fatmcgav
Felik Cheers for taking the time to reply... I've been trying to work up a Augeas lense to support jre.properties, but dont seem to be having much luck... Seems like there's a bit of a black art to writing them... I'm in two minds about wrapper.conf. I've got it templates currently, but like you

Re: [Puppet Users] Managing config files...

2014-07-15 Thread Felix Frank
On 07/14/2014 02:49 PM, Gavin Williams wrote: > I think the 2 provided examples give different challenges. > /jre.properties/[3]//strikes me as the most troublesome initially, due > to the nature of the contents and the format reqs... > My initial thought is to provide a type that can manage the fi