From e09aa249abfb377467454e663d528adec17a7dae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= <hugo@lysator.liu.se>
Date: Fri, 18 Feb 2022 00:58:43 +0100
Subject: [PATCH] freeIPA manage_resolvconf => false.

The IPA config already manages resolv.conf, conflicting with public_ip:s
configuration. FreeIPA requires its own since it sets search to
"ad.lysator.liu.se".
---
 manifests/freeipa.pp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/manifests/freeipa.pp b/manifests/freeipa.pp
index 7e73fcc..521a89b 100644
--- a/manifests/freeipa.pp
+++ b/manifests/freeipa.pp
@@ -1,5 +1,7 @@
 class roles::freeipa {
-  require ::lysnetwork::public_ip
+  class { '::lysnetwork::public_ip':
+    manage_resolvconf => false,
+  }
   require ::epel
   require ::lysnetwork::iptables_default_deny
   include ::lysnetwork::fail2ban
-- 
GitLab