Class: ForemanMaintain::Cli::SelfUpgradeCommand
- Defined in:
- lib/foreman_maintain/cli/self_upgrade_command.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#available_checks, #available_procedures, available_tags, #available_tags, completion_map, completion_types, dashize, #dashize, delete_duplicate_assumeyes_if_any, interactive_option, label_option, #label_string, option, #option_wrapper, parameter, #print_check_info, #reporter, #run_scenario, #run_scenarios_and_exit, service_options, subcommand, #tag_string, tags_option, #underscorize
Methods included from ForemanMaintain::Concerns::Logger
Methods included from ForemanMaintain::Concerns::Finders
#check, #detector, #feature, #find_all_scenarios, #find_checks, #find_procedures, #find_scenarios, #procedure
Instance Method Details
#execute ⇒ Object
7 8 9 |
# File 'lib/foreman_maintain/cli/self_upgrade_command.rb', line 7 def execute run_scenario(upgrade_scenario) end |
#upgrade_scenario ⇒ Object
11 12 13 14 15 |
# File 'lib/foreman_maintain/cli/self_upgrade_command.rb', line 11 def upgrade_scenario Scenarios::SelfUpgrade.new( maintenance_repo_label: maintenance_repo_label ) end |