sebastien / cuisine

Chef-like functionality for Fabric
Other
1.26k stars 158 forks source link

Check if file exist when hash=openssl #207

Closed cgarciaarano closed 7 years ago

cgarciaarano commented 7 years ago

If CUISINE_OPTION_HASH="openssl", file_md5() and file_sha256 fail when the location does not exist, for example, writing a new file with write().

Just added the same checks done when CUISINE_OPTION_HASH="python"

sebastien commented 7 years ago

Thanks!