I have some hosts that have explicitly managed resolv.conf
files. I have others that rely on NetworkManager, which does many things including writing the resolv.conf file
.
Is there a consistent way to manage this information with Puppet, such as some module where I can describe the DNS servers and search orders semantically, then expect the right thing to happen depending on how the host is configured?
Failing that, is there a module that will interface to NetworkManager to do what I want? Writing out an explicit resolv.conf
file is fairly trivial, so I need no help with that if I go that route.