summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-12-13 23:38:02 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2021-12-13 23:38:02 +0100
commit0301818fa87bf588dfcd13c1644936aa5537fa15 (patch)
treeaadd6839b441ef79f394e3658743e3a6704e0549 /manifests
parentMinor fixes (diff)
downloadwebdav_server-0301818fa87bf588dfcd13c1644936aa5537fa15.tar.gz
webdav_server-0301818fa87bf588dfcd13c1644936aa5537fa15.tar.xz
Gandalf web certbot.
Diffstat (limited to 'manifests')
-rw-r--r--manifests/site.pp8
1 files changed, 6 insertions, 2 deletions
diff --git a/manifests/site.pp b/manifests/site.pp
index 4abc5e4..165b085 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -6,7 +6,11 @@ node 'gandalf.adrift.space' {
include ::losetup
include ::profiles::workstation
- include ::profiles::gandalf_web
+ $certname = 'adrift.space'
+
+ class { '::profiles::gandalf_web':
+ certname => $certname,
+ }
nginx::resource::location { '/varselklotet':
server => 'gandalf',
@@ -29,7 +33,7 @@ node 'gandalf.adrift.space' {
],
nginx => {
server_name => "bookmark.${facts['fqdn']}",
- certname => 'bookmark.gandalf.adrift.space',
+ certname => $certname,
}
}