I was reading puppet doc for environment and want clarification in this particular statement:

When that node requests a catalog from the master, it requests that environment. If you are using an ENC and it specifies an environment for that node, it overrides whatever is in the config file.

Does this mean even if my node is asking for catalog from production env, if the same node is present is another env, master will assign the catalog to node?? As per my knowledge it should give error.


1 Answer 1


By default, the node cannot know about the ENC, since it is external to the node and it's agent. What this is saying is that if you are using an ENC on the Master, it doesn't matter what environment you set in your node's puppet.conf file, it will send the catalog defined by the ENC.

From the page you linked to: "Note: The value from the ENC is authoritative, if it exists. If the ENC doesn’t specify an environment, the node’s config value is used."


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .