Class: Chef::Provider::LoadBalancer

Inherits:
LWRPBase
  • Object
show all
Defined in:
lib/chef/provider/load_balancer.rb

Instance Method Summary collapse

Instance Method Details

#action_handlerObject



10
11
12
# File 'lib/chef/provider/load_balancer.rb', line 10

def action_handler
  @action_handler ||= Chef::Provisioning::ChefProviderActionHandler.new(self)
end

#chef_managed_entry_storeObject



22
23
24
# File 'lib/chef/provider/load_balancer.rb', line 22

def chef_managed_entry_store
  @chef_managed_entry_store ||= Provisioning.chef_managed_entry_store(new_resource.chef_server)
end

#new_driverObject



18
19
20
# File 'lib/chef/provider/load_balancer.rb', line 18

def new_driver
  @new_driver ||= run_context.chef_provisioning.driver_for(new_resource.driver)
end

#whyrun_supported?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/chef/provider/load_balancer.rb', line 14

def whyrun_supported?
  true
end