Page MenuHomeDevCentral

D3071.diff
No OneTemporary

D3071.diff

diff --git a/roles/dbserver-mysql/content/init.sls b/roles/dbserver-mysql/content/init.sls
--- a/roles/dbserver-mysql/content/init.sls
+++ b/roles/dbserver-mysql/content/init.sls
@@ -18,7 +18,7 @@
dbserver_mysql_user_{{ username }}:
mysql_user.present:
- name: {{ username }}
- - host: {{ args["host"] }}
+ - host: {{ args["host"] | yaml_dquote }}
- password: {{ salt["credentials.get_password"](args["password"]) }}
{% endfor %}
@@ -69,7 +69,7 @@
- grant: all privileges
- database: {{ privilege["database"] }}.*
- user: {{ username }}
- - host: {{ user_args["host"] }}
+ - host: {{ user_args["host"] | yaml_dquote }}
- require:
- dbserver_mysql_user_{{ username }}
- dbserver_mysql_db_{{ privilege["database"] }}
@@ -82,6 +82,7 @@
- grant: {{ privilege["privileges"] }}
- database: {{ privilege["database"] }}.{{ table }}
- user: {{ username }}
+ - host: {{ user_args["host"] | yaml_dquote }}
- require:
- dbserver_mysql_user_{{ username }}
- dbserver_mysql_db_{{ privilege["database"] }}

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 12:07 (18 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2257938
Default Alt Text
D3071.diff (1 KB)

Event Timeline