Skip to content

Instantly share code, notes, and snippets.

@kevinquinnyo
Created December 17, 2015 23:43
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 kevinquinnyo/dc9563ea24ceae6945d7 to your computer and use it in GitHub Desktop.
Save kevinquinnyo/dc9563ea24ceae6945d7 to your computer and use it in GitHub Desktop.
#!py
def run():
states = {}
states['mysql-stop'] = {
'cmd.run': [
{'name': 'service mysql stop'},
{'unless': '/root/tss/bin/cluster-active.sh'}
]
}
return states
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment