Project

General

Profile

Actions

Bug #14930

closed

Update with --puppet-classes parameter will fail, if the classes belong to the same namespace

Added by Shimon Shtein almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

To reproduce:


hammer hostgroup update --id 5 --puppet-classes "apache::mod::authnz_ldap,apache::dev" 


will fail.

The problem is in the API response handling in id_resolver.rb
API response was grouped by namespace and validated groups count against number of classes in the requested parameters.

Actions #1

Updated by The Foreman Bot almost 8 years ago

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

Updated by Shimon Shtein almost 8 years ago

  • Bugzilla link set to 1333280
Actions #3

Updated by Shimon Shtein almost 8 years ago

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

Also available in: Atom PDF