From: Tom Hughes Date: Thu, 20 Oct 2016 18:01:00 +0000 (+0100) Subject: Upgrade cgimap automatically X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/88443396c389cfea0ed8dd9a5a9a899ce50ab337?hp=915f41919a3eadbd602fc0b9c0cf01f3523cbe78 Upgrade cgimap automatically --- diff --git a/cookbooks/web/recipes/cgimap.rb b/cookbooks/web/recipes/cgimap.rb index 1a72d0363..9425a356a 100644 --- a/cookbooks/web/recipes/cgimap.rb +++ b/cookbooks/web/recipes/cgimap.rb @@ -22,7 +22,9 @@ include_recipe "web::base" 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]