# File lib/chef/expander/cluster_supervisor.rb, line 60 def start trap(:INT) { stop(:INT) } trap(:TERM) { stop(:TERM)} Expander.init_config(ARGV) log.info("Chef Expander #{Expander.version} starting cluster with #{Expander.config.node_count} nodes") configure_process start_workers maintain_workers release_locks rescue Configuration::InvalidConfiguration => e log.fatal {"Configuration Error: " + e.message} exit(2) rescue Exception => e raise if SystemExit === e log.fatal {e} exit(1) end