diff --git a/ldap/manifests/init.pp b/ldap/manifests/init.pp index af10490..cdebbea 100644 --- a/ldap/manifests/init.pp +++ b/ldap/manifests/init.pp @@ -32,3 +32,29 @@ class ldap::client { } } + + +# Install python ldap bindings. +# +class ldap::client::python inherits ldap::client { + + package { "python-ldap": + name => $operatingsystem ? { + openbsd => "py-ldap", + default => "python-ldap", + }, + ensure => installed, + } + +} + + +# Install Ruby ldap bindings. +# +class ldap::client::ruby inherits ldap::client { + + package { "ruby-ldap": + ensure => installed, + } + +}