moved installation of openldap

This commit is contained in:
Tobias Herre 2020-08-18 15:23:59 +02:00
parent c53d187b06
commit f011188434
1 changed files with 8 additions and 8 deletions

View File

@ -85,6 +85,13 @@ class wmdeit_ldap (
$privkey = "$ssldir/priv.pem"
$cacert = "$ssldir/ca.pem"
class { 'openldap::server':
ssl_ca => "$cacert",
ssl_cert => "$pubcert",
ssl_key => "$privkey",
ldaps_ifs => ['/'],
}
file { "/etc/ldap":
ensure => directory
} ->
@ -117,16 +124,9 @@ class wmdeit_ldap (
owner => "openldap",
group => "openldap",
mode => "0600",
} ->
}
class { 'openldap::server':
ssl_ca => "$cacert",
ssl_cert => "$pubcert",
ssl_key => "$privkey",
ldaps_ifs => ['/'],
}
# openldap::server::globalconf { 'TLSCACertificateFile':
# ensure => present,