Class: 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.
Defined Under Namespace
Classes: File, Locales, Modules, PluginFacts, Plugins, Scripts, Tasks
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_backtrace, #format_exception, #get_deprecation_offender, #log_and_raise, #log_deprecations_to_file, #log_exception, #puppet_deprecation_warning, #send_log, setup_facter_logging!, #warn_once
Constructor Details
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
13 14 15 |
# File 'lib/puppet/file_serving/mount.rb', line 13 def name @name end |
Instance Method Details
#find(path, options) ⇒ Object
15 16 17 |
# File 'lib/puppet/file_serving/mount.rb', line 15 def find(path, ) raise NotImplementedError end |
#search(path, options) ⇒ Object
30 31 32 |
# File 'lib/puppet/file_serving/mount.rb', line 30 def search(path, ) raise NotImplementedError end |
#to_s ⇒ Object
34 35 36 |
# File 'lib/puppet/file_serving/mount.rb', line 34 def to_s "mount[#{@name}]" end |
#validate ⇒ Object
A noop.
39 40 |
# File 'lib/puppet/file_serving/mount.rb', line 39 def validate end |