From: Ismaƫl Bouya Date: Sat, 30 Jun 2018 16:02:49 +0000 (+0200) Subject: Fix missing package X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=35a719cb7c2c6c5c1807b75f747782678c359406;p=perso%2FImmae%2FProjets%2FPuppet.git Fix missing package --- diff --git a/modules/base_installation/manifests/ldap.pp b/modules/base_installation/manifests/ldap.pp index acc0014..d5d871c 100644 --- a/modules/base_installation/manifests/ldap.pp +++ b/modules/base_installation/manifests/ldap.pp @@ -28,7 +28,7 @@ class base_installation::ldap inherits base_installation { $ldap_password = generate_password(24, $password_seed, "ldap") $ldap_attribute = "uid" - ensure_packages(["pam_ldap"]) + ensure_packages(["pam_ldap", "ruby-augeas"]) file { "/etc/pam_ldap.conf": ensure => "present", mode => "0400", @@ -46,6 +46,7 @@ class base_installation::ldap inherits base_installation { module => "pam_ldap.so", arguments => "ignore_unknown_user", position => 'before *[type="password" and module="pam_unix.so"]', + require => Package["ruby-augeas"], } } @@ -59,6 +60,7 @@ class base_installation::ldap inherits base_installation { module => "pam_ldap.so", arguments => "ignore_unknown_user", position => "before *[type=\"$type\" and module=\"pam_unix.so\"]", + require => Package["ruby-augeas"], } } }