Hello guys,
Today I had a discussion with my colleagues regarding the creation of a chef recipe to deploy a microservice which has a bit different config file based on which team will use it.
My approach is the chef standard one. There should be only one recipe and the deploy should be different based on nodes/environments/tags or some other attributes.
My colleagues opinion is that we should have a recipe for each team (there are two) so there will be no ifs in the recipe and more than that, the two recipes will have slightly different configs as well.
I need some strong motivation to keep only one recipe and I seems to lack the power of conviction.
Could you help me up, please?
I know that maybe this is not the best place to ask for advices like this, but I thought that I might ask.
Thank you,
Gabriel