Added classes for python and ruby ldap bindings.
This commit is contained in:
parent
347e53769d
commit
eec12b1732
1 changed files with 26 additions and 0 deletions
|
@ -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,
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue