X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/0d9c8fe196af7428be06e2c5495b65d8506f4ab3..18424e9038b5f06d815167da8f0c10bed5d5d211:/cookbooks/planet/recipes/default.rb diff --git a/cookbooks/planet/recipes/default.rb b/cookbooks/planet/recipes/default.rb index 044a88bf8..5d4e063cd 100644 --- a/cookbooks/planet/recipes/default.rb +++ b/cookbooks/planet/recipes/default.rb @@ -17,17 +17,13 @@ # limitations under the License. # -include_recipe "apache::ssl" +include_recipe "apache" package "perl" package "pbzip2" package "osmosis" -if node[:lsb][:release].to_f >= 16.04 - package "php-cli" -else - package "php5-cli" -end +package "php-cli" file "/etc/cron.d/planet" do action :delete @@ -93,7 +89,6 @@ apache_module "proxy_http" ssl_certificate "planet.openstreetmap.org" do domains ["planet.openstreetmap.org", "planet.osm.org"] - fallback_certificate "openstreetmap" notifies :reload, "service[apache2]" end