I've been searching around but haven't found a way to do something
like a purge with augeas.
If you have a file such as
[iniheader]
entry1 (managed by puppet)
entry2 (not managed by puppet)
And you want to add 'entry3' as well as removing anything not managed
by puppet in that subsection then yo
On 25/07/12 16:01, Trevor Vaughan wrote:
> I've been searching around but haven't found a way to do something
> like a purge with augeas.
>
> If you have a file such as
>
> [iniheader]
> entry1 (managed by puppet)
> entry2 (not managed by puppet)
>
> And you want to add 'entry3' as well as remov
Hi Dominic,
Yeah, multiple augeas resources is the problem.
The comment is a reasonable idea but I think it'll be more work than
just falling back to concat.
Thanks,
Trevor
On Wed, Jul 25, 2012 at 11:35 AM, Dominic Cleal wrote:
> On 25/07/12 16:01, Trevor Vaughan wrote:
>> I've been searching