On Mon, Nov 14, 2011 at 5:38 PM, < "> > wrote:From within a ruby block resource?
> I have found myself running into the case where I want to notify a specific
> resource 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.