|
|
|
|
|
|
|
|
'RedHat': { |
|
|
'RedHat': { |
|
|
'pkgs': ['MySQL-server', 'galera', 'MySQL-client', 'MySQL-python', 'rsync'], |
|
|
'pkgs': ['MySQL-server', 'galera', 'MySQL-client', 'MySQL-python', 'rsync'], |
|
|
'service': 'mysql', |
|
|
'service': 'mysql', |
|
|
|
|
|
'config': '/etc/mysql/my.cnf', |
|
|
}, |
|
|
}, |
|
|
}, merge=salt['pillar.get']('galera:master')) %} |
|
|
}, merge=salt['pillar.get']('galera:master')) %} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
'RedHat': { |
|
|
'RedHat': { |
|
|
'pkgs': ['MySQL-server', 'galera', 'MySQL-client', 'MySQL-python', 'rsync'], |
|
|
'pkgs': ['MySQL-server', 'galera', 'MySQL-client', 'MySQL-python', 'rsync'], |
|
|
'service': 'mysql', |
|
|
'service': 'mysql', |
|
|
|
|
|
'config': '/etc/mysql/my.cnf', |
|
|
}, |
|
|
}, |
|
|
}, merge=salt['pillar.get']('galera:slave')) %} |
|
|
}, merge=salt['pillar.get']('galera:slave')) %} |