From eec12b17323b30ee5e5ecdf9dbaac9e8ed41bbd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Sun, 27 Sep 2009 01:27:02 +0300 Subject: [PATCH] Added classes for python and ruby ldap bindings. --- ldap/manifests/init.pp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) 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, + } + +}