Class: Chef::Resource::PrivateKey
- Inherits:
-
LWRPBase
- Object
- LWRPBase
- Chef::Resource::PrivateKey
- Defined in:
- lib/chef/resource/private_key.rb
Instance Method Summary collapse
-
#after(&block) ⇒ Object
Proc that runs after the resource completes.
-
#load_prior_resource ⇒ Object
We are not interested in Chef’s cloning behavior here.
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_resource ⇒ Object
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 |