268aaa60fd
A previous commit [1] broke Galera on Ubuntu while trying to fix Centos. This fixes the underlying different between the two distros and should help prevent that kind of mistake in the future. [1] I523d1989575dbe24a891fcae3b6bf56d83e69615 Change-Id: Ie3e47f10cb669f36f8d2f166c88555931a54e3ec Backport: Liberty Closes-Bug: #1509281
13 lines
351 B
Django/Jinja
13 lines
351 B
Django/Jinja
{% set mysql_dir = 'mysql' if kolla_base_distro in ['ubuntu', 'debian'] else '' %}
|
|
{
|
|
"command": "/usr/bin/mysqld_safe",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/galera.cnf",
|
|
"dest": "/etc/{{ mysql_dir }}/my.cnf",
|
|
"owner": "mysql",
|
|
"perm": "0600"
|
|
}
|
|
]
|
|
}
|