    # File lib/chef/data_bag.rb, line 197
        def save
          begin
            if Chef::Config[:why_run]
              Chef::Log.warn("In whyrun mode, so NOT performing data bag save.")
            else
              chef_server_rest.put_rest("data/#{@name}", self)
            end
          rescue Net::HTTPServerException => e
            raise e unless e.response.code == "404"
            chef_server_rest.post_rest("data", self)
          end
          self
        end