- From: Alexander Skwar <
>
- To:
- Subject: [chef] How to NOT run a complete recipe?
- Date: Tue, 29 Sep 2015 16:10:39 +0200
Hello
Using chef-solo and Chef 11.8.2, how do I "exit out" of a recipe?
Basically, I'd like to have something like:
if env['skip']
leave recipe
end
And "env['skip']" should check the environment variable "skip". If it's set, the recipe shouldn't be run.
How can I do that?
Thanks a lot and best regards,
Alexander
- [chef] How to NOT run a complete recipe?, Alexander Skwar, 09/29/2015
Archive powered by MHonArc 2.6.16.