From 2b0a5cedbdd2421a9b16ec3a39cb76852020a07f Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 20 Dec 2017 16:52:15 +0000 Subject: [PATCH] mariadb/galera: handle Debian as well Change-Id: I235e16e98dab38f20213cc48672c6e862a04d95f --- ansible/roles/mariadb/templates/galera.cnf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/mariadb/templates/galera.cnf.j2 b/ansible/roles/mariadb/templates/galera.cnf.j2 index 1adcd483ad..debeba1a30 100644 --- a/ansible/roles/mariadb/templates/galera.cnf.j2 +++ b/ansible/roles/mariadb/templates/galera.cnf.j2 @@ -1,4 +1,4 @@ -{%- set wsrep_driver = '/usr/lib/galera/libgalera_smm.so' if kolla_base_distro == 'ubuntu' else '/usr/lib64/galera/libgalera_smm.so' %} +{%- set wsrep_driver = '/usr/lib/galera/libgalera_smm.so' if kolla_base_distro in ['debian', 'ubuntu'] else '/usr/lib64/galera/libgalera_smm.so' %} [client] default-character-set=utf8