[chef] RE: Re: LWRP, append text to file only if it doesnt comtain it


Chronological Thread 
  • From: "Ameir A." < >
  • To:
  • Subject: [chef] RE: Re: LWRP, append text to file only if it doesnt comtain it
  • Date: Tue, 10 Mar 2015 14:49:38 -0400

A cookbook I came upon by chance and don't hear anything about is the "file" 
cookbook (yes, the name sounds confusing) [1].  It uses Chef::Util::FileEdit 
under the covers.  I've always wondered why the line cookbook doesn't do 
that, and re-implements that logic.  The main reason I use the file cookbook 
over line is because I could never get notifications to work with the line 
cookbook (I'm not sure that they're even supported).  

[1] https://github.com/jenssegers/chef-file

Thanks,
Ameir



Archive powered by MHonArc 2.6.16.

§