# File lib/puppet/provider/macauthorization/macauthorization.rb, line 99 99: def destroy 100: # We explicitly delete here rather than in the flush method. 101: case resource[:auth_type] 102: when :right 103: destroy_right 104: when :rule 105: destroy_rule 106: else 107: raise Puppet::Error.new("Must specify auth_type when destroying.") 108: end 109: end