- From: Carlos Camacho <
>
- To: "
" <
>
- Subject: [chef] Recipes execution order
- Date: Tue, 10 Jun 2014 10:18:48 +0200
Hello!!!
I'm trying to do some research on how evaluate chef recipes when they
are executed.
For example:
I have a lot of recipes inside my Apache2 cookbook.
default.rb
god_monitor.rb
iptables.rb
logrotate.rb
...
...
...
Is there a way to establish a weight for the recipes order??..
A) default.rb -> god_monitor.rb -> iptables.rb -> logrotate.rb = 2.3
B) default.rb -> iptables.rb -> god_monitor.rb -> logrotate.rb = 3.6
C) logrotate.rb -> default.rb -> god_monitor.rb -> iptables.rb = 1
D) default.rb -> god_monitor.rb -> iptables.rb -> logrotate.rb = 6.1
In this case is better to execute D than, B than, A than C.
Cheers!
- [chef] Recipes execution order, Carlos Camacho, 06/10/2014
Archive powered by MHonArc 2.6.16.