Bug #3473
closedunable to set a global parameter: undefined method `index'
Description
Description of problem:
The "global_parameter set" command fails.
Version-Release number of selected component (if applicable):
rubygem-foreman_api-0.1.6-1.el6sat.noarch
rubygem-hammer_cli-0.0.7-2.el6sat.noarch.rpm
rubygem-hammer_cli_foreman-0.0.7-2.el6sat.noarch
How reproducible:
always
Steps to Reproduce:
1. global_parameter set --name $name --value $value
Actual results:
Error: undefined method `index' for #<HammerCLI::Apipie::ResourceInstance:0x7f5e40700df0>
Expected results:
parameter should be set successfully
Updated by Dominic Cleal about 11 years ago
Verified:
[root@foreman ~]# rpm -q rubygem-hammer_cli rubygem-hammer_cli_foreman
rubygem-hammer_cli-0.0.7-1.el6.noarch
rubygem-hammer_cli_foreman-0.0.7-1.el6.noarch
[root@foreman ~]# hammer global_parameter set --name test --value test
Error: undefined method `index' for #<HammerCLI::Apipie::ResourceInstance:0x7fe1ffbd4668>
Updated by Tomáš Strachota about 11 years ago
- Status changed from New to Assigned
- Assignee set to Tomáš Strachota
Updated by Tomáš Strachota about 11 years ago
- Status changed from Assigned to Ready For Testing
Updated by Anonymous about 11 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman:hammer-cli-foreman|commit:1ce1dbf5c47b98891440cdf1e09ae769869eee38.