Advertisement
Guest User

Untitled

a guest
Jan 31st, 2015
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. body common control
  2. {
  3. bundlesequence => { "blackout" };
  4. }
  5.  
  6. body agent control
  7. {
  8. abortclasses => { "abort_cfagent" };
  9. }
  10.  
  11. bundle agent blackout
  12. {
  13. vars:
  14.  
  15. any::
  16.  
  17. "blackout_file" string => "/tmp/cf_blackout";
  18.  
  19. classes:
  20.  
  21. "abort_cfagent" expression => fileexists("$(blackout_file)"),
  22. comment => "Abort execution of cf-agent";
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement