[chef] Order of Execution of resources in a cookbook


Chronological Thread 
  • From: < >
  • To:
  • Subject: [chef] Order of Execution of resources in a cookbook
  • Date: Mon, 10 Feb 2014 08:41:53 -0800 (PST)

Hi Folks,

I have a cookbook (to be run on a windows node) that has  multiple "script" 
and
"powershell_script" resources defined in the order I want them to be executed.
I am logging to a text file within each resource. The log shows that the
resources are not being executed in the order they are written in the 
cookbook?
Is it an expected behavior? If so, is there a way to force them to run in a
particular order?

Thanks

-Kapil



Archive powered by MHonArc 2.6.16.

§