summaryrefslogtreecommitdiffstats
path: root/lib/puppet/file_serving/indirection_hooks.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-08-21 23:09:27 -0500
committerLuke Kanies <luke@madstop.com>2008-08-26 22:40:38 -0700
commita215abaef97ea1fb0187f46c5e6a880ff1d29036 (patch)
tree1f320446b228626ff1be86baf2b74102afd7f1f1 /lib/puppet/file_serving/indirection_hooks.rb
parentd1746054b8617271941e7307b2ecee0b61976818 (diff)
downloadpuppet-a215abaef97ea1fb0187f46c5e6a880ff1d29036.tar.gz
puppet-a215abaef97ea1fb0187f46c5e6a880ff1d29036.tar.xz
puppet-a215abaef97ea1fb0187f46c5e6a880ff1d29036.zip
Dividing server/port configuration responsibility between the REST terminus and the indirection request.
Previously, the REST terminus did all of the configuration, but it required rewriting the request key if it was a URI because you can't have a uri in a uri (i.e., you can't use http://host/puppet://host/dist/file). Now the request parses the URI and sets host/port/key/protocol appropriately, and the REST terminus has its own overrides and defaults so that subclasses like certificate classes can provide specific values. Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib/puppet/file_serving/indirection_hooks.rb')
0 files changed, 0 insertions, 0 deletions