From 8b14ef8929bdf612071556e24b42ffa1163ed5b3 Mon Sep 17 00:00:00 2001 From: luke Date: Fri, 6 Jul 2007 00:54:51 +0000 Subject: Fixing logging of module mounts; it was using the module as the name, rather than the module name git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2653 980ebf18-57e1-0310-9a29-db15c13687c0 --- lib/puppet/network/handler/fileserver.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/puppet/network/handler') diff --git a/lib/puppet/network/handler/fileserver.rb b/lib/puppet/network/handler/fileserver.rb index 2b9b6b4b0..fdf515d6e 100755 --- a/lib/puppet/network/handler/fileserver.rb +++ b/lib/puppet/network/handler/fileserver.rb @@ -393,7 +393,7 @@ class Puppet::Network::Handler mod = Puppet::Module::find(tmp) if mod - mount = @mounts[MODULES].copy(mod, mod.files) + mount = @mounts[MODULES].copy(mod.name, mod.files) else unless mount = @mounts[tmp] raise FileServerError, "Fileserver module '%s' not mounted" % tmp @@ -632,7 +632,7 @@ class Puppet::Network::Handler end def to_s - "mount[#{@name}]" + "mount[%s]" % @name end # Verify our configuration is valid. This should really check to -- cgit