Skip to content

Instantly share code, notes, and snippets.

@dginther
Created July 18, 2013 19:41
Show Gist options
  • Save dginther/6032369 to your computer and use it in GitHub Desktop.
Save dginther/6032369 to your computer and use it in GitHub Desktop.
mysql:
pkg:
- installed
- names:
- mysql-server
- mysql-client
- require:
- pkg: python-mysqldb
- module: 'mysql-debconf'
service:
- enable: True
- running
- reload: True
- watch:
- file: /etc/mysql/my.cnf
- require:
- pkg: mysql
debconf-utils:
pkg:
- installed
python-mysqldb:
pkg:
- installed
mysql-debconf:
- debconf.set_file:
- source: salt://mysql/mysql-{{ grains['ec2_environment'] }}.sel
- require:
- pkg: debconf-utils
Name mysql-debconf in sls mysql is not a dictionary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment