rthallisey 7088e885f8 Replace config-external with a JSON file for Galera
Change-Id: I82abc9a31571376679c4f463f5a6ae77a49ec2f6
Partially-Implements: blueprint replace-config-external
2015-09-16 10:33:29 -04:00

13 lines
361 B
Django/Jinja

{% set mysql_dir = 'mysql/conf.d' if kolla_base_distro in ['ubuntu', 'debian'] else 'my.cnf.d' %}
{
"command": "/usr/bin/mysqld_safe",
"config_files": [
{
"source": "/opt/kolla/config_files/galera.cnf",
"dest": "/etc/{{ mysql_dir }}/galera.cnf",
"owner": "mysql",
"perm": "0600"
}
]
}