diff --git a/manifests/ldap.pp b/manifests/ldap.pp index a065e5468..8c3f1b03e 100644 --- a/manifests/ldap.pp +++ b/manifests/ldap.pp @@ -84,7 +84,8 @@ $assignment_driver = undef, ) { - package { 'python-ldap': + $ldap_packages = ['python-ldap', 'python-ldappool'] + package { $ldap_packages: ensure => present, } diff --git a/spec/classes/keystone_ldap_spec.rb b/spec/classes/keystone_ldap_spec.rb index 6d62f56f4..526710d9b 100644 --- a/spec/classes/keystone_ldap_spec.rb +++ b/spec/classes/keystone_ldap_spec.rb @@ -76,6 +76,7 @@ } end it { should contain_package('python-ldap') } + it { should contain_package('python-ldappool') } it 'should have basic params' do should contain_keystone_config('ldap/url').with_value('ldap://foo') should contain_keystone_config('ldap/user').with_value('cn=foo,dc=example,dc=com')