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