Class: Chef::Resource::PrivateKey

Inherits:
Cheffish::BaseResource show all
Defined in:
lib/chef/resource/private_key.rb

Constant Summary

Constants included from Cheffish::BaseProperties

Cheffish::BaseProperties::ArrayType, Cheffish::BaseProperties::Boolean

Instance Method Summary collapse

Methods included from Cheffish::BaseProperties

#initialize

Instance Method Details

#after(&block) ⇒ Object

Proc that runs after the resource completes. Called with (resource, private_key)



40
41
42
# File 'lib/chef/resource/private_key.rb', line 40

def after(&block)
  block ? @after = block : @after
end

#load_prior_resource(*args) ⇒ Object

We are not interested in Chef’s cloning behavior here.



45
46
47
# File 'lib/chef/resource/private_key.rb', line 45

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