Method: Puppet::Indirector::Indirection#cache
- Defined in:
- lib/puppet/indirector/indirection.rb
#cache ⇒ Object
Create and return our cache terminus.
39 40 41 42 |
# File 'lib/puppet/indirector/indirection.rb', line 39 def cache raise(Puppet::DevError, "Tried to cache when no cache class was set") unless cache_class terminus(cache_class) end |