From: Grant Slater Date: Tue, 16 Dec 2014 17:25:36 +0000 (+0000) Subject: Remove apache2 if installed on tilecaches X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/c862fb7a65c202840f92e551bfc1415a20f4492a Remove apache2 if installed on tilecaches --- diff --git a/cookbooks/tilecache/recipes/default.rb b/cookbooks/tilecache/recipes/default.rb index 37d10295f..1aad4b9ff 100644 --- a/cookbooks/tilecache/recipes/default.rb +++ b/cookbooks/tilecache/recipes/default.rb @@ -26,6 +26,10 @@ include_recipe "ssl" include_recipe "squid" include_recipe "nginx" +package "apache2" do + action :remove +end + package "xz-utils" tilecaches = search(:node, "roles:tilecache").sort_by { |n| n[:hostname] }