summaryrefslogtreecommitdiffstats
path: root/install.rb
diff options
context:
space:
mode:
authorBrice Figureau <brice-puppet@daysofwonder.com>2010-08-04 22:34:33 +0200
committerMarkus Roberts <Markus@reality.com>2010-08-04 17:49:15 -0700
commit3a6ca54a6e8ad353f207bc85433d1204b5ca48bc (patch)
treeea06161f75ee884d9489359ace3fb69fd958fabd /install.rb
parentd909827942fa571bea202818c92d081e7957a574 (diff)
downloadpuppet-3a6ca54a6e8ad353f207bc85433d1204b5ca48bc.tar.gz
puppet-3a6ca54a6e8ad353f207bc85433d1204b5ca48bc.tar.xz
puppet-3a6ca54a6e8ad353f207bc85433d1204b5ca48bc.zip
Fix #4458 - Do not dump the whole environment when instances can't be found
When generating the error message when we can't find any instances for a search request, we were "inspect"ing the request which now contains an environment instance which itself contains a lots of things (including all the known resource types). Thus it was generating a very large "reason" (ie the HTTP error string). On some environments (ie proxied mongrel) this was too large and the proxy would produce an error 500. I just changed the error message to just log the indirection name and request key (which should be enough to understand what is wrong). Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
Diffstat (limited to 'install.rb')
0 files changed, 0 insertions, 0 deletions