From: Silvio Rhatto Date: Fri, 24 Jun 2016 14:30:13 +0000 (-0300) Subject: Cert renew twice a day X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=66f92221aa0cd683362af956e693aed12d30e4bd;p=puppet-certbot.git Cert renew twice a day --- 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], }