From: Tom Hughes Date: Wed, 1 Jan 2020 18:41:19 +0000 (+0000) Subject: Install GeoLite2 databases on rails machines X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/a8ceb7d054b73f53c90718aca976e1898d97d809 Install GeoLite2 databases on rails machines --- diff --git a/cookbooks/dev/metadata.rb b/cookbooks/dev/metadata.rb index bcd716e41..b54b93f1d 100644 --- a/cookbooks/dev/metadata.rb +++ b/cookbooks/dev/metadata.rb @@ -8,6 +8,7 @@ version "1.0.0" supports "ubuntu" depends "apache" depends "passenger" +depends "geoipupdate" depends "git" depends "memcached" depends "mysql" diff --git a/cookbooks/dev/recipes/default.rb b/cookbooks/dev/recipes/default.rb index a5729160f..d8309f336 100644 --- a/cookbooks/dev/recipes/default.rb +++ b/cookbooks/dev/recipes/default.rb @@ -22,6 +22,7 @@ require "securerandom" include_recipe "apache" include_recipe "passenger" +include_recipe "geoipupdate" include_recipe "git" include_recipe "memcached" include_recipe "mysql" diff --git a/cookbooks/web/metadata.rb b/cookbooks/web/metadata.rb index 47b0dd678..65a55181a 100644 --- a/cookbooks/web/metadata.rb +++ b/cookbooks/web/metadata.rb @@ -16,3 +16,4 @@ depends "nfs" depends "accounts" depends "apt" depends "systemd" +depends "geoipupdate" diff --git a/cookbooks/web/recipes/rails.rb b/cookbooks/web/recipes/rails.rb index d46c09ee1..a6af8715f 100644 --- a/cookbooks/web/recipes/rails.rb +++ b/cookbooks/web/recipes/rails.rb @@ -22,6 +22,7 @@ include_recipe "web::base" include_recipe "apache" include_recipe "passenger" +include_recipe "geoipupdate" include_recipe "git" include_recipe "nodejs"