Re: [Puppet-dev] file concat library

2012-12-18 Thread R.I.Pienaar
- Original Message - > From: "Richard Pijnenburg" > To: puppet-dev@googlegroups.com > Sent: Tuesday, December 18, 2012 2:52:51 PM > Subject: Re: [Puppet-dev] file concat library > > Hi, > > The 'corruption' we've seen is that at times

Re: [Puppet-dev] file concat library

2012-12-18 Thread Richard Pijnenburg
0:20:22 UTC+1 schreef R.I. Pienaar het volgende: > > > > - Original Message - > > From: "Richard Pijnenburg" > > > To: puppe...@googlegroups.com > > Sent: Tuesday, December 18, 2012 7:59:53 AM > > Subject: Re: [Puppet-dev] file concat libr

Re: [Puppet-dev] file concat library

2012-12-18 Thread R.I.Pienaar
- Original Message - > From: "Erik Dalén" > To: puppet-dev@googlegroups.com > Sent: Tuesday, December 18, 2012 11:54:33 AM > Subject: Re: [Puppet-dev] file concat library > > One benefit of ripieenar's non native one though is that it creates a > fi

Re: [Puppet-dev] file concat library

2012-12-18 Thread R.I.Pienaar
- Original Message - > From: "Erik Dalén" > To: puppet-dev@googlegroups.com > Sent: Tuesday, December 18, 2012 11:50:06 AM > Subject: Re: [Puppet-dev] file concat library > > > > On Tuesday 18 December 2012 at 10:20, R.I.Pienaar wrote: >

Re: [Puppet-dev] file concat library

2012-12-18 Thread Erik Dalén
One benefit of ripieenar's non native one though is that it creates a file resource for the destination file, so if you try to create another file resource for that file you get a proper duplicate resource declaration error. Is there any way to implement that protection with a native resource li

Re: [Puppet-dev] file concat library

2012-12-18 Thread Erik Dalén
Sent: Tuesday, December 18, 2012 7:59:53 AM > > Subject: Re: [Puppet-dev] file concat library > > > > will be able to see exactly what changes with the puppet runs ( this > > is not possible with the exec thing ) > > > > actually it is - the concat gives you full

Re: [Puppet-dev] file concat library

2012-12-18 Thread R.I.Pienaar
- Original Message - > From: "Richard Pijnenburg" > To: puppet-dev@googlegroups.com > Sent: Tuesday, December 18, 2012 7:59:53 AM > Subject: Re: [Puppet-dev] file concat library > > The main benefit is that it doesn't work with temp files and an, in

Re: [Puppet-dev] file concat library

2012-12-18 Thread Dominic Cleal
Hi Richard, On 18/12/12 04:00, Richard Pijnenburg wrote: > Hi all, > > I got a native file concat library which i believe could be very useful. > Current implementations of file concat's work with temporary files and > finds and can cause issues. > > the library can be found at > https://github.

Re: [Puppet-dev] file concat library

2012-12-17 Thread Richard Pijnenburg
The main benefit is that it doesn't work with temp files and an, in my opinion, ugly exec construct. Other benefit is that because it doesn't work with temp files it won't corrupt the concating of files what fails at times, and you will be able to see exactly what changes with the puppet runs (

Re: [Puppet-dev] file concat library

2012-12-17 Thread James Polley
What benefits does this offer over https://github.com/ripienaar/puppet-concat ? On Tue, Dec 18, 2012 at 3:00 PM, Richard Pijnenburg < richard.pijnenb...@gmail.com> wrote: > Hi all, > > I got a native file concat library which i believe could be very useful. > Current implementations of file con

[Puppet-dev] file concat library

2012-12-17 Thread Richard Pijnenburg
Hi all, I got a native file concat library which i believe could be very useful. Current implementations of file concat's work with temporary files and finds and can cause issues. the library can be found at https://github.com/electrical/puppet-lib-file_concat Im pretty sure it will need some