def remove_node_from_topology(node_name)
      # load then update and save the node
      node = Chef::Node.load(node_name)

      if node['topo'] && node['topo']['name'] == @topo_name
        node.rm('topo', 'name')
        ui.info "Removing node #{node.name} from topology"
        node.save
      end
      node

    rescue Net::HTTPServerException => e
      raise unless e.to_s =~ /^404/
      # Node has not been created
    end
def remove_node_from_topology(node_name)
      # load then update and save the node
      node = Chef::Node.load(node_name)

      if node['topo'] && node['topo']['name'] == @topo_name
        node.rm('topo', 'name')
        ui.info "Removing node #{node.name} from topology"
        node.save
      end
      node

    rescue Net::HTTPServerException => e
      raise unless e.to_s =~ /^404/
      # Node has not been created
    end
Remove the topo name attribute from all nodes, so topo search
 knows they are not in the topology