DEFAULT_ANSWERS_OUTFILE |
= |
File.join(SIMP_CLI_HOME, 'simp_conf.yaml') |
DEFAULT_HIERA_OUTFILE |
= |
"#{::Utils.puppet_info[:simp_environment_path]}/hieradata/simp_config_settings.yaml" |
SIMP_CONFIG_DEFAULT_OPTIONS |
= |
{ :verbose => 0, :noninteractive => 0, # TODO: between these two, we should choose better names :dry_run => false, :scenario => nil, :answers_input_file => nil, :answers_output_file => File.expand_path( DEFAULT_ANSWERS_OUTFILE ), :puppet_system_file => File.expand_path( DEFAULT_HIERA_OUTFILE ), :use_safety_save => true, :autoaccept_safety_save => false, :fail_on_missing_answers => false |
INTRO_TEXT |
= |
<<EOM #{'='*80} `simp config` will take you through preparing your infrastructure for bootstrap based on a pre-defined SIMP scenario. These preparations include optional and required general system setup and required Puppet configuration. All changes will be logged to EOM |