From ca9f7fbe5051cc8259840066f93cbaffbccb7621 Mon Sep 17 00:00:00 2001 From: Patrik Lundin Date: Fri, 11 Oct 2024 11:42:12 +0200 Subject: [PATCH] Replace "." with "," While here fix some variable usage and puppet-lint complaints --- .../etc/puppet/modules/cdn/manifests/cache.pp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/global/overlay/etc/puppet/modules/cdn/manifests/cache.pp b/global/overlay/etc/puppet/modules/cdn/manifests/cache.pp index 2cff94e..5f3e558 100644 --- a/global/overlay/etc/puppet/modules/cdn/manifests/cache.pp +++ b/global/overlay/etc/puppet/modules/cdn/manifests/cache.pp @@ -31,7 +31,7 @@ class cdn::cache( mode => '0755', } - file { "/opt/sunet-cdn/conf/varnish-slash-seccomp.json": + file { '/opt/sunet-cdn/conf/varnish-slash-seccomp.json': ensure => file, owner => 'root', group => 'root', @@ -81,18 +81,18 @@ class cdn::cache( concat { $combined_pem: ensure => present, - owner => $customer_uid, - group => $customer_uid, - mode => '0640'. + owner => $customer_uid, + group => $customer_uid, + mode => '0640', } - concat::fragment { "$customer-fullchain-${$cache_secrets['customers'][$customer]['host']}": + concat::fragment { "${customer}.fullchain-${$cache_secrets['customers'][$customer]['host']}": target => $combined_pem, source => "/etc/letsencrypt/live/$cache_secrets['customers'][$customer]['host']/fullchain.pem", order => '01' } - concat::fragment { "$customer-privkey-${$cache_secrets['customers'][$customer]['host']}": + concat::fragment { "${customer}-privkey-${$cache_secrets['customers'][$customer]['host']}": target => $combined_pem, source => "/etc/letsencrypt/live/$cache_secrets['customers'][$customer]['host']/privkey.pem", order => '02'