Project

General

Profile

Actions

Bug #3473

closed

unable to set a global parameter: undefined method `index'

Added by Dominic Cleal over 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Foreman commands (obsolete)
Target version:
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

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

(https://bugzilla.redhat.com/show_bug.cgi?id=1022248)

Actions #1

Updated by Dominic Cleal over 10 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>

Actions #2

Updated by Anonymous over 10 years ago

  • Target version set to 1.10.0
Actions #3

Updated by Tomáš Strachota over 10 years ago

  • Status changed from New to Assigned
  • Assignee set to Tomáš Strachota
Actions #4

Updated by Tomáš Strachota over 10 years ago

  • Status changed from Assigned to Ready For Testing
Actions #5

Updated by Anonymous over 10 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.

Actions

Also available in: Atom PDF