lib/chef-workflow/support/vm/knife.rb
#
# Deprovisions the server group. Runs node delete and client delete on all
# nodes that were created by this provisioner.
#
Deprovisions the server group. Runs node delete and client delete on all
nodes that were created by this provisioner.
Deprovisions the server group . Runs node delete and client delete on all nodes that were created by this provisioner .
def shutdown
    t = []
    @node_names.each do |node_name|
      t.push(
        Thread.new do
          client_delete(node_name)
          node_delete(node_name)
        end
      )
    end
    t.each(&:join)
    return true
  end
def shutdown t = [ ] @node_names . each do | node_name | t . push ( Thread . new do client_delete ( node_name ) node_delete ( node_name ) end ) end t . each ( & :join ) return true end
Deprovisions the server group.
Deprovisions the server group .