puppetlabs-image_build
puppetlabs-image_build copied to clipboard
Updating Dockerfile template to use same factfile name as supplied
This allows the use of structured fact overrides. When we always copy the custom facts file as "custom_facts.txt", it limits us to only string-based facts. When we allow things like .yaml or .json, we can introduce structured fact overrides since we will be placing the file as whatever format the user is feeding in. I think this is more intuitive and makes this tool more powerful.