- From: Igor Serebryany <
>
- To:
- Subject: [chef] libraries loaded twice?
- Date: Tue, 26 Nov 2013 14:08:07 -0800
I was under the impression that:
* libraries are only loaded once, when the cookbook is evaluated
* each cookbook is evaluated only once
however, i recently ran into a problem where my library code was running twice because:
* my cookbook was both included in a role's run_list
* a different cookbook in that run list explicitly depended on that cookbook
this is using chef-solo 11.4.0. is this a bug in chef? or am i missing something?
--igor
- [chef] libraries loaded twice?, Igor Serebryany, 11/26/2013
Archive powered by MHonArc 2.6.16.