Bug #28097
closed"foreman-maintain packages update" fails to update all packages
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1759588
Description of problem:
"foreman-maintain packages update" fails to update all packages with:
ERROR: parameter 'PACKAGES ...': no value provided
It should work similar way as "yum update" works. No parameter means all packages.
Yet worse, there is explicit all packages for yum as "\*"
But for foreman-maintain it needs to be escaped twice "\\*"
Not obvious nor documented.
Version-Release number of selected component (if applicable):
@Satellite 6.6.0 Snap22
rubygem-foreman_maintain-0.4.9-1.el7sat.noarch
How reproducible:
deterministic
Steps to Reproduce:
1. # foreman-maintain packages update
ERROR: parameter 'PACKAGES ...': no value provided
See: 'foreman-maintain packages update --help'
Actual results:
"foreman-maintain packages update" dourly expects a parameter
Expected results:
"foreman-maintain packages update" treats no parameter the same way as "yum update" does
Undocumented workaround is
- foreman-maintain packages update \\*
Updated by The Foreman Bot about 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman_maintain/pull/286 added
Updated by Martin Bacovsky almost 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_maintain|ca79a376376ed302563395d3e91d1931a3000864.