aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/pam/manifests/base.pp8
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/pam/manifests/base.pp b/modules/pam/manifests/base.pp
index d4143b78..cfeff23d 100644
--- a/modules/pam/manifests/base.pp
+++ b/modules/pam/manifests/base.pp
@@ -1,6 +1,12 @@
class pam::base {
include pam::multiple_ldap_access
- package { ['pam_ldap','nss_ldap','nscd']: }
+ package { ['nscd']: }
+
+ if versioncmp($::lsbdistrelease, '2') < 0 {
+ package { ['pam_ldap','nss_ldap']: }
+ } else {
+ package { ['nss-pam-ldapd']: }
+ }
service { 'nscd':
require => Package['nscd'],