    # File lib/chef/shef/shef_session.rb, line 255
        def assume_identity(node_name)
          Chef::Config[:doppelganger] = @node_name = node_name
          reset!
        rescue Exception => e
          puts "#{e.class.name}: #{e.message}"
          puts Array(e.backtrace).join("\n")
          puts
          puts "* " * 40
          puts "failed to assume the identity of node '#{node_name}', resetting"
          puts "* " * 40
          puts
          Chef::Config[:doppelganger] = false
          @node_built = false
          Shef.session
        end