# File lib/chef/shef/shef_session.rb, line 271
    def rebuild_node
      # Make sure the client knows this is not chef solo
      Chef::Config[:solo] = false
      @client = DoppelGangerClient.new(@node_name)
      @client.run_ohai
      @client.register
      @client.build_node

      @client.sync_cookbooks
    end