Browse Source

cleanups

tags/1.0
Ales Komarek 9 years ago
parent
commit
ac79383ccc
1 changed files with 0 additions and 12 deletions
  1. +0
    -12
      galera/server.sls

+ 0
- 12
galera/server.sls View File

@@ -7,12 +7,6 @@
mysql_database_{{ database_name }}:
mysql_database.present:
- name: {{ database_name }}
- require:
{% if cluster.enabled %}
- cmd: mysql_cluster_init
{% else %}
- service: mysql_service
{% endif %}

{%- for user in database.users %}

@@ -21,12 +15,6 @@ mysql_user_{{ user.name }}_{{ database_name }}_{{ user.host }}:
- host: '{{ user.host }}'
- name: '{{ user.name }}'
- password: {{ user.password }}
- require:
{% if cluster.enabled %}
- cmd: mysql_cluster_init
{% else %}
- service: mysql_service
{% endif %}

mysql_grants_{{ user.name }}_{{ database_name }}_{{ user.host }}:
mysql_grants.present:

Loading…
Cancel
Save