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

Fix certbot flags.

parent b6c56a01
...@@ -110,12 +110,13 @@ class datorhandbok ( ...@@ -110,12 +110,13 @@ class datorhandbok (
{ 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',
additional_args => '--quiet', additional_args => [ '--quiet', ],
post_hook_commands => [ 'systemctl reload apache2' ],
} }
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