aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/base_installation/manifests/ldap.pp4
1 files changed, 3 insertions, 1 deletions
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 {
28 $ldap_password = generate_password(24, $password_seed, "ldap") 28 $ldap_password = generate_password(24, $password_seed, "ldap")
29 $ldap_attribute = "uid" 29 $ldap_attribute = "uid"
30 30
31 ensure_packages(["pam_ldap"]) 31 ensure_packages(["pam_ldap", "ruby-augeas"])
32 file { "/etc/pam_ldap.conf": 32 file { "/etc/pam_ldap.conf":
33 ensure => "present", 33 ensure => "present",
34 mode => "0400", 34 mode => "0400",
@@ -46,6 +46,7 @@ class base_installation::ldap inherits base_installation {
46 module => "pam_ldap.so", 46 module => "pam_ldap.so",
47 arguments => "ignore_unknown_user", 47 arguments => "ignore_unknown_user",
48 position => 'before *[type="password" and module="pam_unix.so"]', 48 position => 'before *[type="password" and module="pam_unix.so"]',
49 require => Package["ruby-augeas"],
49 } 50 }
50 } 51 }
51 52
@@ -59,6 +60,7 @@ class base_installation::ldap inherits base_installation {
59 module => "pam_ldap.so", 60 module => "pam_ldap.so",
60 arguments => "ignore_unknown_user", 61 arguments => "ignore_unknown_user",
61 position => "before *[type=\"$type\" and module=\"pam_unix.so\"]", 62 position => "before *[type=\"$type\" and module=\"pam_unix.so\"]",
63 require => Package["ruby-augeas"],
62 } 64 }
63 } 65 }
64 } 66 }