We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9a2eb5 commit 7b62a62Copy full SHA for 7b62a62
mysql/database.sls
@@ -59,9 +59,9 @@ include:
59
- makedirs: True
60
61
{{ state_id }}_load:
62
- cmd.wait:
+ cmd.run:
63
- name: mysql -u {{ mysql_salt_user }} -h{{ mysql_host }} {% if mysql_salt_pass %}-p{%- endif %}{{ mysql_salt_pass }} {{ database }} < /etc/mysql/{{ database }}.schema
64
- - watch:
+ - onchanges:
65
- file: {{ state_id }}_schema
66
- mysql_database: {{ state_id }}
67
{%- endif %}
0 commit comments