equal
deleted
inserted
replaced
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 |