From 792c1eb95437d9d532eeb83832152a8cd5fd1811 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 9 Jun 2019 21:31:15 +0100 Subject: [PATCH 1/1] Configure host name for squid caches --- cookbooks/squid/templates/default/squid.conf.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cookbooks/squid/templates/default/squid.conf.erb b/cookbooks/squid/templates/default/squid.conf.erb index a2f38b73f..0b8189d33 100644 --- a/cookbooks/squid/templates/default/squid.conf.erb +++ b/cookbooks/squid/templates/default/squid.conf.erb @@ -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] %> -- 2.39.5