From 107dd3f5ef01418fe6f309e77c2b216e61ee6b2d Mon Sep 17 00:00:00 2001 From: Fredrik Eriksson Date: Sun, 6 Dec 2020 14:32:57 +0100 Subject: [PATCH] fixed clean hook settings... --- manifests/cert.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 {