[chef-dev] Re: Resource requirements for an Idempotent resource


Chronological Thread 
  • From: Bryan McLellan < >
  • To: Kishore S Kumar < >
  • Cc: chef-dev < >
  • Subject: [chef-dev] Re: Resource requirements for an Idempotent resource
  • Date: Mon, 10 Dec 2012 12:36:46 -0500

On Mon, Dec 10, 2012 at 1:25 AM, Kishore S Kumar < " target="_blank"> > wrote:
I'm trying to understand how resource requirements work with idempotent resource. Can someone help me. Currently I have a idempotent resource which say install a software unless it is already installed. I have resource requirement assertion set for the action which fail if the installer does not exist.
What should have happened  when I try to run the recipe on a node where the software is already installed(idempotency) and the installer does not exist(resource requirements failed). 

right now the recipe fails saying the resource requirements failure.

Any chance you could provide the recipe via http://gist.github.com?

Bryan 



Archive powered by MHonArc 2.6.16.

§