Working on puppetising Squid proxy at Open Answers, I deployed a standard Squid configuration with a hiera node YAML file on some stage of the deployment process. Eventually, to keep our company standards, I transferred Squid configuration into a customised module, and left the ability to overwrite the settings provided by module just for the YAML file.