Description of problem: Help for foreman-maintain advanced procedure run packages-update/ packages-install shows two times --assumeyes. Version-Release number of selected component (if applicable): Foreman-maintain 2.0 How reproducible: always Steps to Reproduce: 1. # foreman-maintain advanced procedure run packages-update -h Usage: foreman-maintain advanced procedure run packages-update [OPTIONS] Options: --packages PACKAGES List of packages to update (comma-separated list) --assumeyes ASSUMEYES Do not ask for confirmation -y, --assumeyes Automatically answer yes for all questions -w, --whitelist whitelist Comma-separated list of labels of steps to be ignored -f, --force Force steps that would be skipped as they were already run -h, --help print help 2. # foreman-maintain advanced procedure run packages-install -h Usage: foreman-maintain advanced procedure run packages-install [OPTIONS] Options: --packages PACKAGES List of packages to install (comma-separated list) --assumeyes ASSUMEYES Do not ask for confirmation -y, --assumeyes Automatically answer yes for all questions -w, --whitelist whitelist Comma-separated list of labels of steps to be ignored -f, --force Force steps that would be skipped as they were already run -h, --help print help Actual results: Expected results: Additional info:
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/21320 has been resolved.
VERIFIED Version tested: # rpm -qa | grep maintain rubygem-foreman_maintain-0.2.6-1.el7sat.noarch # foreman-maintain advanced procedure run packages-install -h Usage: foreman-maintain advanced procedure run packages-install [OPTIONS] Options: --packages PACKAGES List of packages to install (comma-separated list) -y, --assumeyes Automatically answer yes for all questions -w, --whitelist whitelist Comma-separated list of labels of steps to be skipped -f, --force Force steps that would be skipped as they were already run -h, --help print help # foreman-maintain advanced procedure run packages-update -h Usage: foreman-maintain advanced procedure run packages-update [OPTIONS] Options: --packages PACKAGES List of packages to update (comma-separated list) -y, --assumeyes Automatically answer yes for all questions -w, --whitelist whitelist Comma-separated list of labels of steps to be skipped -f, --force Force steps that would be skipped as they were already run -h, --help print help
The current version of foreman_maintain includes this fix.