diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-02-16 16:05:51 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-02-16 16:41:37 +0100 |
commit | 52e9cac97b06e760e211ccec1491258ad40bf520 (patch) | |
tree | b3d51d3211ac2f6db13c8bf2d1a1ef7b45374ccc /lib/puppet/type/dns_zone.rb | |
parent | Disallow NS records. (diff) | |
download | dns_record-52e9cac97b06e760e211ccec1491258ad40bf520.tar.gz dns_record-52e9cac97b06e760e211ccec1491258ad40bf520.tar.xz |
Add NS property on dns_zone.
Diffstat (limited to '')
-rw-r--r-- | lib/puppet/type/dns_zone.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/puppet/type/dns_zone.rb b/lib/puppet/type/dns_zone.rb index e13c2d3..13acd54 100644 --- a/lib/puppet/type/dns_zone.rb +++ b/lib/puppet/type/dns_zone.rb @@ -52,6 +52,15 @@ Puppet::Type.newtype(:dns_zone) do newparam(:zone, :namevar => true) do end + newparam(:ns_ttl) do + desc "TTL for NS records" + defaultto '1w' + end + + newproperty(:ns, :array_matching => :all) do + desc "Nameservers for this zone" + end + newproperty(:primary) do desc "Primary nameserver for this zone" end |