Resource Type: openldap_schema

Defined in:
lib/puppet/type/openldap_schema.rb
Providers:
olc

Overview

Manages an OpenLDAP schema object.

Examples:

Load the cosine schema

include ::openldap::server

openldap_schema { 'cosine':
  ensure => present,
  ldif   => '/etc/openldap/schema/cosine.ldif',
}

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent

Parameters

  • ldif

    LDIF file containing schema to load.

  • name (namevar)

    The name of the schema.

  • provider

    The specific backend to use for this ‘openldap_schema` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.

  • service (defaults to: slapd)

    The name of the slapd service.