have you tested this? im not sure if this will work on environment definitions. Definitely works for roles, and inside role definition.
On Jun 24, 2013 2:23 AM, "Jeppe Nejsum Madsen" <
" target="_blank">
> wrote:
/JeppeIn addition what will the recipe order be in the final run_list?Basically I don't understand why I need to specify the environment again when I'm already in e.g. the preprod.rb env file?What happens if I also specify something (by mistake) in e.g. prod:If I need to specify a default recipe to run on e.g. the preprod env:Ohai,Reading up on environments and env_run_lists I feel like I'm missing something.
preprod.rb:
env_run_lists "preprod" => ["recipe[myrecipe]"],
"_default" => []
preprod.rb:
env_run_lists "preprod" => ["recipe[myotherrecipe]"],
"_default" => []
Archive powered by MHonArc 2.6.16.