Class: Puppet::Provider::CE

Inherits:
Puppet::Provider
  • Object
show all
Defined in:
lib/puppet/provider/ce/ce/ce.rb

Overview

encoding: utf-8

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resources) ⇒ CE

Returns a new instance of CE.



18
19
20
# File 'lib/puppet/provider/ce/ce/ce.rb', line 18

def initialize(resources)
  super(resources)
end

Class Method Details

.prefetch(resources) ⇒ Object



22
23
24
25
26
27
28
# File 'lib/puppet/provider/ce/ce/ce.rb', line 22

def self.prefetch(resources)
  instances.each do |prov|
    if resource == resources[prov.name]
      resource.provider = prov
    end
  end
end