Defined Type: openldap::ldap_schema

Defined in:
modules/openldap/manifests/ldap_schema.pp

Overview

SPDX-License-Identifier: Apache-2.0



2
3
4
5
6
7
8
9
10
11
12
13
# File 'modules/openldap/manifests/ldap_schema.pp', line 2

define openldap::ldap_schema {
    file { "/etc/ldap/schema/${name}" :
        ensure => present,
        owner  => 'root',
        group  => 'root',
        mode   => '0444',
        source => "puppet:///modules/openldap/${name}",
    }

    Package['slapd'] -> File["/etc/ldap/schema/${name}"]
    File["/etc/ldap/schema/${name}"] -> Service['slapd']
}