aboutsummaryrefslogtreecommitdiffstats
path: root/modules/openldap/manifests/config.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/openldap/manifests/config.pp')
-rw-r--r--modules/openldap/manifests/config.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/openldap/manifests/config.pp b/modules/openldap/manifests/config.pp
new file mode 100644
index 00000000..6f364ffc
--- /dev/null
+++ b/modules/openldap/manifests/config.pp
@@ -0,0 +1,7 @@
+define openldap::config($content) {
+ file { $name:
+ require => Package['openldap-servers'],
+ content => $content,
+ notify => Exec['/etc/init.d/ldap check'],
+ }
+}