Skip to content

Instantly share code, notes, and snippets.

@dginther
Created October 1, 2014 15:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dginther/d1468a0db58a338e9754 to your computer and use it in GitHub Desktop.
Save dginther/d1468a0db58a338e9754 to your computer and use it in GitHub Desktop.
install_sumo.sh:
cmd.script:
- source: salt://sumologic/install_sumo.sh
- user: root
- group: root
- unless: test -f /usr/local/sumocollector/collector
@dginther
Copy link
Author

dginther commented Oct 1, 2014

livestatus-perm:
  cmd.script:
    - source: salt://icinga/livestatus-perm.sh
    - unless: test -e /etc/icinga/livestatus_perm
    - onlyif: test -e /var/lib/icinga/rw/live

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment