Defined Type: openldap::ldap_schema

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

Overview



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

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']
}