If a resource is sensitive, it’s redacted from logs.
Refactor
fixes CHEF-4639
fixed 1.8.7 incompatability issue; removed `pry` import
Merge remote-tracking branch 'goodmanio/CHEF-4639' into CHEF-4639-updated
Restore checksums in the output.
Merge pull request #1220 from opscode/CHEF-4639-updated

CHEF-4639: writing credentials files with `file` or `template` may leak credentials in diffs