Browse Source

Fix escaping

tags/1.0
Filip Pytloun 8 years ago
parent
commit
5a5324d910
2 changed files with 4 additions and 2 deletions
  1. +2
    -1
      galera/master.sls
  2. +2
    -1
      galera/slave.sls

+ 2
- 1
galera/master.sls View File

# Workaround https://bugs.launchpad.net/percona-server/+bug/1490144 # Workaround https://bugs.launchpad.net/percona-server/+bug/1490144
xtrabackup_repo_fix: xtrabackup_repo_fix:
cmd.run: 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' - unless: 'grep "exclude = Percona-XtraDB-\*" /etc/yum.repos.d/percona-release.repo'
- watch: - watch:
- pkg: xtrabackup_repo - pkg: xtrabackup_repo

+ 2
- 1
galera/slave.sls View File

# Workaround https://bugs.launchpad.net/percona-server/+bug/1490144 # Workaround https://bugs.launchpad.net/percona-server/+bug/1490144
xtrabackup_repo_fix: xtrabackup_repo_fix:
cmd.run: 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' - unless: 'grep "exclude = Percona-XtraDB-\*" /etc/yum.repos.d/percona-release.repo'
- watch: - watch:
- pkg: xtrabackup_repo - pkg: xtrabackup_repo

Loading…
Cancel
Save