Difference between revisions of "Chef: Editing a file"

From wikieduonline
Jump to navigation Jump to search
Line 8: Line 8:
 
== See also ==
 
== See also ==
 
* {{sed}}
 
* {{sed}}
 +
* {{Chef}}
  
 
[[Category:Chef]]
 
[[Category:Chef]]
 
[[Category:Sed]]
 
[[Category:Sed]]

Revision as of 06:55, 27 July 2021

replace_or_add "why hello" do
  path "/some/file"
  pattern "Why hello there.*"
  line "Why hello there, you beautiful person, you."
end


See also

Advertising: