- From: Vladimir Girnet <
>
- To:
- Subject: [chef] Re: Adding a Resource at Run Time
- Date: Mon, 28 Nov 2011 22:16:35 +0200
Define resource, and use "not_if" or "only_if" - this way you can
control whenever resource will be executed or not.
On 11/28/2011 9:44 PM,
wrote:
Is it possible to add a resource at run time? If so, what is the function?
I imagine it is something like,
ruby_block "..." do
block do
#add my resource
end
end
Archive powered by MHonArc 2.6.16.