Difference between revisions of "Chef: Editing a file"

From wikieduonline
Jump to navigation Jump to search
(Created page with " replace_or_add "why hello" do path "/some/file" pattern "Why hello there.*" line "Why hello there, you beautiful person, you." end == See also == * {{sed}} Cat...")
 
Line 1: Line 1:
  replace_or_add "why hello" do
+
  [[replace_or_add]] "why hello" do
 
   path "/some/file"
 
   path "/some/file"
 
   pattern "Why hello there.*"
 
   pattern "Why hello there.*"

Revision as of 06:54, 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: