moved installation of openldap
This commit is contained in:
parent
c53d187b06
commit
f011188434
|
@ -85,6 +85,13 @@ class wmdeit_ldap (
|
||||||
$privkey = "$ssldir/priv.pem"
|
$privkey = "$ssldir/priv.pem"
|
||||||
$cacert = "$ssldir/ca.pem"
|
$cacert = "$ssldir/ca.pem"
|
||||||
|
|
||||||
|
class { 'openldap::server':
|
||||||
|
ssl_ca => "$cacert",
|
||||||
|
ssl_cert => "$pubcert",
|
||||||
|
ssl_key => "$privkey",
|
||||||
|
ldaps_ifs => ['/'],
|
||||||
|
}
|
||||||
|
|
||||||
file { "/etc/ldap":
|
file { "/etc/ldap":
|
||||||
ensure => directory
|
ensure => directory
|
||||||
} ->
|
} ->
|
||||||
|
@ -117,16 +124,9 @@ class wmdeit_ldap (
|
||||||
owner => "openldap",
|
owner => "openldap",
|
||||||
group => "openldap",
|
group => "openldap",
|
||||||
mode => "0600",
|
mode => "0600",
|
||||||
} ->
|
}
|
||||||
|
|
||||||
|
|
||||||
class { 'openldap::server':
|
|
||||||
ssl_ca => "$cacert",
|
|
||||||
ssl_cert => "$pubcert",
|
|
||||||
ssl_key => "$privkey",
|
|
||||||
ldaps_ifs => ['/'],
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
# openldap::server::globalconf { 'TLSCACertificateFile':
|
# openldap::server::globalconf { 'TLSCACertificateFile':
|
||||||
# ensure => present,
|
# ensure => present,
|
||||||
|
|
Loading…
Reference in New Issue