Oleksandr Shyshko | ab68fe5 | 2018-06-15 18:30:14 +0300 | [diff] [blame] | 1 | classes: |
| 2 | - system.salt.minion.cert.vnc |
| 3 | parameters: |
| 4 | _param: |
| 5 | novncproxy_client_ssl_key_file: /etc/pki/nova-novncproxy/client-key.pem |
| 6 | novncproxy_client_ssl_cert_file: /etc/pki/nova-novncproxy/client-cert.pem |
| 7 | novncproxy_ssl_ca_file: /etc/pki/nova-novncproxy/ca-cert.pem |
| 8 | nova_websocketproxy_ssl_all_file: /var/lib/nova/self.pem |
| 9 | salt: |
| 10 | minion: |
| 11 | cert: |
| 12 | libvirt_novnc_client: |
| 13 | host: ${_param:salt_minion_ca_host} |
| 14 | authority: ${_param:qemu_vnc_ca_authority} |
| 15 | common_name: ${linux:system:name}.${_param:cluster_domain} |
| 16 | signing_policy: cert_client |
| 17 | alternative_names: > |
| 18 | IP:${_param:cluster_local_address}, |
| 19 | DNS:${_param:cluster_local_address}, |
| 20 | DNS:${linux:system:name}, |
| 21 | DNS:${linux:network:fqdn} |
| 22 | key_usage: "digitalSignature,nonRepudiation,keyEncipherment" |
| 23 | key_file: ${_param:novncproxy_client_ssl_key_file} |
| 24 | cert_file: ${_param:novncproxy_client_ssl_cert_file} |
| 25 | ca_file: ${_param:novncproxy_ssl_ca_file} |
| 26 | all_file: ${_param:nova_websocketproxy_ssl_all_file} |
| 27 | user: nova |
| 28 | group: nova |
| 29 | mode: 640 |