lib/puppet/indirector/key/file.rb
# Remove the public key, in addition to the private key
Remove the public key, in addition to the private key
Remove the public key in addition to the private key
def destroy(request)
    super
    return unless FileTest.exist?(public_key_path(request.key))
    begin
      File.unlink(public_key_path(request.key))
    rescue => detail
      raise Puppet::Error, "Could not remove #{request.key} public key: #{detail}"
    end
  end
def destroy ( request ) super return unless FileTest . exist? ( public_key_path ( request . key ) ) begin File . unlink ( public_key_path ( request . key ) ) rescue => detail raise Puppet :: Error , "Could not remove #{request.key} public key: #{detail}" end end
Remove the public key, in addition to the private key
Remove the public key in addition to the private key
request
<not_specific>