Red Hat Bugzilla – Bug 1111254
puppet-module --id vs --uuid inconsistency
Last modified: 2017-02-23 16:15:15 EST
There are some identifier inconsistencies in commands around puppet-modules: <pre> hammer puppet-module list # shows only UUIDs </pre> <pre> hammer puppet-module info # parameter --id actually requires UUID </pre> <pre> hammer content-view puppet-module list # shows both numeric (activerecord) id and UUID </pre> <pre> hammer content-view puppet-module remove # --id accepts numeric ids </pre> This is very confusing.
Created from redmine issue http://projects.theforeman.org/issues/6291
For this one, we can probably apply a solution similar to what is done for content-host uuid/id.
Moving to POST since upstream bug http://projects.theforeman.org/issues/6291 has been closed ------------- dustin tsang Applied in changeset commit:hammer-cli-katello|d93a8fb27c7381a9b20c120188cfe3ec3b0bae1b.
VERIFIED: *** This bug is verified in upstream. This fix should eventually land in future downstream builds *** # rpm -qa | grep foreman foreman-gce-1.7.0-0.develop.201410081938git1cf31c6.el7.noarch ruby193-rubygem-foreman_discovery-1.4.0-0.1.rc4.el7.noarch hp-bl420cgen8-01.rhts.eng.bos.redhat.com-foreman-proxy-1.0-1.noarch foreman-compute-1.7.0-0.develop.201410081938git1cf31c6.el7.noarch ruby193-rubygem-foreman_hooks-0.3.7-2.el7.noarch rubygem-hammer_cli_foreman_tasks-0.0.3-2.201409091410git163c264.git.0.988ca80.el7.noarch foreman-release-1.7.0-0.develop.201410071158git54141ab.el7.noarch foreman-proxy-1.7.0-0.develop.201410081229git52f0bac.el7.noarch hp-bl420cgen8-01.rhts.eng.bos.redhat.com-foreman-client-1.0-1.noarch foreman-ovirt-1.7.0-0.develop.201410081938git1cf31c6.el7.noarch ruby193-rubygem-foreman-tasks-0.6.9-1.el7.noarch foreman-selinux-1.7.0-0.develop.201409301113git2f345de.el7.noarch foreman-postgresql-1.7.0-0.develop.201410081938git1cf31c6.el7.noarch foreman-vmware-1.7.0-0.develop.201410081938git1cf31c6.el7.noarch ruby193-rubygem-foreman_bootdisk-4.0.0-1.el7.noarch foreman-1.7.0-0.develop.201410081938git1cf31c6.el7.noarch foreman-libvirt-1.7.0-0.develop.201410081938git1cf31c6.el7.noarch rubygem-hammer_cli_foreman-0.1.3-1.201409191432gitc38f9c8.el7.noarch # hammer content-view puppet-module remove --help --uuid UUID Puppet module's UUID to search by # hammer content-view puppet-module list --help --uuid UUID the uuid of the puppet module to associate There identifiers know shows only UUIDs
This bug is slated to be released with Satellite 6.1.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2015:1592