[chef] cookbok file-- copy only if new


Chronological Thread 
  • From: Manoj Thakkar < >
  • To:
  • Subject: [chef] cookbok file-- copy only if new
  • Date: Thu, 12 Sep 2013 11:29:48 -0700

Hi,

This is what i am trying to do, i build my war file and copy it in the chef cookbook files/default folder and then run chef-client on my deployment node assuming it will copy the new file.

My recipe says cookbook file "file_name" ...... , I ma not sure what should i write it in the action statement
As the war file name will always be the same so create or create if missing does not make sense,

Please help.






Archive powered by MHonArc 2.6.16.

§