HIDDEN_IVARS | = | [:@allowed_actions, :@resource_name, :@source_line, :@run_context, :@name, :@node] |
allowed_actions | [RW] | |
cookbook_name | [RW] | |
delayed_notifications | [R] | |
enclosing_provider | [RW] | |
immediate_notifications | [R] | Each notify entry is a resource/action pair, modeled as an Struct with a resource and action member |
not_if_args | [R] | |
only_if_args | [R] | |
params | [RW] | |
provider | [RW] | |
recipe_name | [RW] | |
resource_name | [R] | |
run_context | [RW] | |
source_line | [RW] | |
updated | [R] |
default initialize method that ensures that when initialize is finally wrapped (see below), super is called in the event that the resource definer does not implement initialize
Resources that want providers namespaced somewhere other than Chef::Provider can set the namespace with provider_base Ex:
class MyResource < Chef::Resource provider_base Chef::Provider::Deploy # ...other stuff end