mirror of
https://github.com/saltstack-formulas/mysql-formula.git
synced 2025-04-16 01:30:25 +00:00
Merge pull request #17 from Drachemann/master
Add name declaration to database creation in database.sls
This commit is contained in:
commit
67f95bbca9
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@ include:
|
|||
{% for database in salt['pillar.get']('mysql:database', []) %}
|
||||
mysql_db_{{ database }}:
|
||||
mysql_database.present:
|
||||
- name: {{ database }}
|
||||
- host: localhost
|
||||
- connection_user: root
|
||||
- connection_pass: '{{ salt['pillar.get']('mysql:server:root_password', 'somepass') }}'
|
||||
|
|
Loading…
Add table
Reference in a new issue