From 97387e441a614b3857b3ce25cebcc254526f0c5a Mon Sep 17 00:00:00 2001 From: Tilo Klausing Date: Sat, 7 Feb 2015 17:19:54 +0100 Subject: [PATCH] added record type DS (Pt 2) --- lib/puppet/type/dns_rr.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/puppet/type/dns_rr.rb b/lib/puppet/type/dns_rr.rb index d8c54a1..bb8fc6b 100644 --- a/lib/puppet/type/dns_rr.rb +++ b/lib/puppet/type/dns_rr.rb @@ -15,7 +15,7 @@ Puppet::Type.newtype(:dns_rr) do Util::Errors.fail "Invalid resource record class: %s" % rrdata end type = $2 - if ( !%w(A AAAA CNAME NS MX SPF SRV NAPTR PTR TXT).include? type) + if ( !%w(A AAAA CNAME NS MX SPF SRV NAPTR PTR TXT DS).include? type) Util::Errors.fail "Invalid resource record type: %s" % type end else