lib/chef-workflow/support/vm/knife.rb
#
# Runs the provisioner. Accepts an array of IP addresses as its first
# argument, intended to be provided by provisioners that ran before it as
# their return value.
#
# Will raise if the IPs are not supplied or the provisioner is not named with
# a server group.
#
Runs the provisioner. Accepts an array of IP addresses as its first
argument, intended to be provided by provisioners that ran before it as
their return value.

Will raise if the IPs are not supplied or the provisioner is not named with
a server group.
Runs the provisioner . Accepts an array of IP addresses as its first argument intended to be provided by provisioners that ran before it as their return value . Will raise if the IPs are not supplied or the provisioner is not named with a server group .
def startup(*args)
    @ips = args.first.first 
    raise "This provisioner is unnamed, cannot continue" unless name
    raise "This provisioner requires ip addresses which were not supplied" unless ips
    t = []
    ips.each_with_index do |ip, index|
      node_name = "#{name}-#{index}"
      @node_names.push(node_name)
      t.push bootstrap(node_name, ip)
    end
    t.each(&:join)
    return check_nodes
  end
def startup ( * args ) @ips = args . first . first raise "This provisioner is unnamed, cannot continue" unless name raise "This provisioner requires ip addresses which were not supplied" unless ips t = [ ] ips . each_with_index do | ip , index | node_name = "#{name}-#{index}" @node_names . push ( node_name ) t . push bootstrap ( node_name , ip ) end t . each ( & :join ) return check_nodes end
Runs the provisioner.
Runs the provisioner .
#argh
args
<not_specific>