Method: Puppet::Indirector::Indirection.instance
- Defined in:
- lib/puppet/indirector/indirection.rb
.instance(name) ⇒ Object
Find an indirection by name. This is provided so that Terminus classes can specifically hook up with the indirections they are associated with.
21 22 23 |
# File 'lib/puppet/indirector/indirection.rb', line 21 def self.instance(name) @@indirections.find { |i| i.name == name } end |