Browse Source

fix flag

tags/1.0
Ales Komarek 9 years ago
parent
commit
22a43f520f
1 changed files with 1 additions and 13 deletions
  1. +1
    -13
      galera/master.sls

+ 1
- 13
galera/master.sls View File

{%- from "galera/map.jinja" import master with context %} {%- from "galera/map.jinja" import master with context %}
{%- if master.enabled %} {%- if master.enabled %}


{%- if grains.os_family == "Debian2" %}

galera_debconf:
debconf.set:
- name: mariadb-galera-server
- data:
'mysql-server/root_password': {'type':'string','value':'{{ server.admin.password }}'}
'mysql-server/root_password_again': {'type':'string','value':'{{ server.admin.password }}'}
- require_in:
- pkg: galera_packages

{%- endif %}

galera_packages: galera_packages:
pkg.installed: pkg.installed:
- names: {{ master.pkgs }} - names: {{ master.pkgs }}


galera_bootstrap_finish_flag: galera_bootstrap_finish_flag:
file.touch: file.touch:
- name: /root/.galera_bootstrap
- require: - require:
- service: galera_bootstrap_start_service_final - service: galera_bootstrap_start_service_final
- watch_in: - watch_in:

Loading…
Cancel
Save