- From: Silviu Dicu <
>
- To: "
" <
>
- Subject: [chef] Provider - load_current_resource
- Date: Wed, 20 Nov 2013 14:02:24 -0500
Hello,
How can I make into a provider that a variable will be re-initialized ?
Example:
providers/default.rb
def load_current_resource
@current_resource.var = i_set_my_resource(@new_resource.name)
end
...
At some point I need to re-init @current_resource.var.
thanks!
- [chef] Provider - load_current_resource, Silviu Dicu, 11/20/2013
Archive powered by MHonArc 2.6.16.