summaryrefslogtreecommitdiff
path: root/lib/puppet/type/dns_record.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/type/dns_record.rb')
-rw-r--r--lib/puppet/type/dns_record.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/puppet/type/dns_record.rb b/lib/puppet/type/dns_record.rb
index 7b7040d..54baf14 100644
--- a/lib/puppet/type/dns_record.rb
+++ b/lib/puppet/type/dns_record.rb
@@ -15,10 +15,12 @@ Puppet::Type.newtype(:dns_record) do
newproperty(:type) do
desc "DNS Record type, such as A, or TXT"
- newvalues(:A, :AAAA, :CNAME, :PTR)
+ # TODO keep this in sync with provider
+ newvalues(:A, :AAAA, :CNAME, :PTR, :MX, :TXT)
isrequired
end
+ # TODO why isn't this the name var?
newproperty(:key) do
desc "DNS Name"
isrequired