summaryrefslogtreecommitdiffstats
path: root/lib/puppet/file_serving/mount.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/file_serving/mount.rb')
-rw-r--r--lib/puppet/file_serving/mount.rb44
1 files changed, 22 insertions, 22 deletions
diff --git a/lib/puppet/file_serving/mount.rb b/lib/puppet/file_serving/mount.rb
index 420b6f73e..37dd89537 100644
--- a/lib/puppet/file_serving/mount.rb
+++ b/lib/puppet/file_serving/mount.rb
@@ -12,33 +12,33 @@ require 'puppet/file_serving/content'
# Broker access to the filesystem, converting local URIs into metadata
# or content objects.
class Puppet::FileServing::Mount < Puppet::Network::AuthStore
- include Puppet::Util::Logging
+ include Puppet::Util::Logging
- attr_reader :name
+ attr_reader :name
- def find(path, options)
- raise NotImplementedError
- end
-
- # Create our object. It must have a name.
- def initialize(name)
- unless name =~ %r{^[-\w]+$}
- raise ArgumentError, "Invalid mount name format '#{name}'"
- end
- @name = name
+ def find(path, options)
+ raise NotImplementedError
+ end
- super()
+ # Create our object. It must have a name.
+ def initialize(name)
+ unless name =~ %r{^[-\w]+$}
+ raise ArgumentError, "Invalid mount name format '#{name}'"
end
+ @name = name
- def search(path, options)
- raise NotImplementedError
- end
+ super()
+ end
- def to_s
- "mount[#{@name}]"
- end
+ def search(path, options)
+ raise NotImplementedError
+ end
- # A noop.
- def validate
- end
+ def to_s
+ "mount[#{@name}]"
+ end
+
+ # A noop.
+ def validate
+ end
end