]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/squid/recipes/default.rb
Disable IPv6 for all squid instances
[chef.git] / cookbooks / squid / recipes / default.rb
index e3faae46be9c2cf15ca9fbace7964a4e28d4cb67..c2bd5b834c6b5e49b56f188de7c8f09df3b6adc5 100644 (file)
@@ -1,8 +1,8 @@
 #
-# Cookbook Name:: squid
+# Cookbook:: squid
 # Recipe:: default
 #
-# Copyright 2011, OpenStreetMap Foundation
+# Copyright:: 2011, OpenStreetMap Foundation
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -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"