summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2021-11-04 18:33:21 +0100
committerHugo Hörnquist <hugo@hornquist.se>2021-11-04 18:33:21 +0100
commit510a3014391d056a26555a5be1320c3f1b94f796 (patch)
tree78076aae7c0e6b80b5d02b897bfcc6e28c2cc650 /manifests
parentEnsure certbot is installed on hornquist.se. (diff)
downloadwebdav_server-510a3014391d056a26555a5be1320c3f1b94f796.tar.gz
webdav_server-510a3014391d056a26555a5be1320c3f1b94f796.tar.xz
Set up nsupdate.
Diffstat (limited to 'manifests')
-rw-r--r--manifests/site.pp10
1 files changed, 10 insertions, 0 deletions
diff --git a/manifests/site.pp b/manifests/site.pp
index 1bf73f1..02dd417 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -48,6 +48,16 @@ node 'hornquist.se' {
'cowsay',
], { ensure => installed })
+ nsupdate { 'hornquist.se':
+ ensure => present,
+ nameserver => 'ns2.adrift.space',
+ iface => 'eth0',
+ records => [
+ { type => 'A', ttl => 3600, domain => 'hornquist.se' },
+ { type => 'A', ttl => 3600, domain => '*.hornquist.se' },
+ ],
+ }
+
$cgit_root = '/var/www/cgit'
$blog_root = '/var/www/blog'