From b9a4b7ed7b574f327135858176076a7f2474337a Mon Sep 17 00:00:00 2001 From: John Mitsch Date: Tue, 9 Feb 2016 18:02:32 -0500 Subject: [PATCH] Fixes #13635 - set pulp client cert settings --- manifests/pulp_client.pp | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/manifests/pulp_client.pp b/manifests/pulp_client.pp index 3fc9adc3..2540710d 100644 --- a/manifests/pulp_client.pp +++ b/manifests/pulp_client.pp @@ -7,7 +7,7 @@ $common_name = 'admin', ){ - $client_cert_name = "${hostname}-pulp-client" + $client_cert_name = "pulp-client" $client_cert = "${::certs::pki_dir}/certs/${client_cert_name}.crt" $client_key = "${::certs::pki_dir}/private/${client_cert_name}.key" $ssl_ca_cert = $::certs::ca_cert @@ -43,5 +43,14 @@ mode => '0440', } } -} + foreman_config_entry { 'pulp_client_cert': + value => $client_cert, + ignore_missing => false + } + + foreman_config_entry { 'pulp_client_key': + value => $client_key, + ignore_missing => false + } +}