Created
September 30, 2008 23:00
-
-
Save adamhjk/13982 to your computer and use it in GitHub Desktop.
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
edit_file "/etc/myfile" | |
if node[:somecondition] == true | |
notifies resources(:edit_file => "/etc/myfile"), { :append => "some line to the file" } | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment