Added missing dependency for LDAP authentication on OpenBSD.
This commit is contained in:
parent
5860bef404
commit
ca1258706e
1 changed files with 6 additions and 1 deletions
|
@ -40,13 +40,18 @@ class ldap::client {
|
||||||
$ldap_login_umask = "077"
|
$ldap_login_umask = "077"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
package { "login_ldap":
|
||||||
|
ensure => installed,
|
||||||
|
}
|
||||||
|
|
||||||
file { "/etc/login.conf":
|
file { "/etc/login.conf":
|
||||||
ensure => present,
|
ensure => present,
|
||||||
content => template("ldap/login.conf.erb"),
|
content => template("ldap/login.conf.erb"),
|
||||||
mode => 0644,
|
mode => 0644,
|
||||||
owner => root,
|
owner => root,
|
||||||
group => wheel,
|
group => wheel,
|
||||||
require => File["/etc/openldap/ldap.conf"],
|
require => [ File["/etc/openldap/ldap.conf"],
|
||||||
|
Package["login_ldap"], ]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue