From 47741f488b07aef0c8f28f45558f8471b554479c Mon Sep 17 00:00:00 2001 From: cocker-cc Date: Thu, 2 Dec 2021 16:45:20 +0100 Subject: [PATCH] Accept Sensitive for Secrets --- manifests/candlepin.pp | 2 +- manifests/init.pp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/candlepin.pp b/manifests/candlepin.pp index aba6130b..1de5bdc0 100644 --- a/manifests/candlepin.pp +++ b/manifests/candlepin.pp @@ -27,7 +27,7 @@ Optional[Stdlib::Port] $db_port = undef, String $db_name = 'candlepin', String $db_user = 'candlepin', - Optional[String] $db_password = undef, + Optional[Variant[Sensitive[String], String]] $db_password = undef, Boolean $db_ssl = false, Boolean $db_ssl_verify = true, Optional[Stdlib::Absolutepath] $db_ssl_ca = undef, diff --git a/manifests/init.pp b/manifests/init.pp index d006313b..fdd31263 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -43,7 +43,7 @@ Optional[Stdlib::Port] $candlepin_db_port = undef, String $candlepin_db_name = 'candlepin', String $candlepin_db_user = 'candlepin', - Optional[String] $candlepin_db_password = undef, + Optional[Variant[Sensitive[String], String]] $candlepin_db_password = undef, Boolean $candlepin_db_ssl = false, Boolean $candlepin_db_ssl_verify = true, Optional[Stdlib::Absolutepath] $candlepin_db_ssl_ca = undef,