Fix broken file declaration

While here make puppet-lint happy
This commit is contained in:
Patrik Lundin 2024-10-09 11:50:34 +02:00
parent 1dcc58d991
commit 1ef179cad2
Signed by: patlu
GPG key ID: A0A812BA2249F294

View file

@ -9,7 +9,7 @@ class cdn::ca_trust(
) )
{ {
# Files for trusting internal CA # Files for trusting internal CA
file { '/opt/cdn-ca-trust: file { '/opt/cdn-ca-trust':
ensure => directory, ensure => directory,
owner => 'root', owner => 'root',
group => 'root', group => 'root',
@ -38,6 +38,6 @@ class cdn::ca_trust(
$dash_split = split($my_hostname,'[-]') $dash_split = split($my_hostname,'[-]')
$instance = $dash_split[0] $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']}":
} }
} }