diff --git a/ldap/manifests/init.pp b/ldap/manifests/init.pp index 97fc52c..d4eb1a8 100644 --- a/ldap/manifests/init.pp +++ b/ldap/manifests/init.pp @@ -40,13 +40,18 @@ class ldap::client { $ldap_login_umask = "077" } + package { "login_ldap": + ensure => installed, + } + file { "/etc/login.conf": ensure => present, content => template("ldap/login.conf.erb"), mode => 0644, owner => root, group => wheel, - require => File["/etc/openldap/ldap.conf"], + require => [ File["/etc/openldap/ldap.conf"], + Package["login_ldap"], ] } } }