Difference between revisions of "Chef: Editing a file"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
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.*" |
line "Why hello there, you beautiful person, you." | line "Why hello there, you beautiful person, you." | ||
end | end |
Latest revision as of 05:18, 27 August 2021
replace_or_add "why hello" do path "/some/file" pattern "Why hello there.*" line "Why hello there, you beautiful person, you." end
Related terms[edit]
See also[edit]
Advertising: