# File lib/puppet/provider/zone/solaris.rb, line 246
246:   def zonecfg(*cmd)
247:     # You apparently can't get the configuration of the global zone
248:     return "" if self.name == "global"
249: 
250:     begin
251:       cfg("-z", self.name, *cmd)
252:     rescue Puppet::ExecutionFailure => detail
253:       self.fail "Could not #{cmd[0]} zone: #{detail}"
254:     end
255:   end