# File lib/simp/cli/config/items/action/warn_lockout_risk_action.rb, line 75 def apply warn( "\nWARNING: #{@warning_message_brief}", [:RED] ) warn( "See #{Simp::Cli::BOOTSTRAP_START_LOCK_FILE} for details", [:RED] ) # append/create file that will prevent bootstrap from running until problem # is fixed FileUtils.mkdir_p(File.expand_path(File.dirname(@warning_file))) File.open(@warning_file, 'a') do |file| file.write @warning_message end @applied_status = :failed end