lib/puppet/network/handler/fileserver.rb in puppet-0.25.4 vs lib/puppet/network/handler/fileserver.rb in puppet-0.25.5

- old
+ new

@@ -281,11 +281,11 @@ when /^\s*#/; next # skip comments when /^\s*$/; next # skip blank lines when /\[([-\w]+)\]/ name = $1 if newmounts.include?(name) - raise FileServerError, "%s is already mounted at %s" % - [newmounts[name], name], count, @configuration.file + raise FileServerError, "%s is already mounted as %s in %s" % + [newmounts[name], name, @configuration.file] end mount = Mount.new(name) newmounts[name] = mount when /^\s*(\w+)\s+(.+)$/ var = $1