Skip to content
Snippets Groups Projects
Commit 83d1d12a authored by Hugo Hörnquist's avatar Hugo Hörnquist
Browse files

Stop using non-existant module profiles::letsencrypt.

parent e2f26ee3
No related branches found
No related tags found
No related merge requests found
...@@ -63,9 +63,16 @@ class studieinfo { ...@@ -63,9 +63,16 @@ class studieinfo {
} }
} }
class { '::profiles::letsencrypt': ensure_packages(['python3-certbot-apache'])
certname => $::fqdn,
provider => 'nginx', letsencrypt::certonly { $::fqdn:
domains => $::fqdn,
manage_cron => true,
cron_hour => [1, 13],
cron_minute => 56,
plugin => 'nginx',
additional_args => [ '--quiet', ],
post_hook_command => [ 'systemctl restart nginx.service', ],
} }
class { '::nginx': class { '::nginx':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment