Skip to content

Instantly share code, notes, and snippets.

@abemusic
Last active December 21, 2015 11:29
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 abemusic/6299682 to your computer and use it in GitHub Desktop.
Save abemusic/6299682 to your computer and use it in GitHub Desktop.
SLS to check if a service is available and make sure it's not running
include:
- cdh4.zookeeper
extend:
zookeeper-server:
service:
- dead
hbase-master:
pkg:
- installed
service:
- running
- require:
- pkg: hbase-master
- file: /etc/hbase/conf/hbase-site.xml
- service.dead: zookeeper-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment