From 3506fe458fccdebd8d1770a9c1b7998e77aa30df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Wed, 16 Feb 2022 16:45:51 +0100 Subject: Document type dns_zone. --- lib/puppet/type/dns_zone.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/puppet/type/dns_zone.rb b/lib/puppet/type/dns_zone.rb index a748770..3f49bc7 100644 --- a/lib/puppet/type/dns_zone.rb +++ b/lib/puppet/type/dns_zone.rb @@ -6,6 +6,18 @@ Puppet::Type.newtype(:dns_zone) do # ensurable + @doc = %q{ + Manage the zonefile /var/named/dynamic/db.${zone}, and its records. + + The zone can still be edited by hand, but invalid record might cause + puppet to do interesting things. Note that records directly on the + zone MUST have @ as key (instead of blank). + + Existing $TTL directives in the zone are kept, but there is no way + to set it through this library (due to limitations in the zonefile + library). + } + newproperty(:ensure) do desc "Ensurable" # newvalues(:present, :absent) -- cgit v1.2.3