More tweaks

This commit is contained in:
Patrik Lundin 2024-10-11 11:51:36 +02:00
parent 5185b62431
commit 7402f8cfc1
Signed by: patlu
GPG key ID: A0A812BA2249F294

View file

@ -88,14 +88,14 @@ class cdn::cache(
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'
source => "/etc/letsencrypt/live/${cache_secrets['customers'][$customer]['host']}/fullchain.pem",
order => '01',
}
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'
source => "/etc/letsencrypt/live/${cache_secrets['customers'][$customer]['host']}/privkey.pem",
order => '02',
}
file { "/opt/sunet-cdn/customers/${customer}/conf/haproxy.cfg":