Created
May 3, 2013 20:50
-
-
Save KAllan357/5513997 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
current_path = "C:/foo" | |
execute ::File.join(current_path, "start_my_thing.bat") do | |
only_if { | |
node[:my_thing][:running] | |
} | |
end | |
# [2013-05-01T17:30:12-07:00] INFO: execute[C:/foo/start_my_thing.bat] ran successfully | |
# MyThing.exe in Task Manager | |
# Chef Run ends -> MyThing.exe process dies. |
Author
KAllan357
commented
May 3, 2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment