db_passwords = data_bag_item("db", "passwords")
-package "openstreetmap-cgimap-bin"
+package "openstreetmap-cgimap-bin" do
+ action :upgrade
+end
if node[:web][:readonly_database_host]
database_host = node[:web][:readonly_database_host]
service "cgimap" do
action [:enable, :start]
supports :restart => true, :reload => true
- subscribes :restart, "dpkg_package[openstreetmap-cgimap-bin]"
+ subscribes :restart, "package[openstreetmap-cgimap-bin]"
subscribes :restart, "systemd_service[cgimap]"
end
end