# File lib/puppet/indirector/key/file.rb, line 20 20: def destroy(request) 21: super 22: 23: return unless FileTest.exist?(public_key_path(request.key)) 24: 25: begin 26: File.unlink(public_key_path(request.key)) 27: rescue => detail 28: raise Puppet::Error, "Could not remove #{request.key} public key: #{detail}" 29: end 30: end