Bug #10628
closedSome parameter in Sat 6.1 CLI were renamed
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1223086
Description of problem:
In Satellite 6.1 some CLI parameters were renamed which can break customer scripts.
How reproducible:
Always
Steps to Reproduce:
I patched hammer-cli-console and produced diff of hammer options between Satellite 6.0 and 6.1.
Steps to get the list:
- Clean Sat6.x install
- gem install hammer-cli-console (with https://github.com/komidore64/hammer-cli-console/pull/4 merged)
- cat > /etc/hammer/cli.commands.d/console.yml <<EOF
:console:
:enable_module: true
EOF
- hammer -u admin -p <password> command-tree --with-options > hammer_sat6.0.txt
The resulting files are attached.
The main differences are caused partly by aliased options e.g. puppetclass > puppet-class, ptable>partition-table, etc and partly by various changes in content-view options.
Actual results:
e.g. hammer os add-ptable --id 1 --ptable-id 1
Fails with unrecognised option
Expected results:
e.g. hammer os add-ptable --id 1 --ptable-id 1
Os updated
Additional info:
Patch for aliased options is ready. For Katello stuff the changes need review as some are intentional.
Updated by The Foreman Bot over 9 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/hammer-cli-katello/pull/297 added
- Pull request deleted (
)
Updated by Eric Helms over 9 years ago
- Translation missing: en.field_release set to 31
- Triaged changed from No to Yes
Updated by Eric Helms over 9 years ago
- Status changed from Ready For Testing to Closed