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.