diff --git a/providers/file.rb b/providers/file.rb index c6b3265..9f1fadf 100644 --- a/providers/file.rb +++ b/providers/file.rb @@ -78,6 +78,7 @@ def load_current_resource end else remote_file_resource.run_action(:create) + run_proc :after_download if @remote_file_resource.updated_by_last_action? end raise Chef::Artifact::ArtifactChecksumError unless checksum_valid? write_checksum if Chef::Artifact.from_nexus?(file_location) || Chef::Artifact.from_s3?(file_location)