I have templates with variables. these variables are in databags and and depend on the environment. Example:
# Template
address =$foo
# Environment:
develoment
# Databag:
$foo = "sdfsdf"
How do I combine all of that?, I don't know where to put the information.
In template
address = "Http://ffff/dfg/"
I need to put here a variable
address = $pepe
In my databag in have the following data depending on the environment:
$pepe = "Http://ffff/dfg/"
$pepep ="Http://ffff/dewrwerw/
I don't know what I should write in the recipe.