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