]> git.openstreetmap.org Git - chef.git/commitdiff
Configure host name for squid caches
authorTom Hughes <tom@compton.nu>
Sun, 9 Jun 2019 20:31:15 +0000 (21:31 +0100)
committerTom Hughes <tom@compton.nu>
Sun, 9 Jun 2019 20:31:15 +0000 (21:31 +0100)
cookbooks/squid/templates/default/squid.conf.erb

index a2f38b73ffb6325f827346a352a12219d1b5397b..0b8189d3308cb8e38ca810c4e6a03bc79e7bfff9 100644 (file)
@@ -1,5 +1,8 @@
 # DO NOT EDIT - This file is being maintained by Chef
 
+#configure host name
+visible_hostname <%= node.name %>
+
 #FIXME - configurable
 cache_mem  <%= node[:squid][:cache_mem] %>