summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/rdoc/code_objects.rb
diff options
context:
space:
mode:
authorMarkus Roberts <Markus@reality.com>2010-08-21 19:44:06 -0700
committerJames Turnbull <james@lovedthanlost.net>2010-09-07 12:49:00 +1000
commitb397b698314daae36f59751521be113cfd337095 (patch)
tree0dc6de86b33ee08e82cb6b8f18f480def33e0348 /lib/puppet/util/rdoc/code_objects.rb
parente91a8cc975216501f764f5f2dea40d72154dc426 (diff)
downloadpuppet-b397b698314daae36f59751521be113cfd337095.tar.gz
puppet-b397b698314daae36f59751521be113cfd337095.tar.xz
puppet-b397b698314daae36f59751521be113cfd337095.zip
Fix for #4489 -- apply was using the rest terminus
Basing pervasive low-level behaviour changes on the application name isn't a good idea, but if we're going to do it we need to remember to update the test when we rename the application. Further, if we optimize around such low-level tests (as we did when implementing file-streaming) we need to carry the tests over into the new data paths. This commit addresses both of these isues, restoring 0.25.x stand-alone file serving by adjusting the process-name test in the indirector to recognize "apply" as standalone (and thus not use http to fetch the files) and by adding a branch to the file streaming code to do the same when fetching the content. I am not certain that this change is globally correct; there may be other related problems that will not be fixed (and may in fact be exacerbated) by this patch.
Diffstat (limited to 'lib/puppet/util/rdoc/code_objects.rb')
0 files changed, 0 insertions, 0 deletions