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.