[chef] Re: execute a scripts included in the cookbook


Chronological Thread 
  • From: Ranjib Dey < >
  • To:
  • Subject: [chef] Re: execute a scripts included in the cookbook
  • Date: Fri, 12 Jul 2013 07:04:22 -0700

yes you can, you can use the cookbook_file to dirstribute/install the script in a location  (say /usr/local/foo) and use the execute  resource to invoke it (execute "/usr/local/foo"),



On Fri, Jul 12, 2013 at 6:52 AM, Florian Hehlen < " target="_blank"> > wrote:

HI,

 

I would like to include a native script and execute it from a recipe rather than in-lining it into the recipe.

 

Is this possiblem

 

Cheers,

Florian



LEGAL DISCLAIMER
This communication and any attached documents are strictly confidential and/or legally privileged and they may not be used or disclosed by someone who is not a named recipient. If you have received this electronic communication in error please notify the sender by replying to this electronic communication inserting the word "misdirected" as the subject and delete this communication from your system.





Archive powered by MHonArc 2.6.16.

§