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 10 years ago.
Updated over 6 years ago.
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.
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.
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
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
- Assignee set to Tom Caspy
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2128 added
- Pull request deleted (
)
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Category set to Host groups
- Translation missing: en.field_release set to 72
- Bugzilla link set to 1295179
Also available in: Atom
PDF