# File lib/puppet/provider/macauthorization/macauthorization.rb, line 116
116:   def flush
117:     # deletion happens in the destroy methods
118:     if resource[:ensure] != :absent
119:       case resource[:auth_type]
120:       when :right
121:         flush_right
122:       when :rule
123:         flush_rule
124:       else
125:         raise Puppet::Error.new("flush requested for unknown type.")
126:       end
127:       @property_hash.clear
128:     end
129:   end