Skip to content

Instantly share code, notes, and snippets.

Created January 27, 2017 15:19
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 anonymous/a2303e49a8b57cabb6ab5462fb90ceb9 to your computer and use it in GitHub Desktop.
Save anonymous/a2303e49a8b57cabb6ab5462fb90ceb9 to your computer and use it in GitHub Desktop.
check_master_configuration:
mysql_query.run:
- service.running:
- require:
- service: mysql
- database: mysql
- query: "SHOW MASTER STATUS;"
- output: "/tmp/example"
-----------
OUTPUT
jluque-db1:
----------
ID: check_master_configuration
Function: mysql_query.run
Result: False
Comment: State mysql_query.run found in sls mysql.master is unavailable
Changes:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment