1d74db7df0
I just thought I'd dash off a quick patch and change the underscore to a dash. Change-Id: Ib34cfc8039de01be7e37176648482f9815ac3848 Closes-Bug: #1589734
19 lines
557 B
Django/Jinja
19 lines
557 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"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/wsrep-notify.sh",
|
|
"dest": "/usr/local/bin/wsrep-notify.sh",
|
|
"owner": "mysql",
|
|
"perm": "0700"
|
|
}
|
|
]
|
|
}
|