summaryrefslogtreecommitdiff
path: root/lib/puppet/type/dns_record.rb
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-02-14 19:34:47 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-02-14 19:45:16 +0100
commit4622d7afd1e1c76151b1635c90e28988cb09f6c5 (patch)
tree336a65965cbb456fe4fdfe94a8b5d213068a879d /lib/puppet/type/dns_record.rb
parentReplace select with reject. (diff)
downloaddns_record-4622d7afd1e1c76151b1635c90e28988cb09f6c5.tar.gz
dns_record-4622d7afd1e1c76151b1635c90e28988cb09f6c5.tar.xz
Add automatic reverse zone.
Diffstat (limited to 'lib/puppet/type/dns_record.rb')
-rw-r--r--lib/puppet/type/dns_record.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/type/dns_record.rb b/lib/puppet/type/dns_record.rb
index 0e22156..7f212dd 100644
--- a/lib/puppet/type/dns_record.rb
+++ b/lib/puppet/type/dns_record.rb
@@ -20,7 +20,7 @@ Puppet::Type.newtype(:dns_record) do
newproperty(:type) do
desc "DNS Record type, such as A, or TXT"
- newvalues(:A, :AAAA, :CNAME, :NS)
+ newvalues(:A, :AAAA, :CNAME, :NS, :PTR)
isrequired
end