diff options
| author | Jesse Wolfe <jes5199@gmail.com> | 2009-11-23 16:57:04 -0800 |
|---|---|---|
| committer | James Turnbull <james@lovedthanlost.net> | 2009-12-02 13:15:34 +1100 |
| commit | f7c5ceb325da912e05457cd69eb74e03f541cc9f (patch) | |
| tree | 0c8128e7b197c2ad2e3881e684b697583623f2a9 /lib/puppet/network/http | |
| parent | 07b94b4687686acd4f1bc2567f7902e676c2338f (diff) | |
| download | puppet-f7c5ceb325da912e05457cd69eb74e03f541cc9f.tar.gz puppet-f7c5ceb325da912e05457cd69eb74e03f541cc9f.tar.xz puppet-f7c5ceb325da912e05457cd69eb74e03f541cc9f.zip | |
Fixing 2725 Error message when permissions incorrect on file server directory
No message was being displayed on the server if a file could not be
opened by the file server.
Signed-off-by: Jesse Wolfe <jes5199@gmail.com>
Diffstat (limited to 'lib/puppet/network/http')
| -rw-r--r-- | lib/puppet/network/http/handler.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/puppet/network/http/handler.rb b/lib/puppet/network/http/handler.rb index 817661db1..65bb0f82c 100644 --- a/lib/puppet/network/http/handler.rb +++ b/lib/puppet/network/http/handler.rb @@ -97,6 +97,7 @@ module Puppet::Network::HTTP::Handler # Execute our find. def do_find(indirection_request, request, response) unless result = indirection_request.model.find(indirection_request.key, indirection_request.to_hash) + Puppet.info("Could not find %s for '%s'" % [indirection_request.indirection_name, indirection_request.key]) return do_exception(response, "Could not find %s %s" % [indirection_request.indirection_name, indirection_request.key], 404) end |
