Rob Crittenden wrote:
When adding a hostgroup check for current existence of hostgroup and
netgroup

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.

rob

Just to close the loop, this patch was replaced by Martin's patch
153 Improve hostgroup/netgroup collision checks

rob

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to