I have a chef system where we have multiple environments and have attributes set in evironment JSON.
I'm having trouble accessing these from within cookbook attribute files and recipes.
What does your environment file look like? Are you setting default or override attributes? If you're setting default, note that is a fairly low priority level in the attributes chain, so it might be overridden by a recipe, or a role.
The precedence of the attributes is as follows, from low to high:
The correct order is now, as taken from the chef documentation site: