# File lib/chef/provider/file.rb, line 64
      def set_content
        unless compare_content
          Chef::Log.info("Setting content for #{@new_resource}")
          backup @new_resource.path if ::File.exists?(@new_resource.path)
          ::File.open(@new_resource.path, "w") {|f| f.write @new_resource.content }
          @new_resource.updated_by_last_action(true)
        end
      end