Page MenuHomeDevCentral

D3071.id7832.diff
No OneTemporary

D3071.id7832.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
Mon, Dec 23, 06:17 (6 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2310844
Default Alt Text
D3071.id7832.diff (1 KB)

Event Timeline