From 1e008f9a9a84f33dbb3b456f5baa414370042dfc Mon Sep 17 00:00:00 2001 From: Greg Cox Date: Tue, 27 Aug 2019 18:07:21 +0000 Subject: [PATCH] Make SSL parameters optional within foreman::puppetmaster --- manifests/puppetmaster.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifests/puppetmaster.pp b/manifests/puppetmaster.pp index 64b21d929..fd560f16f 100644 --- a/manifests/puppetmaster.pp +++ b/manifests/puppetmaster.pp @@ -14,9 +14,9 @@ Stdlib::Absolutepath $puppet_etcdir = $::foreman::puppetmaster::params::puppet_etcdir, Integer $timeout = $::foreman::puppetmaster::params::puppetmaster_timeout, Integer $report_timeout = $::foreman::puppetmaster::params::puppetmaster_report_timeout, - Stdlib::Absolutepath $ssl_ca = $::foreman::puppetmaster::params::client_ssl_ca, - Stdlib::Absolutepath $ssl_cert = $::foreman::puppetmaster::params::client_ssl_cert, - Stdlib::Absolutepath $ssl_key = $::foreman::puppetmaster::params::client_ssl_key, + Variant[Enum[''], Stdlib::Absolutepath] $ssl_ca = $::foreman::puppetmaster::params::client_ssl_ca, + Variant[Enum[''], Stdlib::Absolutepath] $ssl_cert = $::foreman::puppetmaster::params::client_ssl_cert, + Variant[Enum[''], Stdlib::Absolutepath] $ssl_key = $::foreman::puppetmaster::params::client_ssl_key, Enum['v2'] $enc_api = 'v2', Enum['v2'] $report_api = 'v2', ) inherits foreman::puppetmaster::params {