[chef] Re: Re: Re: Re: Re: Re: cron


Chronological Thread 
  • From: Mike < >
  • To: " " < >
  • Subject: [chef] Re: Re: Re: Re: Re: Re: cron
  • Date: Wed, 4 Sep 2013 15:24:46 -0400

Nope, as Morgan pointed out, look at the behavior of the cookbook_file resource and understand where the resource will look for the file (within the files/ subdir in your cookbook).
-M


On Wed, Sep 4, 2013 at 3:20 PM, Nikhil Shah < " target="_blank"> > wrote:
Is the below section actually taking the script from your /tmp folder and uploading it to the server in the /tmp directory?


Nikhil Shah  System Administrator

The Orchard® / www.theorchard.com

23 E. 4th St., 3rd Fl / New York, NY 10003

The Daily Rind™ / www.dailyrindblog.com
Facebook / @orchtweets

Privileged And Confidential Communication.
This electronic transmission, and any documents attached hereto, (a) are protected by the Electronic Communications Privacy Act (18 USC §§ 2510-2521), (b) may contain confidential and/or legally privileged information, and (c) are for the sole use of the intended recipient named above. If you have received this electronic message in error, please notify the sender and delete the electronic message. Any disclosure, copying, distribution, or use of the contents of the information received in error is strictly prohibited.
 


cookbook_file '/tmp/my_special_script.sh' do
  mode 00755
end






Archive powered by MHonArc 2.6.16.

§