voxpupuli / puppet-squid

Puppet module for configuration of squid caching proxy.
https://forge.puppet.com/puppet/squid
Other
12 stars 54 forks source link

no option for squid configuration directive 'hosts_file' #165

Closed taleintervenor closed 3 months ago

taleintervenor commented 3 years ago

Affected Puppet, Ruby, OS and module versions/distributions

Problem

according to squid official doc: http://www.squid-cache.org/Doc/config/hosts_file/ , directive 'hosts_file' need to be set in order to use the local hosts file. But this puppet module didn't provide option to set this directive.

traylenator commented 3 years ago

Not against adding an option but the docs to me suggest that

hosts_file /etc/hosts

is the default anyway, so unless you want to use an alternate location I don't think it is needed ?