# File lib/puppet/type/zone.rb, line 428
428:   def setstatus(hash)
429:     prophash = {}
430:     hash.each do |param, value|
431:       next if param == :name
432:       case self.class.attrtype(param)
433:       when :property
434:         # Only try to provide values for the properties we're managing
435:         if prop = self.property(param)
436:           prophash[prop] = value
437:         end
438:       else
439:         self[param] = value
440:       end
441:     end
442:     prophash
443:   end