# File lib/puppet/file_serving/mount/file.rb, line 51
51:   def path=(path)
52:     # FIXME: For now, just don't validate paths with replacement
53:     # patterns in them.
54:     if path =~ /%./
55:       # Mark that we're expandable.
56:       @expandable = true
57:     else
58:       raise ArgumentError, "#{path} does not exist or is not a directory" unless FileTest.directory?(path)
59:       raise ArgumentError, "#{path} is not readable" unless FileTest.readable?(path)
60:       @expandable = false
61:     end
62:     @path = path
63:   end