aboutsummaryrefslogtreecommitdiffstats
path: root/modules/openldap/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/openldap/manifests/init.pp')
-rw-r--r--modules/openldap/manifests/init.pp14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/openldap/manifests/init.pp b/modules/openldap/manifests/init.pp
index b7332d88..4270a885 100644
--- a/modules/openldap/manifests/init.pp
+++ b/modules/openldap/manifests/init.pp
@@ -34,6 +34,16 @@ class openldap {
notify => [Service['ldap']]
}
+ file { '/etc/sysconfig/ldap':
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 644,
+ require => Package["openldap-servers"],
+ content => "",
+ notify => [Service['ldap']]
+ }
+
class master inherits base {
file { '/etc/openldap/mandriva-dit-access.conf':
content => template("openldap/mandriva-dit-access.conf"),
@@ -42,5 +52,9 @@ class openldap {
file { '/etc/openldap/slapd.conf':
content => template("openldap/slapd.conf"),
}
+
+ file { '/etc/sysconfig/ldap':
+ content => template("openldap/ldap.sysconfig"),
+ }
}
}