# File lib/rhc/wizard.rb, line 432 def initialize(config, login=nil) super(config, login) end
# File lib/rhc/wizard.rb, line 436 def create_config_stage if File.exists? @config_path backup = "#{@config_path}.bak" paragraph do say "Configuration file #{@config_path} already exists, " "backing up to #{backup}" end FileUtils.cp(@config_path, backup) FileUtils.rm(@config_path) end super true end
# File lib/rhc/wizard.rb, line 450 def finalize_stage paragraph do say "Thank you for setting up your system. You can rerun this at any time " "by calling 'rhc setup'." end true end