salt/databases/mysql/server.sls in salted-rails-0.0.6 vs salt/databases/mysql/server.sls in salted-rails-0.0.7
- old
+ new
@@ -49,10 +49,10 @@
- require_in:
- file: /etc/mysql/conf.d
mysql-server:
pkg.installed:
- - name: {{ "mysql-server" if pillar["mysql-version"] is not defined else "mysql-server-%s" % pillar["mysql-version"] }}
+ - name: {{ "mysql-server" if pillar["versions"]["mysql"] is not defined else "mysql-server-%s" % pillar["versions"]["mysql"] }}
service.running:
- name: mysql
- require:
- pkg: mysql-server
- pkg: mysql-client