Skip to content
Snippets Groups Projects
Unverified Commit 7b62a627 authored by Imran Iqbal's avatar Imran Iqbal
Browse files

refactor(salt-lint): fix violation

```
[213] SaltStack recommends using cmd.run together with onchanges, rather than cmd.wait
mysql/database.sls:62
  cmd.wait:
```
parent d9a2eb50
Branches
No related tags found
No related merge requests found
......@@ -59,9 +59,9 @@ include:
- makedirs: True
{{ state_id }}_load:
cmd.wait:
cmd.run:
- name: mysql -u {{ mysql_salt_user }} -h{{ mysql_host }} {% if mysql_salt_pass %}-p{%- endif %}{{ mysql_salt_pass }} {{ database }} < /etc/mysql/{{ database }}.schema
- watch:
- onchanges:
- file: {{ state_id }}_schema
- mysql_database: {{ state_id }}
{%- endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment