Rob Crittenden wrote:
When adding a hostgroup check for current existence of hostgroup and
The netgroup gets added automatically so we need to check in advance for
it. But we also need to look for the hostgroup otherwise the error
message is confusing (netgroup already exists).
Also convert to using existing already_exists handler.
Just to close the loop, this patch was replaced by Martin's patch
153 Improve hostgroup/netgroup collision checks
Freeipa-devel mailing list