Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Merging Hiera files From mulitiple Environments

Hello,

I would like to merge a few puppet environments in to 2 : "production", "development". The environments/ modules /sites aspects of this merge are fine, but i am having difficulty with the Hiera data.

We have hiera data that applies to an entire environment and i am looking for an alternate way of doing. ex: envs: test, preprod, prod desired envs: prod, test How does one merge the hiera data from preprod into the prod heira yaml file and still have it only apply to the pre prod servers?