[chef-dev] Resource requirements for an Idempotent resource


Chronological Thread 
  • From: Kishore S Kumar < >
  • To: chef-dev < >
  • Subject: [chef-dev] Resource requirements for an Idempotent resource
  • Date: Mon, 10 Dec 2012 11:55:48 +0530

Hi,

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.

Thanks
Kishore



Archive powered by MHonArc 2.6.16.

§