Domain Controller: Don't require both forwarders

Review Request #245 - Created June 3, 2016 and updated

Information
Stephen Gallagher
rolekit
master
3c7f9da...
Reviewers
rolekit
mitr, nphilipp, sgallagh, twoerner
When specifying forwarders for the domain controller, we were checking
that both the IPv4 and IPv6 forwarders are present, but we actually
only strictly need one or the other (and many environments don't even
have both). Change it so that we check for at least one instead.

Fixes https://github.com/libre-server/rolekit/issues/64

Tested deployment of a domain controller with only a single IPv4 address.

Stephen Gallagher
Review request changed

Change Summary:

Tweaked the check for IPv4 and IPv6 presence in the dictionary.

Commit:

-3c82cfaf139b82e7b205b4e4d095bd098c9fb0a5
+3c7f9daaf914d8e40d00c1dc45a8cd97784360c5

Diff:

Revision 2 (+18 -4)

Show changes

Loading...