- From: Alex Stahl <
>
- To: "<
>" <
>
- Cc: "
" <
>
- Subject: [chef-dev] Re: Any equivalent of "puppet augeas" in Chef?
- Date: Sun, 15 Sep 2013 23:36:58 -0700
I wrote an LWRP when I had a similar challenge. Its underlying lib had a few
classes that modeled the config, had interfaces for changes, and handled the
file read/write stuff. Fairly trivial, really.
On Sep 15, 2013, at 23:11,
<
>
wrote:
>
Hi there,
>
>
I need to do in-place file editing of config files using Chef. For now, i
>
could
>
see that we can append data to the config files using the "bash" resource.
>
But,
>
i need to change specific variables in config files using Chef.
>
>
I could see that there's a handy tool called augeas in puppet that clearly
>
performs the above requirement. But, i couldn't come up with anything in
>
Chef.
>
>
So, is there any way this could be done in Chef?
>
>
Thanks in advance.
Archive powered by MHonArc 2.6.16.