Skip to content

Commit

Permalink
Removing superfluous old steps from cluster_launch
Browse files Browse the repository at this point in the history
  • Loading branch information
temujin9 committed Oct 10, 2012
1 parent 7923ada commit 5be682d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions lib/chef/knife/cluster_launch.rb
Expand Up @@ -87,30 +87,21 @@ def run
Ironfan.step(computer.name, 'launching', :white)
perform_after_launch_tasks(computer)
end
# progressbar_for_threads(watcher_threads)

display(target)
end

def perform_after_launch_tasks(computer)
Ironfan.step(computer.name, 'waiting for ready', :white)
# Wait for machine creation on amazon side
# server.fog_server.wait_for{ ready? }
computer.machine.wait_for{ ready? }

# Try SSH
unless config[:dry_run]
Ironfan.step(computer.name, 'trying ssh', :white)
# nil until tcp_test_ssh(server.fog_server.dns_name){ sleep @initial_sleep_delay ||= 10 }
nil until tcp_test_ssh(computer.machine.dns_name){ sleep @initial_sleep_delay ||= 10 }
end

# # Make sure our list of volumes is accurate
# Ironfan.fetch_fog_volumes
# server.discover_volumes!

# Attach volumes, etc
# server.sync_to_cloud
Ironfan.step(computer.name, 'final provisioning', :white)
computer.save

Expand Down

0 comments on commit 5be682d

Please sign in to comment.