Project

General

Profile

Actions

Bug #9108

closed

It's not possible to overwrite a default value of a parameter inherited from parent host group in nested host group

Added by Filip Brychta about 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Host groups
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

1 - create a new host group named 'parent' with global parameter named 'parameter1' with value 'parentValue'
2 - create a new host group named 'child' and set Parent to host group created in step 1. and change value of 'parameter1' to 'changed'

Result:
Value of 'parameter1' in 'child' host group is still 'parentValue'
Value of 'parameter1' in 'child' host group is editable but no change is applied.

Actions #1

Updated by Tom Caspy about 9 years ago

this is indeed a bug.
Current workaround - the value can be overridden by adding a new global parameter with the same name, and overriding the value there.

Actions #2

Updated by Filip Brychta about 9 years ago

Tom Caspy wrote:

this is indeed a bug.
Current workaround - the value can be overridden by adding a new global parameter with the same name, and overriding the value there.

Note that this workaround (duplicate parameters in the hostgroup) will lead to #8366

Actions #3

Updated by Tom Caspy about 9 years ago

checked... didn't break anything... apparently the bug is that the shown parameter isn't actually something which exists in the DB, I'll investigate further as to why this happens.

Filip Brychta wrote:

Tom Caspy wrote:

this is indeed a bug.
Current workaround - the value can be overridden by adding a new global parameter with the same name, and overriding the value there.

Note that this workaround (duplicate parameters in the hostgroup) will lead to #8366

Actions #4

Updated by Tom Caspy about 9 years ago

  • Assignee set to Tom Caspy
Actions #5

Updated by The Foreman Bot about 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2128 added
  • Pull request deleted ()
Actions #6

Updated by Tom Caspy over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #7

Updated by Dominic Cleal over 8 years ago

  • Category set to Host groups
  • translation missing: en.field_release set to 72
Actions #8

Updated by Ori Rabin about 8 years ago

  • Bugzilla link set to 1295179
Actions

Also available in: Atom PDF