Bug #14930
Update with --puppet-classes parameter will fail, if the classes belong to the same namespace
Difficulty:
Triaged:
No
Bugzilla link:
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.
Associated revisions
History
#1
Updated by The Foreman Bot about 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/hammer-cli-foreman/pull/234 added
#2
Updated by Shimon Shtein about 6 years ago
- Bugzilla link set to 1333280
#3
Updated by Shimon Shtein about 6 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset hammer-cli-foreman|bb26bf429ddbcbdc971ba7eb1de8adcb4fbef659.
Fixes #14930 - Fixed response parsing for puppetclasses parameter