From 1ef179cad28741d70cda9d5431e7c3c98c3c7745 Mon Sep 17 00:00:00 2001 From: Patrik Lundin Date: Wed, 9 Oct 2024 11:50:34 +0200 Subject: [PATCH] Fix broken file declaration While here make puppet-lint happy --- global/overlay/etc/puppet/modules/cdn/manifests/ca_trust.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/global/overlay/etc/puppet/modules/cdn/manifests/ca_trust.pp b/global/overlay/etc/puppet/modules/cdn/manifests/ca_trust.pp index 9ade3d0..037f52c 100644 --- a/global/overlay/etc/puppet/modules/cdn/manifests/ca_trust.pp +++ b/global/overlay/etc/puppet/modules/cdn/manifests/ca_trust.pp @@ -9,7 +9,7 @@ class cdn::ca_trust( ) { # Files for trusting internal CA - file { '/opt/cdn-ca-trust: + file { '/opt/cdn-ca-trust': ensure => directory, owner => 'root', group => 'root', @@ -38,6 +38,6 @@ class cdn::ca_trust( $dash_split = split($my_hostname,'[-]') $instance = $dash_split[0] - exec { "/opt/cdn-ca-trust/scripts/trust-step-ca $ca_root_fp[$instance]['url'] $ca_root_fp[$instance]['fp']": + exec { "/opt/cdn-ca-trust/scripts/trust-step-ca ${ca_root_fp[$instance]['url']} ${ca_root_fp[$instance]['fp']}": } }