Actions
Bug #26703
closedHammer does not convert single value into an array for a list type option
Difficulty:
Triaged:
No
Pull request:
Team Backlog:
Description
# hammer host update --puppet-class-ids 2 --name pipeline-foreman-1-22-centos7.wisse.example.com Host updated.
Yet after that the Puppet class is not assigned. The debug output suggests it’s not parsing the parameter:
[ INFO 2019-04-26T15:16:49 API] PUT /api/hosts/1 [DEBUG 2019-04-26T15:16:49 API] Params: { "host" => { "name" => "pipeline-foreman-1-22-centos7.wisse.example.com", "puppetclass_ids" => 2, "compute_attributes" => {} } }
Updated by The Foreman Bot over 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/hammer-cli/pull/302 added
Updated by Martin Bacovsky over 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 08ab81148230dc5fd7ec4183bba38fa743af8a7e.
Updated by The Foreman Bot over 5 years ago
- Pull request https://github.com/theforeman/hammer-cli/pull/303 added
Actions