lib/puppet/x509/pem_store.rb
# Load a pem encoded object.
#
# @param path [String] file path
# @return [String, nil] The PEM encoded object or nil if the
#  path does not exist
# @raise [Errno::EACCES] if permission is denied
# @api private
Load a pem encoded object.
Load a pem encoded object .
def load_pem(path)
    Puppet::FileSystem.read(path, encoding: 'UTF-8')
  rescue Errno::ENOENT
    nil
  end
def load_pem ( path ) Puppet :: FileSystem . read ( path , encoding : 'UTF-8' ) rescue Errno :: ENOENT nil end
Load a pem encoded object.
Load a pem encoded object .
The PEM encoded object or nil if the path does not exist
The PEM encoded object or nil if the path does not exist
String, nil
[Errno::EACCES] if permission is denied
[ Errno :: EACCES ] if permission is denied
path
None
api
None