Commit b6c56a01 authored by Hugo Hörnquist's avatar Hugo Hörnquist
Browse files

Change certbot flags.

parent 63ac5225
...@@ -105,18 +105,17 @@ class datorhandbok ( ...@@ -105,18 +105,17 @@ class datorhandbok (
} }
ensure_packages ([ ensure_packages ([
'cronic',
'python3-certbot-apache', 'python3-certbot-apache',
], ],
{ ensure => installed }) { ensure => installed })
letsencrypt::certonly { $facts['networking']['fqdn']: letsencrypt::certonly { $facts['networking']['fqdn']:
domains => [ $facts['networking']['fqdn'] ], domains => [ $facts['networking']['fqdn'] ],
manage_cron => true, manage_cron => true,
cron_hour => [2, 14], cron_hour => [2, 14],
cron_minute => 13, cron_minute => 13,
plugin => 'apache', plugin => 'apache',
letsencrypt_command => 'cronic certbot', additional_args => '--quiet',
} }
file { '/etc/apache2/sites-available/datorhandbok.lysator.liu.se.conf': file { '/etc/apache2/sites-available/datorhandbok.lysator.liu.se.conf':
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment