opscode/chef — pull request #1428 by zhirafovod (2014-05-12 16:48:04+00:00)
Title: CHEF-5098 fix sensitive data output on failure

provide a way to supprese sensitive attribute for a resource
* add sensitive attribute to the resource class
* fix output in resource_failure_inspector if sensitive attribute set
* add spec tests for resource

fix implementation based on PR #1371 reivew (PR is broken by a rebase from a wrong branch)
* suppres to_text ouptut if sensitive attribute set in resource
* remove rescue of unset sentitive attribute in resource_failure_inspecto