浏览代码

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
pull/34/head
Kirill Bespalov 7 年前
父节点
当前提交
097178713f
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      galera/master.sls
  2. +1
    -1
      galera/slave.sls

+ 1
- 1
galera/master.sls 查看文件

@@ -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 查看文件

@@ -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:

正在加载...
取消
保存