diff options
author | Thomas Backlund <tmb@mageia.org> | 2019-09-16 12:08:08 +0300 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2019-09-16 12:08:08 +0300 |
commit | 7168ead24b39fade5c45bfb07f63703e4a81ce13 (patch) | |
tree | d7bcbd453f0e63d06c3b34e9775fc8c58ab2cdbc /modules/openssh/manifests | |
parent | 8046384f6816c7b27837e7f8a53cd39d5876d4c6 (diff) | |
download | puppet-7168ead24b39fade5c45bfb07f63703e4a81ce13.tar puppet-7168ead24b39fade5c45bfb07f63703e4a81ce13.tar.gz puppet-7168ead24b39fade5c45bfb07f63703e4a81ce13.tar.bz2 puppet-7168ead24b39fade5c45bfb07f63703e4a81ce13.tar.xz puppet-7168ead24b39fade5c45bfb07f63703e4a81ce13.zip |
adjust openssh deps for mga7
Diffstat (limited to 'modules/openssh/manifests')
-rw-r--r-- | modules/openssh/manifests/ssh_keys_from_ldap.pp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/openssh/manifests/ssh_keys_from_ldap.pp b/modules/openssh/manifests/ssh_keys_from_ldap.pp index 3004bc52..deb05d66 100644 --- a/modules/openssh/manifests/ssh_keys_from_ldap.pp +++ b/modules/openssh/manifests/ssh_keys_from_ldap.pp @@ -1,5 +1,9 @@ class openssh::ssh_keys_from_ldap inherits server { +if versioncmp($::lsbdistrelease, '7') < 0 { package { 'python-ldap': } +} else { + package { 'python2-ldap': } +} $ldap_pwfile = '/etc/ldap.secret' $nslcd_conf_file = '/etc/nslcd.conf' |