aboutsummaryrefslogtreecommitdiffstats
path: root/modules/openldap/manifests/config.pp
diff options
context:
space:
mode:
authorOlivier Blin <dev@blino.org>2015-11-20 01:21:21 +0100
committerOlivier Blin <dev@blino.org>2015-11-30 01:32:43 +0100
commitf064909d91ab4159bda00f05932dc0e5449b74ce (patch)
tree34147f1a324dea26abc1a0c612a31bc5715ea814 /modules/openldap/manifests/config.pp
parent789a955109028cde1c32bf5f3c1dd9dfc5d02ba7 (diff)
downloadpuppet-f064909d91ab4159bda00f05932dc0e5449b74ce.tar
puppet-f064909d91ab4159bda00f05932dc0e5449b74ce.tar.gz
puppet-f064909d91ab4159bda00f05932dc0e5449b74ce.tar.bz2
puppet-f064909d91ab4159bda00f05932dc0e5449b74ce.tar.xz
puppet-f064909d91ab4159bda00f05932dc0e5449b74ce.zip
openldap: use slapd service instead of ldap on Mageia >= 4
As detected by tmb on new valstar
Diffstat (limited to 'modules/openldap/manifests/config.pp')
-rw-r--r--modules/openldap/manifests/config.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/openldap/manifests/config.pp b/modules/openldap/manifests/config.pp
index 6f364ffc..ee8a3187 100644
--- a/modules/openldap/manifests/config.pp
+++ b/modules/openldap/manifests/config.pp
@@ -2,6 +2,6 @@ define openldap::config($content) {
file { $name:
require => Package['openldap-servers'],
content => $content,
- notify => Exec['/etc/init.d/ldap check'],
+ notify => Exec["/etc/init.d/${openldap::var::service} check"],
}
}