Wrong name used for Puppet class selection in host create
When using "hammer host create" with the --puppet-class-ids parameter to add some Puppet classes to the new host, hammer calls the Foreman API with a "puppet_class_ids" option, but the correct option as used by the Foreman GUI is "puppetclass_ids".
This results in the hammer command line failing with "500 Internal Server Error".
#1 Updated by Martin Bacovsky almost 8 years ago
- Category set to Foreman commands (obsolete)
- Status changed from New to Ready For Testing
- Assignee set to Martin Bacovsky
- Target version set to 1.9.3
Thanks for reporting this issue. Here is the PR https://github.com/theforeman/hammer-cli-foreman/pull/56 and the fix should land in the next hammer release.