Puppet source file trick

The source parameter in the file type can take an array and will match on the first file present. I find this useful for overriding configs for specific hosts without having to change any puppet code. Puppet will search first for ${fqdn}.nginx.conf if that file does not exist then it Read more…