diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-01-12 02:26:25 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-01-12 02:26:25 +0100 |
commit | dd28dcf3d620a4ac7d0a1532b812213cf094cd3c (patch) | |
tree | a3fa8c8ef446de2bcc2f317bceb4bca868f7e0f0 /modules/nsupdate/templates/nsupdate.epp | |
parent | Move webdav into profiles. (diff) | |
download | webdav_server-dd28dcf3d620a4ac7d0a1532b812213cf094cd3c.tar.gz webdav_server-dd28dcf3d620a4ac7d0a1532b812213cf094cd3c.tar.xz |
Revert "Move webdav into profiles."
It actually reverts the non-need for the nginx module webdav_ext. Since
Omnifocus requires PROPFIND.
This reverts commit edf6ffe8b399679ba28cc5e558a6838919dd1ee8.
Diffstat (limited to '')
-rw-r--r-- | modules/nsupdate/templates/nsupdate.epp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/modules/nsupdate/templates/nsupdate.epp b/modules/nsupdate/templates/nsupdate.epp deleted file mode 100644 index 66fe4b2..0000000 --- a/modules/nsupdate/templates/nsupdate.epp +++ /dev/null @@ -1,18 +0,0 @@ -<%- | - String $iface, - String $nameserver, - String $keyname, - Array[DNSRecord] $records, -| -%> -#!/bin/bash - -IP=$(ip -j a show dev <%= $iface %> | jq --raw-output '.[0].addr_info[] | select(.family == "inet").local') - -nsupdate "$@" -k '/var/lib/nsupdate/<%= $keyname %>.key' << EOF -server <%= $nameserver %> -<%- $records.each |$record| { -%> -update delete <%= $record['domain'] %> <%= $record['type'] %> -update add <%= $record['domain'] %> <%= $record['ttl'] %> <%= $record['type'] %> ${IP} -<%- } -%> -send -EOF |