lib/kafo/configuration.rb in kafo-0.2.0 vs lib/kafo/configuration.rb in kafo-0.2.1

- old
+ new

@@ -74,9 +74,11 @@ @params_default_values ||= begin @logger.info "Parsing default values from puppet modules..." command = PuppetCommand.new("#{includes} dump_values(#{params})").append('2>&1').command @logger.debug `#{command}` unless $?.exitstatus == 0 + log = app[:log_dir] + '/' + app[:log_name] + puts "Could not get default values, check log file at #{log} for more information" @logger.error "Could not get default values, cannot continue" KafoConfigure.exit(:defaults_error) end @logger.info "... finished" YAML.load_file(File.join(KafoConfigure.config.app[:default_values_dir], 'default_values.yaml'))