Method: Chef::Application::LXC#run_application

Defined in:
lib/chef/application/lxc.rb

#run_applicationObject



89
90
91
92
93
94
95
96
97
98
99
100
# File 'lib/chef/application/lxc.rb', line 89

def run_application
  begin
    parse_options
    run_chef_recipe
    Chef::Application.exit! "Exiting", 0
  rescue SystemExit => e
    raise
  rescue Exception => e
    Chef::Application.debug_stacktrace(e)
    Chef::Application.fatal!("#{e.class}: #{e.message}", 1)
  end
end