aboutsummaryrefslogtreecommitdiff
path: root/personal_infra/puppet/site
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2024-11-27 20:40:32 +0100
committeralexpdp7 <alex@corcoles.net>2024-11-27 20:41:19 +0100
commitc3f3e7cbef2bd849707eb363986b277ae5017e4d (patch)
tree0eca1c92410be76b5d2c73343a4c044d536a7b6a /personal_infra/puppet/site
parent9219a51d34ce1812d21f865bd9100f010581fdee (diff)
More IPA hacks
Diffstat (limited to 'personal_infra/puppet/site')
-rw-r--r--personal_infra/puppet/site/01-ipa.pp3
-rw-r--r--personal_infra/puppet/site/maelcum.mad.int.pdp7.net.pp7
2 files changed, 10 insertions, 0 deletions
diff --git a/personal_infra/puppet/site/01-ipa.pp b/personal_infra/puppet/site/01-ipa.pp
index a9138601..3e76d28f 100644
--- a/personal_infra/puppet/site/01-ipa.pp
+++ b/personal_infra/puppet/site/01-ipa.pp
@@ -16,6 +16,9 @@ if $facts['os']['family'] == 'Debian' and $facts['os']['release']['major'] == "1
}
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1026008
+#
+# systems which were originally Debian 11 seem to not have this problem,
+# so I'll add hacks to new systems in their manifest :(
if $facts['os']['family'] == 'Debian' and $facts['os']['release']['major'] == "12" {
Package[$ipa_client_package]
->
diff --git a/personal_infra/puppet/site/maelcum.mad.int.pdp7.net.pp b/personal_infra/puppet/site/maelcum.mad.int.pdp7.net.pp
index 5fd9a3b1..25e1732d 100644
--- a/personal_infra/puppet/site/maelcum.mad.int.pdp7.net.pp
+++ b/personal_infra/puppet/site/maelcum.mad.int.pdp7.net.pp
@@ -11,4 +11,11 @@ node 'maelcum.mad.int.pdp7.net' {
,
notify => Service['dnsmasq'],
}
+
+ service {'sssd-pam.socket':
+ ensure => stopped,
+ enable => mask,
+ }
+ ~>
+ Exec['/usr/bin/systemctl reset-failed']
}