Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lysator
Puppet
Datorhandbok
Commits
00a00fda
Commit
00a00fda
authored
Jul 31, 2021
by
Hugo Hörnquist
Browse files
Change how certbot is handled.
parent
d0bc13f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
manifests/init.pp
View file @
00a00fda
...
...
@@ -100,9 +100,22 @@ class datorhandbok (
require => Package['apache2'],
}
lyscert
::
letsencrypt
{ 'letsencrypt-certonly':
email => 'root@lysator.liu.se',
webserver => 'apache2',
class
{ '::letsencrypt':
email => 'root@lysator.liu.se',
}
ensure_packages
([
'cronic'
,
],
{ ensure => installed }
)
letsencrypt
::
certonly
{ $facts['networking']['fqdn']:
domains => [ $facts['networking']['fqdn'],
manage_cron => true,
cron_hour => [2, 14],
cron_minute => 13,
plugin => 'apache',
letsencrypt_command => 'cronic certbot',
}
file
{ '/etc/apache2/sites-available/datorhandbok.lysator.liu.se.conf':
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment