[chef] resource dependency for running bash


Chronological Thread 
  • From: Manoj Thakkar < >
  • To:
  • Subject: [chef] resource dependency for running bash
  • Date: Tue, 10 Sep 2013 21:35:08 -0700

Hi All,

I have a recipe which copies a remote file and then run a shell script,

The issue is that even if there is no new file added in the remote location , when i run chef client it runs the bash script.

How do i add the dependency on that file resource for that bash script , so that the script is not run if the file copied is not a new one.

Thanks
Manoj




Archive powered by MHonArc 2.6.16.

§