aboutsummaryrefslogtreecommitdiffstats
path: root/modules/openldap/manifests/master.pp
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2023-12-20 21:30:27 -0800
committerDan Fandrich <dan@coneharvesters.com>2023-12-20 21:30:27 -0800
commitee7937acef49bfc1f44483c82fe6ebf76613182f (patch)
tree8d9d667006c05eabb5d2422a92bf7b05d3302f82 /modules/openldap/manifests/master.pp
parent0a07a58254d1f1cdea9cd904e691e9ee552885e6 (diff)
downloadpuppet-ee7937acef49bfc1f44483c82fe6ebf76613182f.tar
puppet-ee7937acef49bfc1f44483c82fe6ebf76613182f.tar.gz
puppet-ee7937acef49bfc1f44483c82fe6ebf76613182f.tar.bz2
puppet-ee7937acef49bfc1f44483c82fe6ebf76613182f.tar.xz
puppet-ee7937acef49bfc1f44483c82fe6ebf76613182f.zip
Provide a slapd file for the master, too
Puppet insists on it.
Diffstat (limited to 'modules/openldap/manifests/master.pp')
-rw-r--r--modules/openldap/manifests/master.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/openldap/manifests/master.pp b/modules/openldap/manifests/master.pp
index bac15a37..53122628 100644
--- a/modules/openldap/manifests/master.pp
+++ b/modules/openldap/manifests/master.pp
@@ -23,6 +23,10 @@ class openldap::master inherits openldap {
content => template('openldap/ldap.sysconfig'),
}
+ Openldap::Config['/etc/sysconfig/slapd'] {
+ content => template('openldap/slapd.sysconfig'),
+ }
+
host { "ldap.${::domain}":
ip => '127.0.0.1',
}