Description of problem: I was trying to verify a bug where I've to upload puppet modules from cli but I didn't find content_upload command under any of the subcommands like repository. Not sure If I'm missing something. But If it is missing in hammer then I think we should add it back since the same feature is available from UI. Version-Release number of selected component (if applicable): Satellite 6 Beta Snap 4 Satellite-6.0.3-RHEL-6-20140508.1 How reproducible: always Steps to Reproduce: 1. 2. 3. Actual results: missing content_upload command to upload repo and puppet modules Expected results: command should be in hammer Additional info: Didn't find under repository subcommands: [root@dhcp201-170 ~]# hammer repository --help Usage: hammer repository [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND subcommand [ARG] ... subcommand arguments Subcommands: create Create a custom repository delete Destroy a custom repository info Show a custom repository list List of enabled repositories synchronize Sync a repository update Update a custom repository Options: -h, --help print help [root@dhcp201-170 ~]# hammer repository update --help Usage: hammer repository update [OPTIONS] Options: --gpg-key-id GPG_KEY_ID ID of a gpg key that will be assigned to this repository --id ID repository ID --name NAME Name to search by --new-name NEW_NAME --organization ORGANIZATION_NAME --organization-id ORGANIZATION_ID --organization-label ORGANIZATION_LABEL --publish-via-http ENABLE Publish Via HTTP One of true/false, yes/no, 1/0. --url URL the feed url of the original repository -h, --help print help
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release.
*** Bug 1102260 has been marked as a duplicate of this bug. ***
Katello PR: https://github.com/Katello/katello/pull/4169 Katello CLI PR: https://github.com/Katello/hammer-cli-katello/pull/177
Moving to POST since upstream bug http://projects.theforeman.org/issues/5813 has been closed
KATELLO: a1275a17fa1b36a7f471c55c3129b389661d3d90 Refs #5813 - Content uploads BZ1102260 Implement content uploads (packages, puppet modules) in the UI and API. HAMMER-CLI-KATELLO: 3a0ca2f943d47a911c69fb3803890c3653ecb9bc Fixes #5813 - CLI content uploads BZ1102260
Verified with sat6 beta snap10(Satellite-6.0.3-RHEL-6-20140618.0) I can see upload-content command under cli. Will test it later and file separate bz if find any issue. [root@dhcp201-126 ~]# hammer repository upload-content --help Usage: hammer repository upload-content [OPTIONS] Options: --id ID repository ID --name NAME Name to search by --organization ORGANIZATION_NAME --organization-id ORGANIZATION_ID --organization-label ORGANIZATION_LABEL --path PATH Upload file or directory of files as content for a repository -h, --help print help [root@dhcp201-126 ~]# hammer repository update --help
This was delivered with 6.0.3, which is the Satellite 6 Beta.