Created
January 31, 2015 16:13
-
-
Save skreuzer/00629d18c444db52df46 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
body common control | |
{ | |
bundlesequence => { "blackout" }; | |
} | |
body agent control | |
{ | |
abortclasses => { "abort_cfagent" }; | |
} | |
bundle agent blackout | |
{ | |
vars: | |
any:: | |
"blackout_file" string => "/tmp/cf_blackout"; | |
classes: | |
"abort_cfagent" expression => fileexists("$(blackout_file)"), | |
comment => "Abort execution of cf-agent"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment