ldap: Style fixes.

This commit is contained in:
Timo Mkinen 2013-06-14 07:34:19 +03:00
parent e13e510b6e
commit f6cc316cb1

View file

@ -530,16 +530,14 @@ class ldap::server {
} }
} }
if $::selinux == "true" { selinux::manage_fcontext { "/srv/ldap(/.*)?":
selinux::manage_fcontext { "/srv/ldap(/.*)?": type => "slapd_db_t",
before => File["/srv/ldap"],
}
if $ldap_datadir {
selinux::manage_fcontext { "${ldap_datadir}(/.*)?":
type => "slapd_db_t", type => "slapd_db_t",
before => File["/srv/ldap"], before => File[$ldap_datadir],
}
if $ldap_datadir {
selinux::manage_fcontext { "${ldap_datadir}(/.*)?":
type => "slapd_db_t",
before => File[$ldap_datadir],
}
} }
} }