Oleksandr Shyshko | 02dd1b6 | 2018-09-11 17:42:53 +0300 | [diff] [blame^] | 1 | parameters: |
| 2 | _param: |
| 3 | salt_minion_ca_host: cfg01.${_param:cluster_domain} |
| 4 | salt_minion_ca_authority: salt_master_ca |
| 5 | mysql_gnocchi_client_ssl_key_file: /etc/gnocchi/ssl/mysql/client-key.pem |
| 6 | mysql_gnocchi_client_ssl_cert_file: /etc/gnocchi/ssl/mysql/client-cert.pem |
| 7 | mysql_gnocchi_ssl_ca_file: /etc/gnocchi/ssl/mysql/ca-cert.pem |
| 8 | salt: |
| 9 | minion: |
| 10 | cert: |
| 11 | mysql-gnocchi-client: |
| 12 | host: ${_param:salt_minion_ca_host} |
| 13 | authority: ${_param:salt_minion_ca_authority} |
| 14 | common_name: mysql-gnocchi-client |
| 15 | signing_policy: cert_client |
| 16 | alternative_names: > |
| 17 | IP:${_param:cluster_local_address}, |
| 18 | DNS:${_param:cluster_local_address}, |
| 19 | DNS:${linux:system:name}, |
| 20 | DNS:${linux:network:fqdn} |
| 21 | key_usage: "digitalSignature,nonRepudiation,keyEncipherment" |
| 22 | key_file: ${_param:mysql_gnocchi_client_ssl_key_file} |
| 23 | cert_file: ${_param:mysql_gnocchi_client_ssl_cert_file} |
| 24 | ca_file: ${_param:mysql_gnocchi_ssl_ca_file} |
| 25 | user: gnocchi |
| 26 | group: gnocchi |
| 27 | mode: 640 |