components/puppet/files/solaris/lib/puppet/type/dns.rb
changeset 1683 9adaa0c59314
parent 1661 c59d67c9d1d7
equal deleted inserted replaced
1682:54724eb85c54 1683:9adaa0c59314
   148             data = value.split(":")
   148             data = value.split(":")
   149             if data.length == 1
   149             if data.length == 1
   150                 raise Puppet::Error, "option #{value} is invalid" \
   150                 raise Puppet::Error, "option #{value} is invalid" \
   151                     if not simple_opts.include? data[0]
   151                     if not simple_opts.include? data[0]
   152             elsif data.length == 2
   152             elsif data.length == 2
   153                 # XXX
       
   154                 raise Puppet::Error, "svccfg is bugged with prop:N options"
       
   155 
       
   156                 raise Puppet::Error, "option #{value} is invalid" \
   153                 raise Puppet::Error, "option #{value} is invalid" \
   157                     if not arg_opts.include? data[0]
   154                     if not arg_opts.include? data[0]
   158 
   155 
   159                 # attempt to cast the integer specified
   156                 # attempt to cast the integer specified
   160                 begin
   157                 begin