commit | 67e1840e8801d8ca5a493c20dbaf1d3e3e314e57 | [log] [tgz] |
---|---|---|
author | Tomáš Kukrál <tomkukral@users.noreply.github.com> | Thu May 11 22:03:27 2017 +0200 |
committer | Tomáš Kukrál <tomkukral@users.noreply.github.com> | Thu May 11 22:03:52 2017 +0200 |
tree | 0ccaf79bb8f9ceb6b8b698b0b64165aab9298efd | |
parent | d96e9e9bf34ee75f0dd2047249cfd2e1abf1b32c [diff] |
fix meta/salt with missing pillar Change-Id: Ie4d666a97638f84b53023e1e4aa88f8c925921ba
diff --git a/mysql/meta/salt.yml b/mysql/meta/salt.yml index acd8891..dc1a9ec 100644 --- a/mysql/meta/salt.yml +++ b/mysql/meta/salt.yml
@@ -1,5 +1,5 @@ minion: - {%- if pillar.mysql.server is defined %} + {%- if pillar.get('mysql', {}).get('server') %} mysql: {%- from "mysql/map.jinja" import server with context %} mysql.unix_socket: /var/run/mysqld/mysqld.sock