Class Puppet::FileServing::Metadata
In: lib/puppet/file_serving/metadata.rb
Parent: Puppet::FileServing::Base

A class that handles retrieving file metadata.

Methods

Included Modules

Puppet::Util::Checksums

Constants

PARAM_ORDER = [:mode, :ftype, :owner, :group]

Attributes

checksum  [R] 
checksum_type  [R] 
destination  [R] 
ftype  [R] 
group  [R] 
mode  [R] 
owner  [R] 
path  [R] 

Public Class methods

Public Instance methods

Retrieve the attributes for this file, relative to a base directory. Note that File.stat raises Errno::ENOENT if the file is absent and this method does not catch that exception.

[Validate]