Class | Puppet::Indirector::Request |
In: |
lib/puppet/indirector/request.rb
|
Parent: | Object |
This class encapsulates all of the information you need to make an Indirection call, and as a a result also handles REST calls. It‘s somewhat analogous to an HTTP Request object, except tuned for our Indirector.
OPTION_ATTRIBUTES | = | [:ip, :node, :authenticated, :ignore_terminus, :ignore_cache, :instance, :environment] |
authenticated | [RW] | |
ignore_cache | [RW] | |
ignore_terminus | [RW] | |
indirection_name | [R] | |
instance | [RW] | |
ip | [RW] | |
key | [RW] | |
method | [RW] | |
node | [RW] | |
options | [RW] | |
port | [RW] | |
protocol | [RW] | |
server | [RW] | |
uri | [RW] |
LAK:NOTE This is a messy interface to the cache, and it‘s only used by the Configurer class. I decided it was better to implement it now and refactor later, when we have a better design, than to spend another month coming up with a design now that might not be any better.