diff --git a/libraries/provider_install.rb b/libraries/provider_install.rb index 3d86ae2dc..5ae3d62d9 100644 --- a/libraries/provider_install.rb +++ b/libraries/provider_install.rb @@ -44,6 +44,10 @@ def install_package_wrapper_action checksum = determine_download_checksum(new_resource, node) package_options = new_resource.package_options + unless checksum + Chef::Log.warn("No checksum was provided for #{download_url}, this may download a new package on every chef run!") + end + remote_file_r = remote_file "#{Chef::Config[:file_cache_path]}/#{filename}" do source download_url checksum checksum