Class: ChefDK::Command::Exec

Inherits:
Base
  • Object
show all
Defined in:
lib/chef-dk/command/exec.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize, #needs_help?, #needs_version?, #run_with_default_options

Methods included from Helpers

#err, #msg, #omnibus_apps_dir, #omnibus_bin_dir, #omnibus_embedded_bin_dir, #omnibus_root, #stderr, #stdout, #system_command

Constructor Details

This class inherits a constructor from ChefDK::Command::Base

Instance Method Details

#run(params) ⇒ Object



26
27
28
29
# File 'lib/chef-dk/command/exec.rb', line 26

def run(params)
  exec omnibus_env, *params
  raise "Exec failed without an exception, your ruby is buggy"  # should never get here
end