Browse Source

[WIP] Fixes for MCP1.0 galera

Change-Id: I91f55d599f5291f34bfa81f55dafd6734606e1cc
pr/24
Jakub Pavlik 7 years ago
parent
commit
6fc8bd4078
3 changed files with 3 additions and 1 deletions
  1. +1
    -1
      galera/map.jinja
  2. +1
    -0
      galera/master.sls
  3. +1
    -0
      galera/slave.sls

+ 1
- 1
galera/map.jinja View File



{%- set slave = salt['grains.filter_by']({ {%- set slave = salt['grains.filter_by']({
'Debian': { 'Debian': {
'pkgs': ['mysql-server-wsrep', 'galera', 'rsync', 'python-mysqldb', 'libmysqlclient18', 'psmisc', 'netcat', 'percona-xtrabackup', 'socat', 'libdbd-mysql', 'python-pymysql'],
'pkgs': ['mysql-server-wsrep-5.6', 'galera-3', 'rsync', 'python-mysqldb', 'libmysqlclient18', 'psmisc', 'netcat', 'percona-xtrabackup', 'socat', 'libdbd-mysql', 'python-pymysql'],
'service': 'mysql', 'service': 'mysql',
'wsrep_provider': '/usr/lib/galera/libgalera_smm.so', 'wsrep_provider': '/usr/lib/galera/libgalera_smm.so',
'log_file': '/var/log/mysql.log', 'log_file': '/var/log/mysql.log',

+ 1
- 0
galera/master.sls View File

- source: salt://galera/files/my.cnf.pre - source: salt://galera/files/my.cnf.pre
- mode: 644 - mode: 644
- template: jinja - template: jinja
- makedirs: True
- require_in: - require_in:
- pkg: galera_packages - pkg: galera_packages



+ 1
- 0
galera/slave.sls View File

- source: salt://galera/files/my.cnf.pre - source: salt://galera/files/my.cnf.pre
- mode: 644 - mode: 644
- template: jinja - template: jinja
- makedirs: true
- require_in: - require_in:
- pkg: galera_packages - pkg: galera_packages



Loading…
Cancel
Save