opscode/chef — pull request #951 by jeremiahsnapp (2013-08-15 19:18:23+00:00)
Title: CHEF-4435 Make Chef::DataBag.save use POST instead of PUT

PUT doesn't make sense in DataBag context since you can't update a data bag.

Chef::DataBag.save should rescue a 409 response since that indicates the data
bag already exists.