aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-06-30 18:02:49 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-06-30 18:02:49 +0200
commit35a719cb7c2c6c5c1807b75f747782678c359406 (patch)
treede045856cd1fb989a84e3efd0683e39cc0978951
parent2b3a8c09fad3428fc7f4b50fc3a89a8dbb7a331a (diff)
downloadPuppet-35a719cb7c2c6c5c1807b75f747782678c359406.tar.gz
Puppet-35a719cb7c2c6c5c1807b75f747782678c359406.tar.zst
Puppet-35a719cb7c2c6c5c1807b75f747782678c359406.zip
Fix missing package
-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 }