diff options
author | Hugo Hörnquist <hugo@hornquist.se> | 2021-11-04 18:33:21 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@hornquist.se> | 2021-11-04 18:33:21 +0100 |
commit | 510a3014391d056a26555a5be1320c3f1b94f796 (patch) | |
tree | 78076aae7c0e6b80b5d02b897bfcc6e28c2cc650 /manifests/site.pp | |
parent | Ensure certbot is installed on hornquist.se. (diff) | |
download | webdav_server-510a3014391d056a26555a5be1320c3f1b94f796.tar.gz webdav_server-510a3014391d056a26555a5be1320c3f1b94f796.tar.xz |
Set up nsupdate.
Diffstat (limited to 'manifests/site.pp')
-rw-r--r-- | manifests/site.pp | 10 |
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' |