Upgrade cgimap automatically
authorTom Hughes <tom@compton.nu>
Thu, 20 Oct 2016 18:01:00 +0000 (19:01 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 20 Oct 2016 18:01:49 +0000 (19:01 +0100)
cookbooks/web/recipes/cgimap.rb

index 1a72d0363f0020d5f8ab9a55fca5ab9ee8b10917..9425a356a07d0b797d90283057bab1d86961fd67 100644 (file)
@@ -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]