moved installation of openldap
This commit is contained in:
parent
c53d187b06
commit
f011188434
|
@ -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,17 +124,10 @@ 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,
|
||||
# value => { "TLSCACertificateFile"=>"$ssldir/ca.pem" }
|
||||
|
|
Loading…
Reference in New Issue