Class: Chef::Fork::Commands::Bootstrap
- Defined in:
- lib/chef/fork/commands/bootstrap.rb
Instance Method Summary collapse
Methods inherited from Noop
Constructor Details
This class inherits a constructor from Chef::Fork::Commands::Noop
Instance Method Details
#run(args = []) ⇒ Object
17 18 19 20 21 22 23 |
# File 'lib/chef/fork/commands/bootstrap.rb', line 17 def run(args=[]) rest = parse_args(args) if hostname = rest.shift command = bootstrap_command() ssh(hostname, [command]) end end |