diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-02-17 10:11:06 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-02-17 10:11:06 +0100 |
commit | 646cbe10099e333858e8c54e822b955489586b94 (patch) | |
tree | ba3e9c6711970470123b00f421551e5080bdccf5 /lib | |
parent | Add fact for reverse zone. (diff) | |
download | dns_record-646cbe10099e333858e8c54e822b955489586b94.tar.gz dns_record-646cbe10099e333858e8c54e822b955489586b94.tar.xz |
dns_record made key namevar
Diffstat (limited to '')
-rw-r--r-- | lib/puppet/type/dns_record.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/puppet/type/dns_record.rb b/lib/puppet/type/dns_record.rb index 0f2be90..98617ff 100644 --- a/lib/puppet/type/dns_record.rb +++ b/lib/puppet/type/dns_record.rb @@ -10,10 +10,6 @@ Puppet::Type.newtype(:dns_record) do isrequired end - newparam(:name, :namevar => true) do - desc "Hello" - end - #newparam(:refresh) do # desc "Refreshes" #end @@ -24,7 +20,7 @@ Puppet::Type.newtype(:dns_record) do isrequired end - newproperty(:key) do + newproperty(:key, :namevar => true) do desc "DNS Name" isrequired end |