Project

General

Profile

Actions

Bug #14596

closed

CLI: Puppet classes cannot be attached to a content view

Added by Brad Buckingham almost 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
High
Category:
Hammer
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Attempting to add puppet modules to a content view using the CLI fails. E.g.

hammer content-view puppet-module add --organization "$ORG" --content-view RHEL7_Base --author puppetlabs --name ntp
Could not add the puppet module:
Error: content_view_puppet_module not found

It appears that hammer is attempting to perform the id resolver to translate the 'name' to an existing 'content_view_puppet_module'; however, in this scenario it is the above command that will create the record. This appears to be a regression introduced by:
https://github.com/Katello/katello/commit/58bbf1c660d10765d863f3b39b0030ceb9f11381

Actions #1

Updated by The Foreman Bot almost 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/379 added
Actions #2

Updated by Brad Buckingham almost 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Eric Helms almost 8 years ago

  • translation missing: en.field_release set to 86
Actions

Also available in: Atom PDF