blob: 5b31b31d4e79480a3770a1b422de0b4ee7ab6d4e [file] [log] [blame]
Kirill Bespalov5f0c1d62017-08-15 15:29:32 +03001# class to enable tls for galera.master and galera.slave
2
3parameters:
4 _param:
5 mysql_ssl_key_file: /etc/mysql/ssl/key.pem
6 mysql_ssl_cert_file: /etc/mysql/ssl/cert.pem
7 mysql_ssl_ca_file: /etc/mysql/ssl/ca.pem
8
9 galera:
10 master:
11 ssl:
12 enabled: True
13 key_file: ${_param:mysql_ssl_key_file}
14 cert_file: ${_param:mysql_ssl_cert_file}
15 ca_file: ${_param:mysql_ssl_ca_file}
16 slave:
17 ssl:
18 enabled: True
19 key_file: ${_param:mysql_ssl_key_file}
20 cert_file: ${_param:mysql_ssl_cert_file}
21 ca_file: ${_param:mysql_ssl_ca_file}