Skip to content
Commit dead4679 authored by Rafael Guterres Jeffman's avatar Rafael Guterres Jeffman
Browse files

dnsconfig: Fix management of forwarders.

If one tries to set a list of forwarders which include an already
existing forwarder, the existing forwarder is removed, and the list
of configured forwarders contain only the new ones.

This patch fixes this behavior by setting a union of the currently
available forwarders and the list of forwarders provided in the
playbook.

Tests were added to ensure this behavior.
parent 04a8299b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment