lib/chef/fork/commands/bootstrap.rb in chef-fork-0.1.0 vs lib/chef/fork/commands/bootstrap.rb in chef-fork-0.1.1

- old
+ new

@@ -11,13 +11,14 @@ class Chef class Fork module Commands class Bootstrap < Ssh def run(args=[]) - rest = optparse.order(args) - hostname = rest.shift - command = bootstrap_command() - ssh(hostname, [command]) + rest = optparse.parse(args) + if hostname = rest.shift + command = bootstrap_command() + ssh(hostname, [command]) + end end private def define_options super