summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-11-16 02:55:52 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2021-11-16 02:56:09 +0100
commite05610f5061db18b27c0fd3a3f5607d0e80537a4 (patch)
treea66e1076a0d67deaa6f9eccee9e68b7c15651659 /manifests
parentSet up nsupdate. (diff)
downloadwebdav_server-e05610f5061db18b27c0fd3a3f5607d0e80537a4.tar.gz
webdav_server-e05610f5061db18b27c0fd3a3f5607d0e80537a4.tar.xz
hornquist.se reword letsencrypt
Diffstat (limited to 'manifests')
-rw-r--r--manifests/site.pp14
1 files changed, 10 insertions, 4 deletions
diff --git a/manifests/site.pp b/manifests/site.pp
index 02dd417..5db60b7 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -113,16 +113,23 @@ node 'hornquist.se' {
$certname = 'hornquist'
- class { 'letsencrypt':
+ class { '::letsencrypt':
+ config => {
email => 'hugo.hornquist@gmail.com',
- renew_cron_ensure => present,
+ }
+ # renew_cron_ensure => present,
}
ensure_packages(['python3-certbot-nginx'],
{ ensure => installed })
letsencrypt::certonly { $certname:
- domains => [
+ ensure => present,
+ manage_cron => true,
+ plugin => 'nginx',
+ additional_args => [ '--quiet', ],
+ post_hook_commands => [ 'systemctl reload nginx.service', ],
+ domains => [
'blog.hornquist.se',
'blogg.hornquist.se',
'www.hornquist.se',
@@ -130,7 +137,6 @@ node 'hornquist.se' {
'git.hornquist.se',
'wiki.hornquist.se',
],
- plugin => 'nginx',
}
nginx::resource::server { 'blogg':