Class: Puppet::FileServing::Metadata::WindowsStat

Inherits:
MetaStat show all
Defined in:
lib/puppet/file_serving/metadata.rb

Instance Method Summary collapse

Methods inherited from MetaStat

#group, #mode, #owner

Constructor Details

#initialize(stat, path, source_permissions) ⇒ WindowsStat

Returns a new instance of WindowsStat.

Raises:

  • (ArgumentError)


73
74
75
76
77
# File 'lib/puppet/file_serving/metadata.rb', line 73

def initialize(stat, path, source_permissions)
  super(stat, source_permissions)
  @path = path
  raise(ArgumentError, _("Unsupported Windows source permissions option %{source_permissions}") % { source_permissions: source_permissions }) unless @source_permissions_ignore
end