Module: KnifeSolo::Bootstraps::Delegates

Included in:
Base
Defined in:
lib/knife-solo/bootstraps.rb

Instance Method Summary collapse

Instance Method Details

#chef_versionObject



38
39
40
# File 'lib/knife-solo/bootstraps.rb', line 38

def chef_version
  prepare.chef_version
end

#prepareObject



42
43
44
# File 'lib/knife-solo/bootstraps.rb', line 42

def prepare
  @prepare
end

#run_command(cmd) ⇒ Object



30
31
32
# File 'lib/knife-solo/bootstraps.rb', line 30

def run_command(cmd)
  prepare.run_command(cmd)
end

#stream_command(cmd) ⇒ Object



26
27
28
# File 'lib/knife-solo/bootstraps.rb', line 26

def stream_command(cmd)
  prepare.stream_command(cmd)
end

#uiObject



34
35
36
# File 'lib/knife-solo/bootstraps.rb', line 34

def ui
  prepare.ui
end