]> git.openstreetmap.org Git - chef.git/commitdiff
Disable IPv6 for all squid instances
authorTom Hughes <tom@compton.nu>
Sat, 12 Oct 2019 10:46:15 +0000 (11:46 +0100)
committerTom Hughes <tom@compton.nu>
Sat, 12 Oct 2019 10:46:15 +0000 (11:46 +0100)
cookbooks/squid/recipes/default.rb

index 53e54b480280215f0c8789483877308eae38afa2..c2bd5b834c6b5e49b56f188de7c8f09df3b6adc5 100644 (file)
@@ -87,7 +87,7 @@ end
 
 address_families = %w[AF_UNIX AF_INET]
 
-address_families << "AF_INET6" unless node.interfaces(:family => :inet6).empty?
+address_families << "AF_INET6" unless node.interfaces(:family => :inet6).empty?
 
 systemd_service "squid" do
   description "Squid caching proxy"