- From: Brian Akins <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Template resource: default value for mode attribute?
- Date: Thu, 16 Jun 2011 08:51:50 -0400
On Jun 15, 2011, at 10:25 PM, Faiz Kazi wrote:
>
>
One of the most frequent use cases is to automate
>
the editing of config files - something that without
>
chef, is done using a text editor. I'm guessing most
>
editors simply do an open() with WRONLY|TRUNC, then
>
write out the new contents. This is not any worse
>
than cp.
>
Don't a lot of them write to a tmp file then mv it over? Also, mostly we
used to rsync files around, which can be made to do updates atomically.
To me it seems lame to claim "it's no worse than <x>" when the correct
behavior is not incredibly hard to implement. My $.02 worth.
--Brian
- [chef] Re: Re: Re: Template resource: default value for mode attribute?, (continued)
- [chef] Re: Re: Re: Template resource: default value for mode attribute?, Faiz Kazi, 06/04/2011
- [chef] Re: Re: Re: Re: Template resource: default value for mode attribute?, Bob Corsaro, 06/05/2011
- [chef] Re: Re: Re: Re: Template resource: default value for mode attribute?, Adam Jacob, 06/05/2011
- [chef] Re: Re: Re: Re: Re: Template resource: default value for mode attribute?, Faiz Kazi, 06/10/2011
- [chef] Re: Re: Re: Re: Re: Re: Template resource: default value for mode attribute?, Brian Akins, 06/15/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: Template resource: default value for mode attribute?, Allan Wind, 06/15/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Template resource: default value for mode attribute?, Brian Akins, 06/15/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Template resource: default value for mode attribute?, Daniel DeLeo, 06/15/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Template resource: default value for mode attribute?, Faiz Kazi, 06/15/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Template resource: default value for mode attribute?, Faiz Kazi, 06/16/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Template resource: default value for mode attribute?, Brian Akins, 06/16/2011
Archive powered by MHonArc 2.6.16.