diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-06-09 15:37:22 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-06-09 15:37:22 +0200 |
commit | decd20cd6494c9f26bdb3c9727b492fb7cc53f1a (patch) | |
tree | 4a43234e4b3ba7b7ccc249a64e40c73df01cf952 | |
parent | Made record values arrayed. (diff) | |
download | dns-decd20cd6494c9f26bdb3c9727b492fb7cc53f1a.tar.gz dns-decd20cd6494c9f26bdb3c9727b492fb7cc53f1a.tar.xz |
.
-rw-r--r-- | lib/puppet/provider/dns_record2/named.rb | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/puppet/provider/dns_record2/named.rb b/lib/puppet/provider/dns_record2/named.rb index 5c8fad0..a48f72a 100644 --- a/lib/puppet/provider/dns_record2/named.rb +++ b/lib/puppet/provider/dns_record2/named.rb @@ -11,19 +11,19 @@ Puppet::Type.type(:dns_record2).provide(:named) do resource[:type] end - def value - t = record - case t - when NilClass - :absent - when String - t - when Array - t - else - raise "INVALID VALUE (#{t.class}, #{t})" - end - end + # def value + # t = record + # case t + # when NilClass + # :absent + # when String + # t + # when Array + # t + # else + # raise "INVALID VALUE (#{t.class}, #{t})" + # end + # end def key resource[:key] |