Fix wsrep_provider for redhat
diff --git a/galera/files/my.cnf b/galera/files/my.cnf
index e5e2ab9..016f53c 100644
--- a/galera/files/my.cnf
+++ b/galera/files/my.cnf
@@ -83,7 +83,7 @@
 ##
 
 # Full path to wsrep provider library or 'none'
-wsrep_provider=/usr/lib/galera/libgalera_smm.so
+wsrep_provider={{ service.wsrep_provider }}
 
 wsrep_node_address={{ service.bind.address }}
 # Provider specific configuration options
diff --git a/galera/files/my.cnf.init b/galera/files/my.cnf.init
index 1170170..bf4ce13 100644
--- a/galera/files/my.cnf.init
+++ b/galera/files/my.cnf.init
@@ -83,7 +83,7 @@
 ##
 
 # Full path to wsrep provider library or 'none'
-wsrep_provider=/usr/lib/galera/libgalera_smm.so
+wsrep_provider={{ service.wsrep_provider }}
 
 wsrep_node_address={{ service.bind.address }}
 # Provider specific configuration options
diff --git a/galera/map.jinja b/galera/map.jinja
index ec21f3f..987aa75 100644
--- a/galera/map.jinja
+++ b/galera/map.jinja
@@ -3,12 +3,14 @@
   'Debian': {
     'pkgs': ['mysql-server-wsrep', 'galera', 'rsync', 'python-mysqldb', 'libmysqlclient18', 'psmisc', 'netcat', 'percona-xtrabackup-21', 'socat'],
     'service': 'mysql',
+    'wsrep_provider': '/usr/lib/galera/libgalera_smm.so',
     'log_file': '/var/log/mysql.log',
     'config': '/etc/mysql/my.cnf',
   },
   'RedHat': {
-    'pkgs': ['mariadb-galera-server', 'mariadb', 'MySQL-python', 'rsync'],
+    'pkgs': ['galera', 'mariadb-galera-server', 'mariadb', 'MySQL-python', 'rsync'],
     'service': 'mysqld',
+    'wsrep_provider': '/usr/lib64/galera/libgalera_smm.so',
     'log_file': '/var/log/mariadb/mariadb.log',
     'config': '/etc/my.cnf',
   },
@@ -18,12 +20,14 @@
   'Debian': {
     'pkgs': ['mysql-server-wsrep', 'galera', 'rsync', 'python-mysqldb', 'libmysqlclient18', 'psmisc', 'netcat', 'percona-xtrabackup-21', 'socat'],
     'service': 'mysql',
+    'wsrep_provider': '/usr/lib/galera/libgalera_smm.so',
     'log_file': '/var/log/mysql.log',
     'config': '/etc/mysql/my.cnf',
   },
   'RedHat': {
-    'pkgs': ['mariadb-galera-server', 'mariadb', 'MySQL-python', 'rsync'],
+    'pkgs': ['galera', 'mariadb-galera-server', 'mariadb', 'MySQL-python', 'rsync'],
     'service': 'mysqld',
+    'wsrep_provider': '/usr/lib64/galera/libgalera_smm.so',
     'log_file': '/var/log/mariadb/mariadb.log',
     'config': '/etc/my.cnf',
   },