Hi Team,

In my environment file, I have defined an attribute say ['app']['web'] = 'nginx' and in another environment file ['app']['web'] = 'apache'

My intention is to create a recipe which will run on any environment. Inside the recipe I'm defining one attribute. So while running this recipe in the first environment i want define node.default['cluster']['nginx']['endpoint'] and in second environment it should be node.default['cluster']['apache']['endpoint']

I used the following

But this is not working. Is there any way I can achieve this ?