Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-42704

Improve the installer's --reset parameter mechanism

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • 6.20.0
    • None
    • Installation
    • None
    • False
    • Satellite Rocket Refinement
    • sat-rocket
    • None
    • None
    • None
    • None

      Problem Statement

      Currently, every parameter has it's own counterparts with --reset prefix. That clutters the output of foremanctl --help output as these parameters are not very helpful. Instead, it would be nicer to have only one --reset parameter, that would accept a parameter of which parameter should be reset.

      User Experience & Workflow

      Resetting a single parameter

      foremanctl --reset initial_admin_password
      

      Resetting multiple parameters:

      foremanctl --reset initial_admin_password,default_organization_name
      

      Or

      foremanctl --reset initial_admin_password --reset default_organization_name
      

      Requirements

      foremanctl --help does not print more than 1 --reset parameter

      Business Impact

      The user experience would remain bad. The old installer had these hidden as advanced parameters, so it was not that bad. Foremanctl does not have such concept yet.

      Open questions

      • Should the user pass --reset once and join the parameters with commas or pass --reset once for every parameter to be reset?

              Unassigned Unassigned
              rhn-engineering-mhulan Marek Hulan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: