summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp8
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 5941ba3..4a31bd9 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -34,12 +34,12 @@ class certbot(
require => File[$basedir],
}
+ # Chosing an arbitrary minite within the hour in the hope that won't overload Let's Encrypt servers
cron { 'certbot-renew':
- command => "/usr/bin/${tool} renew --standalone ${real_pre_hook} ${real_post_hook}",
+ command => "/usr/bin/${tool} renew --standalone --quiet ${real_pre_hook} ${real_post_hook}",
user => 'root',
- weekday => 1,
- hour => "05",
- minute => "30",
+ hour => [ 5, 23 ],
+ minute => "28",
ensure => present,
require => Package[$tool],
}