sethvargo/chef-sugar — pull request #82 by johnbellone (2014-12-18 20:01:38+00:00)
Title: WIP: Add helper methods data_bag!, data_bag_item! to DSL.

/cc @sethvargo
Would you be interested in this PR? I'll build out tests and other methods, but I wanted to run by you first.

These methods will create a data bag (or item) if it does not exist
already and return the empty bag. This makes for much easier recipe
reading without begin/rescue blocks.