Module: NoResourceCloning

Defined in:
lib/chef/provisioning/aws_driver/super_lwrp.rb

Instance Method Summary collapse

Instance Method Details

#emit_cloned_resource_warningObject



55
# File 'lib/chef/provisioning/aws_driver/super_lwrp.rb', line 55

def emit_cloned_resource_warning; end

#emit_harmless_cloning_debugObject



56
# File 'lib/chef/provisioning/aws_driver/super_lwrp.rb', line 56

def emit_harmless_cloning_debug; end

#prior_resourceObject



47
48
49
50
51
52
53
54
# File 'lib/chef/provisioning/aws_driver/super_lwrp.rb', line 47

def prior_resource
  if resource_class <= Chef::Provisioning::AWSDriver::SuperLWRP
    Chef::Log.debug "Canceling resource cloning for #{resource_class}"
    nil
  else
    super
  end
end