Project

General

Profile

Actions

Bug #8606

closed

Listing puppet modules via api fails 'undefined method sync plan for :product:Symbol

Added by Justin Sherrill almost 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Difficulty:
medium
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Seen in the current nightly, but no in dev. Needs investigation.

✗ add puppet module to content view
(in test file fb-content-katello.bats, line 61)
`module_id=$(hammer -u admin -p changeme puppet-module list --repository-id=$repo_id | grep dummy | cut -d\| -f1)' failed
undefined method `sync_plan' for :product:Symbol

NoMethodError: undefined method `sync_plan' for :product:Symbol
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.1.0/app/views/katello/api/v2/repositories/show.json.rabl:45:in `block (2 levels) in eval_source'
/opt/rh/ruby193/root/usr/share/gems/gems/rabl-0.11.4/lib/rabl/builder.rb:152:in `call'

Actions

Also available in: Atom PDF