Method: Puppet::Plugins.known

Defined in:
lib/vendor/puppet/util/plugins.rb

.knownObject

Return all the Puppet::Plugins we know about, searching any new paths



37
38
39
40
41
42
43
# File 'lib/vendor/puppet/util/plugins.rb', line 37

def self.known
  Paths[Loaded.length...Paths.length].each { |path|
    file = File.join(path,'plugin_init.rb')
    Loaded << (File.exist?(file) && new(file))
  }
  Loaded.compact
end