lib/puppet/x509/pem_store.rb
# Delete a pem encoded object, if it exists.
#
# @param path [String] The file path to delete
# @return [Boolean] Returns true if the file was deleted, false otherwise
# @raise [Errno::EACCES] if permission is denied
# @api private
Delete a pem encoded object, if it exists.
Delete a pem encoded object if it exists .
def delete_pem(path)
    Puppet::FileSystem.unlink(path)
    true
  rescue Errno::ENOENT
    false
  end
def delete_pem ( path ) Puppet :: FileSystem . unlink ( path ) true rescue Errno :: ENOENT false end
Delete a pem encoded object, if it exists.
Delete a pem encoded object if it exists .
Returns true if the file was deleted, false otherwise
Returns true if the file was deleted false otherwise
Boolean
[Errno::EACCES] if permission is denied
[ Errno :: EACCES ] if permission is denied
path
The file path to delete
The file path to delete
api
None