Get all node template configuration
I am trying to understand if there is any method by which I can perform a select node to dump/download configurations (erb templates completed) that is specific to other nodes?
Usecase: I want to log onto a Dev server and download the production httpd.conf for server X which is defined as a template erb. This working configuration would be made available in /tmp/serverX/httpd.conf.
This will basically provide an alternative to perform package management of configurations for each node type as preferred. This is an off-case requirement to use puppet to get the expected configurations.
Can you recommend steps to acheive this in some form or fashion?