- From: Ranjib Dey <
>
- To:
- Subject: [chef] Re: Using notify to run a recipe
- Date: Wed, 29 Aug 2012 00:09:18 +0800
what does recipe[pre_inst] do? Is there any particular reason you can not include pre_inst (or vice versa) and notify specific resources from pre_inst? Given that you can have multiple notification there may be a cleaner solution.
On Tue, Aug 28, 2012 at 9:35 PM, Tom
<
" target="_blank">
> wrote:
Hi,
Is it possible to make a resource notify, (and thus run) an entire recipe.
For example:
I wish to upgrade a package, but it depends on certain resources being executed - either before or after the package installation.
Is it possible to do something like:
package "application" do
action :upgrade
notifies recipe[pre_inst]
end
?
thanks
Archive powered by MHonArc 2.6.16.