diff options
author | Dan Fandrich <danf@mageia.org> | 2024-10-15 14:21:45 -0700 |
---|---|---|
committer | Dan Fandrich <danf@mageia.org> | 2024-10-15 14:24:41 -0700 |
commit | 0e517856b8db239fc2ae29ff4d5f007b5d1d0441 (patch) | |
tree | 828dc0c7c146e7aad71376eee9069f21ae2c3a15 /modules/pam | |
parent | a8116343fd31737660b56357f4179f7cf2584255 (diff) | |
download | puppet-0e517856b8db239fc2ae29ff4d5f007b5d1d0441.tar puppet-0e517856b8db239fc2ae29ff4d5f007b5d1d0441.tar.gz puppet-0e517856b8db239fc2ae29ff4d5f007b5d1d0441.tar.bz2 puppet-0e517856b8db239fc2ae29ff4d5f007b5d1d0441.tar.xz puppet-0e517856b8db239fc2ae29ff4d5f007b5d1d0441.zip |
Remove conditionals for releases older than Mageia 6
This eliminates a bunch of conditionals, simplifying the configuration.
We no longer have any servers running on a release older than this.
Diffstat (limited to 'modules/pam')
-rw-r--r-- | modules/pam/manifests/base.pp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/pam/manifests/base.pp b/modules/pam/manifests/base.pp index cfeff23d..20a4d336 100644 --- a/modules/pam/manifests/base.pp +++ b/modules/pam/manifests/base.pp @@ -2,11 +2,7 @@ class pam::base { include pam::multiple_ldap_access package { ['nscd']: } - if versioncmp($::lsbdistrelease, '2') < 0 { - package { ['pam_ldap','nss_ldap']: } - } else { - package { ['nss-pam-ldapd']: } - } + package { ['nss-pam-ldapd']: } service { 'nscd': require => Package['nscd'], |