- From: jfotop <
>
- To:
- Subject: [chef] Maintain object state in chef run
- Date: Thu, 8 Nov 2012 09:55:10 -0800 (PST)
Hi,
I have created a class for one of my cookbooks (in the library directory).
When
I tested it in a recipe, everything worked fine.
When I wanted to use a method from my object (the already initialized object,
not a new one) in a recipe from a different cookbook, later on in the same
run,
the object wasn't available.
Is there any way that I could keep the object state for the whole chef-run?
Or
even for the whole execute phase or compile phase?
Thanks!!
- [chef] Maintain object state in chef run, jfotop, 11/08/2012
Archive powered by MHonArc 2.6.16.