RiotGames/artifact-cookbook — pull request #18 by KAllan357 (2012-10-31 00:37:48+00:00)
Title: retrieve_from_http redownloads the artifact every time

An artifact will be redownloaded every time it makes it past the `deployed?` check and into the `retrieve_from_http` method.

Since `retrieve_from_http` uses the `remote_file` resource, add an attribute to the LWRP to pass through a checksum so the artifact won't be redownloaded if it is already there.

Fixes #17