Use new synced certbot dir

This commit is contained in:
Patrik Lundin 2024-11-01 14:38:04 +01:00
parent 57b1700759
commit 101f11fdad
Signed by: patlu
GPG key ID: A0A812BA2249F294

View file

@ -210,13 +210,13 @@ class cdn::cache(
concat::fragment { "${customer}-fullchain-${cache_secrets['customers'][$customer]['host']}": concat::fragment { "${customer}-fullchain-${cache_secrets['customers'][$customer]['host']}":
target => $combined_pem, target => $combined_pem,
source => "/etc/letsencrypt/live/${cache_secrets['customers'][$customer]['host']}/fullchain.pem", source => "/opt/certbot/letsencrypt/live/${cache_secrets['customers'][$customer]['host']}/fullchain.pem",
order => '01', order => '01',
} }
concat::fragment { "${customer}-privkey-${cache_secrets['customers'][$customer]['host']}": concat::fragment { "${customer}-privkey-${cache_secrets['customers'][$customer]['host']}":
target => $combined_pem, target => $combined_pem,
source => "/etc/letsencrypt/live/${cache_secrets['customers'][$customer]['host']}/privkey.pem", source => "/opt/certbot/letsencrypt/live/${cache_secrets['customers'][$customer]['host']}/privkey.pem",
order => '02', order => '02',
} }