We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bda3d42 commit a46ccf3Copy full SHA for a46ccf3
providers/file.rb
@@ -78,6 +78,7 @@ def load_current_resource
78
end
79
else
80
remote_file_resource.run_action(:create)
81
+ run_proc :after_download unless ::File.exist?(new_resource.path) && checksum_valid?
82
83
raise Chef::Artifact::ArtifactChecksumError unless checksum_valid?
84
write_checksum if Chef::Artifact.from_nexus?(file_location) || Chef::Artifact.from_s3?(file_location)
0 commit comments