Replace the certbot systemd unit with a cron job with notifications

Uses cronic (https://habilis.net/cronic/) to filter out the stdout and
send a sensible email to ops@kosmos.org when renewal fails

Closes #3
This commit is contained in:
Greg Karékinian
2019-06-18 18:26:14 +02:00
parent a7eb12d0eb
commit d879eb88b1
2 changed files with 21 additions and 1 deletions

View File

@@ -4,7 +4,7 @@ maintainer_email 'mail@kosmos.org'
license 'MIT'
description 'The Kosmos base cookbook'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.2.0'
version '0.2.1'
chef_version '>= 14.0' # Uses the new sudo resource
depends 'apt'