[chef] Re: Using remote_file issue with file://


Chronological Thread 
  • From: "Julian C. Dunn" < >
  • To: " " < >
  • Subject: [chef] Re: Using remote_file issue with file://
  • Date: Sat, 18 Jul 2015 18:06:07 -0400

On Fri, Jul 17, 2015 at 12:48 PM, Kiril Ilyev 
< >
 wrote:

> the following snippet doesn't seem to work properly:
>
> default[:aem][:download_url] = 'file:///my/path/to/my/file.jar'
>
>   remote_jar_name = "aem-quickstart-#{node[:aem][:version]}.jar"
>   remote_file "#{Chef::Config[:file_cache_path]}/#{remote_jar_name}" do
>     source "#{vars[:download_url]}"
>     mode "0755"
>     action :create_if_missing
>   end
>
> Can you please advice.

What do you mean "doesn't work properly"? What error do you get?

> Moreover when I use a http://adress behind an authenticated form I can't
> find the way to provide the username password. This issue
> https://tickets.opscode.com/browse/CHEF-3786 seems to provide this
> functionality but I can't find how to use it.

DId you try 
http://user: /
 ?

- Julian


-- 
[ Julian C. Dunn 
< >
          * Sorry, I'm    ]
[ WWW: http://www.aquezada.com/staff/julian    * only Web 1.0  ;]
gopher://sdf.org/1/users/keymaker/           * compliant!    ;]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9       ]



Archive powered by MHonArc 2.6.16.

§