X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=puppet%2Fextraconfig%2Ftls%2Ftls-cert-inject.yaml;h=77b113788f117f2ef774f172063144b320e41af4;hb=765aef08425578a15b5949bdc2866c7d7358a87d;hp=739a51adbe16d88079c2f432f3ea73f71434f170;hpb=fdc2359e4515dfa50048b3b6cd4896ef4744cc5f;p=apex-tripleo-heat-templates.git diff --git a/puppet/extraconfig/tls/tls-cert-inject.yaml b/puppet/extraconfig/tls/tls-cert-inject.yaml index 739a51ad..77b11378 100644 --- a/puppet/extraconfig/tls/tls-cert-inject.yaml +++ b/puppet/extraconfig/tls/tls-cert-inject.yaml @@ -5,9 +5,8 @@ description: > for the load balancer using the given parameters. parameters: - # Can be overriden via parameter_defaults in the environment + # Can be overridden via parameter_defaults in the environment SSLCertificate: - default: '' description: > The content of the SSL certificate (without Key) in PEM format. type: string @@ -17,13 +16,12 @@ parameters: The content of an SSL intermediate CA certificate in PEM format. type: string SSLKey: - default: '' description: > The content of the SSL Key in PEM format. type: string hidden: true - # Can be overriden by parameter_defaults if the user wants to try deploying + # Can be overridden by parameter_defaults if the user wants to try deploying # this in a distro that doesn't support this path. DeployedSSLCertificatePath: default: '/etc/pki/tls/private/overcloud_endpoint.pem' @@ -53,7 +51,7 @@ resources: - name: key_modulus config: | #!/bin/sh - cat << EOF | tee ${cert_path} > /dev/null + cat > ${cert_path} << EOF ${cert_chain_content} EOF chmod 0440 ${cert_path} @@ -69,6 +67,7 @@ resources: ControllerTLSDeployment: type: OS::Heat::SoftwareDeployment properties: + name: ControllerTLSDeployment config: {get_resource: ControllerTLSConfig} server: {get_param: server} input_values: