Remove apache2 if installed on tilecaches
authorGrant Slater <git@firefishy.com>
Tue, 16 Dec 2014 17:25:36 +0000 (17:25 +0000)
committerGrant Slater <git@firefishy.com>
Tue, 16 Dec 2014 17:25:36 +0000 (17:25 +0000)
cookbooks/tilecache/recipes/default.rb

index 37d10295fdbbe57cfc857caf90a78f51f4165193..1aad4b9ff4652b3ba20b9d364d52bc59b82967ec 100644 (file)
@@ -26,6 +26,10 @@ include_recipe "ssl"
 include_recipe "squid"
 include_recipe "nginx"
 
 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] }
 package "xz-utils"
 
 tilecaches = search(:node, "roles:tilecache").sort_by { |n| n[:hostname] }