[PR #8900/a32f1d69 backport][stable-9] ipa_hostgroup: fix state params #8906
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a backport of PR #8900 as merged into main (a32f1d6).
SUMMARY
Fix state
enabled
anddisabled
paramsFixes #8408
ISSUE TYPE
COMPONENT NAME
ipa_hostgroup
ADDITIONAL INFORMATION
As it was mentioned in a related issue these values for
state:
are useless and because of else statement the lead toabsent
result. It is not clear if these values should be kept because they do not work as intented so maybe we should just remove or deprecate them? For now i made it so 'absent'/'disabled' and 'present'/'enabled' are the same thing