Skip to content

Instantly share code, notes, and snippets.

@miwillhite
Last active December 21, 2015 23:18
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 miwillhite/6380814 to your computer and use it in GitHub Desktop.
Save miwillhite/6380814 to your computer and use it in GitHub Desktop.
# Install mysql server
mysql-server:
pkg:
- installed
mysql:
service.running:
- name: mysql
- require:
- pkg: mysql-server
python-mysqldb:
pkg:
- installed
database-setup:
mysql_user.present:
- allow_passwordless: True
- name: root
- require:
- service: mysql
- pkg: python-mysqldb
user_central_development:
mysql_database.present:
- require:
- mysql_user.present: database-setup
device_hub_development:
mysql_database.present:
- require:
- mysql_user.present: database-setup
device_datamart_development:
mysql_database.present:
- require:
- mysql_user.present: database-setup
[DEBUG ] Results of YAML rendering:
{'git@github.com:pvpowered/pvpowered_sql.git': {'git.latest': [{'rev': 'staging'}, {'target': '/vagrant/apps/pvpowered_sql'}, {'require': [{'ssh_auth': 'root'}, {'pkg': 'git'}]}]}}
[DEBUG ] loading output in ['/var/cache/salt/minion/extmods/output', '/usr/lib/pymodules/python2.7/salt/output']
[DEBUG ] Skipping /var/cache/salt/minion/extmods/output, it is not a directory
[DEBUG ] Loaded no_out as virtual quiet
[DEBUG ] Loaded json_out as virtual json
[DEBUG ] Loaded yaml_out as virtual yaml
[DEBUG ] Loaded pprint_out as virtual pprint
local:
Data failed to compile:
----------
The state "database-setup" in sls mysql-formula is not formed as a list
----------
The state "database-setup" in sls mysql-formula is not formed as a list
----------
The state "database-setup" in sls mysql-formula is not formed as a list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment