Skip to content

Instantly share code, notes, and snippets.

@thecodeassassin
Created August 30, 2013 08:12
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 thecodeassassin/14b4d64b5825aec0daec to your computer and use it in GitHub Desktop.
Save thecodeassassin/14b4d64b5825aec0daec to your computer and use it in GitHub Desktop.
db-user:
service:
- name: mysql
- running
- enable: True
- reload: True
- require:
- sls: database
mysql_user.present:
- name: root
- password: {{ pillar["dbpass"] }}
- allow_passwordless: False
- host: '%'
- connection_user: root
- connection_pass: ''
- require:
- service: mysql
- sls: database
- mysql_user.present: root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment