summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index bd75c51..bfd7210 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -4,6 +4,7 @@ class certbot(
$owner = 'www-data',
$pre_hook = '',
$post_hook = '',
+ $plugin = 'standalone',
) {
$tool = $::lsbdistcodename ? {
@@ -35,9 +36,9 @@ class certbot(
require => File[$basedir],
}
- # Chosing an arbitrary minite within the hour in the hope that won't overload Let's Encrypt servers
+ # Chosing an arbitrary minute within the hour in the hope that won't overload Let's Encrypt servers
cron { 'certbot-renew':
- command => "${script_base}/${tool} renew --standalone --quiet -n ${real_pre_hook} ${real_post_hook}",
+ command => "${script_base}/${tool} renew --${plugin} --quiet -n ${real_pre_hook} ${real_post_hook}",
user => 'root',
hour => [ 5, 23 ],
minute => "28",