mirror of
https://github.com/saltstack-formulas/mysql-formula.git
synced 2025-04-16 17:50:27 +00:00
fix(server.sls): fix salt-lint
errors
```bash Examining mysql/server.sls of type state [206] Jinja variables should have spaces before and after: {{ var_name }} mysql/server.sls:119 - creates: {{ mysql_datadir}}/mysql/ [206] Jinja variables should have spaces before and after: {{ var_name }} mysql/server.sls:141 - creates: {{ mysql_datadir}}/mysql/ ```
This commit is contained in:
parent
80f79c92a5
commit
764dd0c489
1 changed files with 2 additions and 2 deletions
|
@ -116,7 +116,7 @@ mysql_initialize:
|
|||
cmd.run:
|
||||
- name: mysqld --initialize-insecure --user=mysql --basedir=/usr --datadir={{ mysql_datadir }}
|
||||
- runas: root
|
||||
- creates: {{ mysql_datadir}}/mysql/
|
||||
- creates: {{ mysql_datadir }}/mysql/
|
||||
- require:
|
||||
- pkg: {{ mysql.serverpkg }}
|
||||
{% endif %}
|
||||
|
@ -138,7 +138,7 @@ mysql_initialize:
|
|||
cmd.run:
|
||||
- name: emerge --config {{ mysql.serverpkg }}
|
||||
- runas: root
|
||||
- creates: {{ mysql_datadir}}/mysql/
|
||||
- creates: {{ mysql_datadir }}/mysql/
|
||||
- require:
|
||||
- pkg: {{ mysql.serverpkg }}
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Reference in a new issue