summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-02-16 16:45:51 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-02-16 16:45:51 +0100
commit3506fe458fccdebd8d1770a9c1b7998e77aa30df (patch)
treed4bacf0f33845e1f29fa9e9e98c4de784ab60ea0
parentDocument and default dns_zone parameters. (diff)
downloaddns_record-3506fe458fccdebd8d1770a9c1b7998e77aa30df.tar.gz
dns_record-3506fe458fccdebd8d1770a9c1b7998e77aa30df.tar.xz
Document type dns_zone.
-rw-r--r--lib/puppet/type/dns_zone.rb12
1 files changed, 12 insertions, 0 deletions
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)