You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
http.rb will download and install the package on every chef run. It should only try to install the package if it is not already installed. Probably want to use chef only_if
remote_file "#{Chef::Config[:file_cache_path]}/#{pkg}" do
source url
end
package pkg do
options package_options
source "#{Chef::Config[:file_cache_path]}/#{pkg}"
end
The text was updated successfully, but these errors were encountered:
I'm not able to repro this. Can you include the debug log output and the chef-version/platform you are seeing this on. Here is what I get with Chef 12.0.3 on Ubuntu 14.04:
Recipe: uchiwa::http
* remote_file[/var/chef/cache/uchiwa_0.5.1-1_amd64.deb] action create (up to date)
* dpkg_package[uchiwa_0.5.1-1_amd64.deb] action install (up to date)
http.rb will download and install the package on every chef run. It should only try to install the package if it is not already installed. Probably want to use chef only_if
remote_file "#{Chef::Config[:file_cache_path]}/#{pkg}" do
source url
end
package pkg do
options package_options
source "#{Chef::Config[:file_cache_path]}/#{pkg}"
end
The text was updated successfully, but these errors were encountered: