Sha256: 3d636b01b97d075a285b0e645f1fbc06d78de13c043ebda3c8df24530c77d68d
Contents?: true
Size: 753 Bytes
Versions: 28
Compression:
Stored size: 753 Bytes
Contents
require 'puppet/util/logging' require 'puppet/file_serving' require 'puppet/file_serving/metadata' require 'puppet/file_serving/content' # Broker access to the filesystem, converting local URIs into metadata # or content objects. class Puppet::FileServing::Mount include Puppet::Util::Logging 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}'") % { name: name } end @name = name super() end def search(path, options) raise NotImplementedError end def to_s "mount[#{@name}]" end # A noop. def validate end end
Version data entries
28 entries across 28 versions & 1 rubygems