Method: Puppet::Pops::Loaders.loaders
- Defined in:
- lib/puppet/pops/loaders.rb
.loaders ⇒ Loaders
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Finds the ‘Loaders` instance by looking up the :loaders in the global Puppet context
179 180 181 182 183 |
# File 'lib/puppet/pops/loaders.rb', line 179 def self.loaders loaders = Puppet.lookup(:loaders) { nil } raise Puppet::ParseError, _("Internal Error: Puppet Context ':loaders' missing") if loaders.nil? loaders end |