瀏覽代碼

Fix escaping

tags/1.0
Filip Pytloun 8 年之前
父節點
當前提交
5a5324d910
共有 2 個檔案被更改,包括 4 行新增2 行删除
  1. +2
    -1
      galera/master.sls
  2. +2
    -1
      galera/slave.sls

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

@@ -12,7 +12,8 @@ xtrabackup_repo:
# Workaround https://bugs.launchpad.net/percona-server/+bug/1490144
xtrabackup_repo_fix:
cmd.run:
- name: 'sed -i \'s,enabled\ =\ 1,enabled\ =\ 1\nexclude\ =\ Percona-XtraDB-\*\ Percona-Server-\*,g\' /etc/yum.repos.d/percona-release.repo'
- name: |
sed -i 's,enabled\ =\ 1,enabled\ =\ 1\nexclude\ =\ Percona-XtraDB-\*\ Percona-Server-\*,g' /etc/yum.repos.d/percona-release.repo
- unless: 'grep "exclude = Percona-XtraDB-\*" /etc/yum.repos.d/percona-release.repo'
- watch:
- pkg: xtrabackup_repo

+ 2
- 1
galera/slave.sls 查看文件

@@ -12,7 +12,8 @@ xtrabackup_repo:
# Workaround https://bugs.launchpad.net/percona-server/+bug/1490144
xtrabackup_repo_fix:
cmd.run:
- name: 'sed -i \'s,enabled\ =\ 1,enabled\ =\ 1\nexclude\ =\ Percona-XtraDB-\*\ Percona-Server-\*,g\' /etc/yum.repos.d/percona-release.repo'
- name: |
sed -i 's,enabled\ =\ 1,enabled\ =\ 1\nexclude\ =\ Percona-XtraDB-\*\ Percona-Server-\*,g' /etc/yum.repos.d/percona-release.repo
- unless: 'grep "exclude = Percona-XtraDB-\*" /etc/yum.repos.d/percona-release.repo'
- watch:
- pkg: xtrabackup_repo

Loading…
取消
儲存