Method: Chef::Resource::LoadBalancer#load_prior_resource

Defined in:
lib/chef/resource/load_balancer.rb

#load_prior_resource(*args) ⇒ Object

This is here because metal users will probably want to do things like: machine “foo”

action :destroy

end

with_load_balancer_options :bootstrap_options => … machine “foo”

converge true

end

Without this, the first resource’s machine options will obliterate the second resource’s machine options, and then unexpected (and undesired) things happen.



47
48
49
# File 'lib/chef/resource/load_balancer.rb', line 47

def load_prior_resource(*args)
  Chef::Log.debug "Overloading #{self.resource_name} load_prior_resource with NOOP"
end