X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/5811d89a2b44404da51e640f5899a4e637057127..e394fa01040abd1e7e4fdabc11298889666a4872:/cookbooks/tilecache/recipes/default.rb diff --git a/cookbooks/tilecache/recipes/default.rb b/cookbooks/tilecache/recipes/default.rb index 395ee54dc..63de8a529 100644 --- a/cookbooks/tilecache/recipes/default.rb +++ b/cookbooks/tilecache/recipes/default.rb @@ -100,25 +100,6 @@ squid_fragment "tilecache" do variables :caches => tilecaches, :renders => tilerenders end -if node[:packages][:squid][:version].to_f < 4.9 - Array(node[:squid][:cache_dir]).each do |cache_dir| - if cache_dir =~ /^coss (\S+) / - cache_dir = File.dirname(Regexp.last_match(1)) - elsif cache_dir =~ /^\S+ (\S+) / - cache_dir = Regexp.last_match(1) - end - - file "#{cache_dir}/rock" do - action :delete - backup false - end - end - - package "squid" do - action :upgrade - end -end - package "rsync" template "/etc/logrotate.d/squid" do