- From: Bryan McLellan <
>
- To:
- Subject: [chef] Re: Notifying Resources within Ruby Block Resource
- Date: Mon, 14 Nov 2011 18:44:35 -0500
On Mon, Nov 14, 2011 at 5:38 PM,
<
>
wrote:
>
I have found myself running into the case where I want to notify a specific
>
resource within a Ruby Block resource.
From within a ruby block resource?
http://lists.opscode.com/sympa/arc/chef-dev/2011-01/msg00003.html
# At run time
ruby_block "foo" do
block do
resources(:service => "apache2").run_action(:restart)
end
end
Archive powered by MHonArc 2.6.16.