[chef] Re: Appending Config file


Chronological Thread 
  • From: "Julian C. Dunn" < >
  • To:
  • Subject: [chef] Re: Appending Config file
  • Date: Wed, 4 Sep 2013 18:22:22 -0400

On Wed, Sep 4, 2013 at 2:15 PM, Nikhil Shah < " target="_blank"> > wrote:
> I need to append something to a file; therefore, not being a default attribute or override attribute. What would I need to do to
> append to the bottom of a configuration file within roles?

Normally the idea is that you manage a file's entire contents with Chef. However, if you really need to do line editing, may I recommend:

http://community.opscode.com/cookbooks/line

- Julian

--
[ Julian C. Dunn < " target="_blank"> >          * Sorry, I'm    ]
[ WWW: http://www.aquezada.com/staff/julian    * only Web 1.0  ]
[ gopher://sdf.org/1/users/keymaker/           * compliant!    ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9       ]



Archive powered by MHonArc 2.6.16.

§