After upgrading to 0.24.2.rc1, the plugins mount breaks with the error:
"err: Could not call: Paths must be fully qualified", due to the plugins mount not actually having a path. DavidS provided a patch, which seems to solve the problem for several of us:
--- a/lib/puppet/network/handler/fileserver.rb
+++ b/lib/puppet/network/handler/fileserver.rb
@@ -409,8 +409,9 @@ class Puppet::Network::Handler
# Remove any double slashes that might have occurred
path = URI.unescape(path.gsub(/\/\//, "/"))
end
-
- return mount, path
+
+ path = mount.file_path(path, client)
+ return mount, path.sub(/^#{mount.path(client)}/, "")
end
def to_s
@@ -756,7 +757,7 @@ class Puppet::Network::Handler
#
class PluginMount < Mount
def path(client)
- ''
+ '/'
end
def mod_path_exists?(mod, relpath, client = nil)