diff options
author | Luke Kanies <luke@madstop.com> | 2008-06-14 13:53:56 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2008-06-14 13:53:56 -0500 |
commit | 6a61198f9293674a4bf0aa75bfbca10e20f64d20 (patch) | |
tree | 0b1b6c4ffe6e69c3c9d3e9650620e3afbd486f18 /lib/puppet/indirector/indirection.rb | |
parent | eaa6eabc680cb6264594e30fd6a56e3e36765269 (diff) | |
parent | 7b2c310e18b214424ae082e6ed2354a07b708c6f (diff) | |
download | puppet-6a61198f9293674a4bf0aa75bfbca10e20f64d20.tar.gz puppet-6a61198f9293674a4bf0aa75bfbca10e20f64d20.tar.xz puppet-6a61198f9293674a4bf0aa75bfbca10e20f64d20.zip |
Merge branch '0.24.x'
Also added the fixes to make the certhandler tests pass
even when certs exist; I'll deal with the conflict later.
Conflicts:
CHANGELOG
bin/puppetd
lib/puppet/network/http/handler.rb
lib/puppet/network/http/mongrel/rest.rb
spec/integration/indirector/rest.rb
spec/integration/network/server/mongrel.rb
spec/integration/network/server/webrick.rb
spec/unit/network/http/webrick.rb
Diffstat (limited to 'lib/puppet/indirector/indirection.rb')
-rw-r--r-- | lib/puppet/indirector/indirection.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/indirector/indirection.rb b/lib/puppet/indirector/indirection.rb index c70259304..a9fff75b8 100644 --- a/lib/puppet/indirector/indirection.rb +++ b/lib/puppet/indirector/indirection.rb @@ -256,7 +256,7 @@ class Puppet::Indirector::Indirection def check_authorization(request, terminus) # At this point, we're assuming authorization makes no sense without # client information. - return unless request.options[:node] + return unless request.node # This is only to authorize via a terminus-specific authorization hook. return unless terminus.respond_to?(:authorized?) |