Class: Chef::Resource::PrivateKey

Inherits:
LWRPBase
  • Object
show all
Defined in:
lib/chef/resource/private_key.rb

Instance Method Summary collapse

Instance Method Details

#after(&block) ⇒ Object

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



36
37
38
# File 'lib/chef/resource/private_key.rb', line 36

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

#load_prior_resourceObject

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



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

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