diff --git a/manifests/cert.pp b/manifests/cert.pp index 3c13344..c4030cd 100644 --- a/manifests/cert.pp +++ b/manifests/cert.pp @@ -56,10 +56,10 @@ define certbot::cert ( undef => '', default => "--manual-auth-hook ${auth_hook}", } - $exec_clean_hook = $auth_hook ? { - 'loopia' => "--manual-auth-hook ${certbot::params::bin_dir}/acme-cleanup-loopia.py", + $exec_clean_hook = $clean_hook ? { + 'loopia' => "--manual-cleanup-hook ${certbot::params::bin_dir}/acme-cleanup-loopia.py", undef => '', - default => "--manual-auth-hook ${auth_hook}", + default => "--manual-cleanup-hook ${auth_hook}", } if $preferred_challanges {