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],
}