Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

openldap-grid (6) Versions 0.2.2

Installs/Configures openldap

Policyfile
Berkshelf
Knife
cookbook 'openldap-grid', '= 0.2.2', :supermarket
cookbook 'openldap-grid', '= 0.2.2'
knife supermarket install openldap-grid
knife supermarket download openldap-grid
README
Dependencies
Changelog
Quality 67%

openldap-grid Cookbook

This cookbook sets up OpenLDAP client, server and nss-ldapd.

Requirements

None.

Attributes

openldap::default

Key Type Description, example Default
['openldap']['with_ssl_cert_cookbook'] Boolean make it work with ssl_cert cookbook. (ver. 0.1.1 or later) false
['openldap']['ssl_cert']['ca_name'] String CA name used by ssl_cert (ver. 0.1.1 or later) nil
['openldap']['ssl_cert']['common_name'] String Server common name useed by ssl_cert. (ver. 0.1.1 or later) node['fqdn']
['openldap']['client']['URI'] String ldap://ldap.example.com ldap://ldap-master.example.com:666 nil
['openldap']['client']['BASE'] String dc=example,dc=com nil
['openldap']['client']['SIZELIMIT'] String 12 nil
['openldap']['client']['TIMELIMIT'] String 15 nil
['openldap']['client']['DEREF'] String never nil
['openldap']['client']['TLS_CACERT'] String /etc/ssl/certs/cacert.pem nil
['openldap']['client']['TLS_REQUEST'] String never,allow,try,demand* nil
['openldap']['client']['TLS_CHECKPEER'] String yes*,no nil
['openldap']['client']['SASL_MECH'] String GSSAPI nil
['openldap']['client']['<ldap.conf key>'] String other ldap.conf key
['openldap']['nss-ldapd']['uri'] Strig ldap://127.0.0.1/
['openldap']['nss-ldapd']['base'] String dc=example,dc=net
['openldap']['nss-ldapd']['<nscd.conf key>'] String other nscd.conf key
['openldap']['ldap_lookup_nameservices'] Array ['passwd', 'group'] empty
['openldap']['server']['ldaps'] Boolean enable ldaps (ver. 0.1.2 or later) false
['openldap']['server']['KRB5_KTNAME'] String e.g. '/etc/krb5.keytab' (ver. 0.1.2 or later) nil

Usage

Just include openldap-grid::recipe in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[openldap-grid::client]",
    "recipe[openldap-grid::server]",
    "recipe[openldap-grid::nss-ldapd]"
  ]
}

with ssl_cert cookbook

If node['openldap']['with_ssl_cert_cookbook'] is true, node['openldap']['client']['TLS_CACERT'] and node['openldap']['nss-ldapd']['tls_cacertfile'] are overridden by the file path based on ['openldap']['ssl_cert']['ca_name'] attribute.

License and Authors

  • Author:: whitestar at osdn.jp
Copyright 2013-2016, whitestar

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

ssl_cert >= 0.3.2

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

CHANGELOG for openldap-grid

0.2.2

  • refactoring.
  • updates the ssl_cert cookbook dependency.

0.2.1

  • Cleanup for FoodCritic and RuboCop.

0.2.0

  • rename cookbook.

CHANGELOG for openldap

0.1.2

  • adds the ['openldap']['server']['ldaps'] attribute.
  • adds ['openldap']['server']['KRB5_KTNAME'] attribute.

0.1.1

  • adds the server recipe.
  • adds linkage with ssl_cert cookbook.

0.1.0

  • Initial release of openldap

Collaborator Number Metric
            

0.2.2 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Foodcritic Metric
            

0.2.2 passed this metric

License Metric
            

0.2.2 passed this metric