Created
October 30, 2012 17:08
-
-
Save zined/3981584 to your computer and use it in GitHub Desktop.
cfengine test snippet #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bundle edit_line that_foo_line_be_gone | |
{ | |
replace_patterns: | |
"^foo is a foo line$" | |
comment => "that foo line be gone! that bar line be there!", | |
replace_with => exchange_foo_line_with_bar_line; | |
} | |
body replace_with exchange_foo_line_with_bar_line | |
{ | |
replace_value => "yay! i'm a bar line!"; | |
occurrences => "all"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment