Class: Puppet::FileServing::Mount
- Inherits:
-
Network::AuthStore
- Object
- Network::AuthStore
- Puppet::FileServing::Mount
- Includes:
- Util::Logging
- Defined in:
- lib/puppet/file_serving/mount.rb
Overview
Broker access to the filesystem, converting local URIs into metadata or content objects.
Direct Known Subclasses
Defined Under Namespace
Classes: File, Modules, PluginFacts, Plugins, Tasks
Constant Summary
Constants included from Util::Logging
Util::Logging::FILE_AND_LINE, Util::Logging::FILE_NO_LINE, Util::Logging::MM, Util::Logging::NO_FILE_LINE, Util::Logging::SUPPRESS_FILE_LINE
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
- #find(path, options) ⇒ Object
-
#initialize(name) ⇒ Mount
constructor
Create our object.
- #search(path, options) ⇒ Object
- #to_s ⇒ Object
-
#validate ⇒ Object
A noop.
Methods included from Util::Logging
#clear_deprecation_warnings, #debug, #deprecation_warning, #format_exception, #get_deprecation_offender, #log_and_raise, #log_deprecations_to_file, #log_exception, #puppet_deprecation_warning, #send_log, setup_facter_logging!, #warn_once
Methods inherited from Network::AuthStore
#allow, #allow_ip, #allowed?, #deny, #deny_ip, #empty?, #globalallow?, #interpolate, #reset_interpolation
Constructor Details
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
12 13 14 |
# File 'lib/puppet/file_serving/mount.rb', line 12 def name @name end |
Instance Method Details
#find(path, options) ⇒ Object
14 15 16 |
# File 'lib/puppet/file_serving/mount.rb', line 14 def find(path, ) raise NotImplementedError end |
#search(path, options) ⇒ Object
28 29 30 |
# File 'lib/puppet/file_serving/mount.rb', line 28 def search(path, ) raise NotImplementedError end |
#to_s ⇒ Object
32 33 34 |
# File 'lib/puppet/file_serving/mount.rb', line 32 def to_s "mount[#{@name}]" end |
#validate ⇒ Object
A noop.
37 38 |
# File 'lib/puppet/file_serving/mount.rb', line 37 def validate end |