aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/controller.yaml
diff options
context:
space:
mode:
authorMark Chappell <mchappel@redhat.com>2015-11-04 12:18:22 +0100
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>2015-11-25 15:16:12 +0200
commit5bfef1a17cc2fd7208a3ef95a046a3820561b102 (patch)
tree2071878b3674291dad3cc4fd8900857cd1c2781c /puppet/controller.yaml
parent14c4417e425f832660bd54118112fc991564b38d (diff)
Output the SSL Certificate and Key modulus
Provides a simple mechanism to verify the correct certificates landed. A quick and simple way to verify SSL certificates were generated for a given key is by comparing the modulus of the two. By outputing the key modulus and certificate modulus we offer a way to verify that the right cert and key have been deployed without compromising any of the secrets. Change-Id: I882c9840719a09795ba8057a19b0b3985e036c3c
Diffstat (limited to 'puppet/controller.yaml')
-rw-r--r--puppet/controller.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/puppet/controller.yaml b/puppet/controller.yaml
index 81fa6c11..05661e70 100644
--- a/puppet/controller.yaml
+++ b/puppet/controller.yaml
@@ -1396,3 +1396,9 @@ outputs:
- {get_attr: [NodeTLSData, deploy_stdout]}
- {get_attr: [ControllerExtraConfigPre, deploy_stdout]}
- {get_param: UpdateIdentifier}
+ tls_key_modulus_md5:
+ description: MD5 checksum of the TLS Key Modulus
+ value: {get_attr: [NodeTLSData, key_modulus_md5]}
+ tls_cert_modulus_md5:
+ description: MD5 checksum of the TLS Certificate Modulus
+ value: {get_attr: [NodeTLSData, cert_modulus_md5]}