diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-01-18 17:24:15 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-01-18 17:24:15 +0000 |
commit | 6bab167dcbb274fd302a65d567d6af0ef6621b79 (patch) | |
tree | 92093e971bab20400ac8218a5cf1b159e64b5cbb /lib/puppet/server/fileserver.rb | |
parent | ed39be9dd2ecdbe9a8624ed2f6c03334e123e81d (diff) | |
download | puppet-6bab167dcbb274fd302a65d567d6af0ef6621b79.tar.gz puppet-6bab167dcbb274fd302a65d567d6af0ef6621b79.tar.xz puppet-6bab167dcbb274fd302a65d567d6af0ef6621b79.zip |
Made lots of small changes, mostly to help usability but also fixed a couple of key bugs
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@841 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/server/fileserver.rb')
-rwxr-xr-x | lib/puppet/server/fileserver.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/puppet/server/fileserver.rb b/lib/puppet/server/fileserver.rb index 4712a344b..3349256ba 100755 --- a/lib/puppet/server/fileserver.rb +++ b/lib/puppet/server/fileserver.rb @@ -59,6 +59,10 @@ class Server authcheck(file, mount, client, clientip) + if client + Puppet.debug "Describing %s for %s" % [file, client] + end + sdir = nil unless sdir = subdir(mount, path) mount.notice "Could not find subdirectory %s" % @@ -148,6 +152,10 @@ class Server authcheck(dir, mount, client, clientip) + if client + Puppet.debug "Listing %s for %s" % [dir, client] + end + subdir = nil unless subdir = subdir(mount, path) mount.notice "Could not find subdirectory %s" % @@ -307,6 +315,10 @@ class Server authcheck(file, mount, client, clientip) + if client + Puppet.info "Sending %s to %s" % [file, client] + end + fpath = nil if path fpath = File.join(mount.path, path) |