Project

General

Profile

Actions

Bug #7461

closed

Can't add puppet modules to a content view

Added by Stephen Benjamin about 10 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Hammer
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

It seems uuid was renamed to id, but it still validates for 'uuid'.

[cloud-user@katello-devel-1410862301 ~]$ hammer -u admin -p changeme content-view puppet-module add --organization="Default Organization" --content-view="Test CV" --id=$uuid
Could not add the puppet module:
Validation failed: Invalid puppet module parameters specified. Either 'uuid' or 'name' and 'author' must be specified.
[cloud-user@katello-devel-1410862301 ~]$ hammer -u admin -p changeme content-view puppet-module add --help
/usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.3/lib/hammer_cli/./apipie/../abstract.rb:67: warning: already initialized constant DEFAULT_LABEL_INDENT
Usage:
hammer content-view puppet-module add [OPTIONS]
Options:
--author AUTHOR author of the puppet module
--content-view CONTENT_VIEW_NAME Content view name
--content-view-id CONTENT_VIEW_ID content view numeric identifier
--id ID id of the puppet module to associate
--name NAME name of the puppet module
--organization ORGANIZATION_NAME Organization name to search by
--organization-id ORGANIZATION_ID organization ID
--organization-label ORGANIZATION_LABEL Organization label to search by
-h, --help print help
Actions

Also available in: Atom PDF