I tried that. In my case, the user account is a domain account so this is how my resource looks like
remote_file "Download Install File" do source "ftp://domain\\user: //install.exe" path "C:\\Temp\\install.exe" end
It does not like the value of source attribute. I also tried using "> format too but chef-client resulted in same error.
Following is the error:
FATAL: Chef::Exceptions::InvalidRemoteFileURI: <URI> is not a valid source parameter for remote_file. Source must be an absolute URI or an array of URIs.
Thanks
-Kapil
From: Sölvi Páll Ásgeirsson [mailto:
Hi
It looks like it (https://github.com/opscode/chef/blob/master/lib/chef/provider/remote_file/ftp.rb and https://github.com/opscode/chef/blob/master/lib/chef/provider/remote_file/content.rb) Have you tried setting the uri to " ">ftp://USER: " ?
Sölvi
On Tue, Mar 11, 2014 at 5:57 PM, Kapil Shardha < " target="_blank"> > wrote:
This email and any accompanying documents may contain privileged or otherwise confidential information of, and/or is the property of Education Management Solutions, Inc. If you are not the intended recipient, please immediately advise the sender by reply email & delete the message & any attachments without using, copying or disclosing the contents. Thank you. |
Archive powered by MHonArc 2.6.16.