# File lib/hammer_cli_import/configfile.rb, line 61 def first_time_only unless option_delete? # Load interview-answers @interview_answers = YAML.load_file(option_answers_file) @interview_answers['Y'] = 'Y' # Load macro-mappings if File.exist? option_macro_mapping @macros = YAML.load_file(option_macro_mapping) else @macros = {} warn "Macro-mapping file #{option_macro_mapping} not found, no puppet-facts will be assigned" end # Create the puppet-working-directory Dir.mkdir option_working_directory unless File.directory? option_working_directory end return 'loaded' end