Explorar el Código

Fix galera service enabling condition

We need to be sure that enabled param is defined and set to True
during a state applying.

Change-Id: I19cd4c834f254d76d6b521d983d05b227c048065
revert-bumpto57-2
Kirill Bespalov hace 7 años
padre
commit
097178713f
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. +1
    -1
      galera/master.sls
  2. +1
    -1
      galera/slave.sls

+ 1
- 1
galera/master.sls Ver fichero

@@ -1,5 +1,5 @@
{%- from "galera/map.jinja" import master with context %}
{%- if master.enabled %}
{%- if master.get('enabled', False) %}

{%- if grains.os_family == 'RedHat' %}
xtrabackup_repo:

+ 1
- 1
galera/slave.sls Ver fichero

@@ -1,5 +1,5 @@
{%- from "galera/map.jinja" import slave with context %}
{%- if slave.enabled %}
{%- if slave.get('enabled', False) %}

{%- if grains.os_family == 'RedHat' %}
xtrabackup_repo:

Cargando…
Cancelar
Guardar