aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/extraconfig/tls/tls-cert-inject.yaml
diff options
context:
space:
mode:
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>2015-11-25 13:23:54 +0200
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>2015-11-26 08:58:52 +0200
commitab231006a9c295f3afc669979896e8e589a0bccf (patch)
tree044af7c6d99907660c7943f29b1c14751c47b41f /puppet/extraconfig/tls/tls-cert-inject.yaml
parent80d929c75f979d99d4e608aae790f38786b4e055 (diff)
Minor fixes to TLS related resources
* Fixed a comment to avoid ambiguity with concepts in Heat * Removed default values from necessary parameters in the TLS environment * Simplified setting of the cert/key into a file. Change-Id: I351778150a6fbf7affe1a0fddb1abb9869324dfc
Diffstat (limited to 'puppet/extraconfig/tls/tls-cert-inject.yaml')
-rw-r--r--puppet/extraconfig/tls/tls-cert-inject.yaml4
1 files changed, 1 insertions, 3 deletions
diff --git a/puppet/extraconfig/tls/tls-cert-inject.yaml b/puppet/extraconfig/tls/tls-cert-inject.yaml
index 739a51ad..ce524ba9 100644
--- a/puppet/extraconfig/tls/tls-cert-inject.yaml
+++ b/puppet/extraconfig/tls/tls-cert-inject.yaml
@@ -7,7 +7,6 @@ description: >
parameters:
# Can be overriden via parameter_defaults in the environment
SSLCertificate:
- default: ''
description: >
The content of the SSL certificate (without Key) in PEM format.
type: string
@@ -17,7 +16,6 @@ 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
@@ -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}