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(*args) ⇒ 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)
38 39 40 |
# File 'lib/chef/resource/private_key.rb', line 38 def after(&block) block ? @after = block : @after end |
#load_prior_resource(*args) ⇒ Object
We are not interested in Chef’s cloning behavior here.
43 44 45 |
# File 'lib/chef/resource/private_key.rb', line 43 def load_prior_resource(*args) Chef::Log.debug("Overloading #{resource_name}.load_prior_resource with NOOP") end |