Bug #9108
closedIt's not possible to overwrite a default value of a parameter inherited from parent host group in nested host group
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.
Updated by Tom Caspy almost 10 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.
Updated by Filip Brychta almost 10 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
Updated by Tom Caspy almost 10 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
Updated by The Foreman Bot almost 10 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2128 added
- Pull request deleted (
)
Updated by Tom Caspy about 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 221fd0504d1efc0b056fd93e0824b6fbc2b453e8.
Updated by Dominic Cleal about 9 years ago
- Category set to Host groups
- Translation missing: en.field_release set to 72