fixed clean hook settings...

This commit is contained in:
Fredrik Eriksson 2020-12-06 14:32:57 +01:00
parent aac9479636
commit 107dd3f5ef
Signed by: feffe
GPG Key ID: 18524638BE25530A

View File

@ -56,10 +56,10 @@ define certbot::cert (
undef => '', undef => '',
default => "--manual-auth-hook ${auth_hook}", default => "--manual-auth-hook ${auth_hook}",
} }
$exec_clean_hook = $auth_hook ? { $exec_clean_hook = $clean_hook ? {
'loopia' => "--manual-auth-hook ${certbot::params::bin_dir}/acme-cleanup-loopia.py", 'loopia' => "--manual-cleanup-hook ${certbot::params::bin_dir}/acme-cleanup-loopia.py",
undef => '', undef => '',
default => "--manual-auth-hook ${auth_hook}", default => "--manual-cleanup-hook ${auth_hook}",
} }
if $preferred_challanges { if $preferred_challanges {