Module: Knife::Clc::Bootstrap

Included in:
Chef::Knife::ClcServerCreate
Defined in:
lib/knife-clc/bootstrap.rb,
lib/knife-clc/bootstrap/validator.rb,
lib/knife-clc/bootstrap/bootstrapper.rb,
lib/knife-clc/bootstrap/config_options.rb,
lib/knife-clc/bootstrap/subcommand_loader.rb,
lib/knife-clc/bootstrap/methods/sync_linux_ssh.rb,
lib/knife-clc/bootstrap/methods/sync_windows_winrm.rb,
lib/knife-clc/bootstrap/methods/async_linux_package.rb,
lib/knife-clc/bootstrap/methods/async_windows_package.rb

Defined Under Namespace

Modules: Methods Classes: Bootstrapper, ConfigOptions, SubcommandLoader, Validator

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(command_class) ⇒ Object



7
8
9
# File 'lib/knife-clc/bootstrap.rb', line 7

def self.included(command_class)
  ConfigOptions.attach(command_class)
end

Instance Method Details

#bootstrapperObject



11
12
13
14
15
16
17
# File 'lib/knife-clc/bootstrap.rb', line 11

def bootstrapper
  @bootstrapper = Bootstrapper.new(
    :cloud_adapter => cloud_adapter,
    :config => config,
    :errors => errors
  )
end