- From: Geoff Meakin <
>
- To:
- Subject: [chef] Package doesnt notify service?
- Date: Mon, 7 May 2012 19:10:02 +0100
Hi all,
Using chef 0.10.4 (slightly out of date i know)
I would expect the following to start service mongodb as soon as the package
is installed… but instead it wilfully ignored the notified directive, while
installing the package
Anybody have any ideas?
case node['platform']
when "debian", "ubuntu"
package "mongodb" do
package_name "mongodb-10gen"
notifies :start, "service[mongodb]", :immediately
end
end
service "mongodb" do
supports :restart => true, :status => true
action :nothing
end
- [chef] Package doesnt notify service?, Geoff Meakin, 05/07/2012
Archive powered by MHonArc 2.6.16.