]> git.openstreetmap.org Git - chef.git/commitdiff
Allow AF_INET6 for squid
authorTom Hughes <tom@compton.nu>
Sun, 24 Nov 2019 22:35:06 +0000 (22:35 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 24 Nov 2019 22:35:06 +0000 (22:35 +0000)
cookbooks/squid/recipes/default.rb

index c2bd5b834c6b5e49b56f188de7c8f09df3b6adc5..72aeb41cfb78e31d118d9df4c283f7359a8e3d2d 100644 (file)
@@ -85,9 +85,7 @@ systemd_tmpfile "/var/run/squid" do
   mode "0755"
 end
 
-address_families = %w[AF_UNIX AF_INET]
-
-# address_families << "AF_INET6" unless node.interfaces(:family => :inet6).empty?
+address_families = %w[AF_UNIX AF_INET AF_INET6]
 
 systemd_service "squid" do
   description "Squid caching proxy"