From c271e16d275ac673801c0d826da1753a9fad915f Mon Sep 17 00:00:00 2001 From: John Mitsch Date: Wed, 10 Feb 2016 16:48:22 -0500 Subject: [PATCH] Fixes #13658 - pulp_client_key and pulp_client_cert not being set correctly --- manifests/config.pp | 12 ++++++++++++ manifests/pulp_client.pp | 9 --------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/manifests/config.pp b/manifests/config.pp index d0f43083..7fdbf64d 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -22,4 +22,16 @@ mode => '0750', } + foreman_config_entry { 'pulp_client_cert': + value => $client_cert, + ignore_missing => false, + before => Exec['foreman-rake-db:migrate'], + } + + foreman_config_entry { 'pulp_client_key': + value => $client_key, + ignore_missing => false, + before => Exec['foreman-rake-db:migrate'], + } + } diff --git a/manifests/pulp_client.pp b/manifests/pulp_client.pp index cb19d55e..63fa8dd3 100644 --- a/manifests/pulp_client.pp +++ b/manifests/pulp_client.pp @@ -44,13 +44,4 @@ } } - foreman_config_entry { 'pulp_client_cert': - value => $client_cert, - ignore_missing => false, - } - - foreman_config_entry { 'pulp_client_key': - value => $client_key, - ignore_missing => false, - } }