| Class | ldap::define |
| In: |
Define: ldap::server::openldap::domain
This custom definition sets up all of the necessary configuration Files to bootstrap a LDAP tree. This uses the File-Fragment pattern to break up and assemble various portions of the configuration.
Parameters:
ensure - (true|false) Enable or disable a configured tree. Disabled trees
will not be deleted, but rather will remain on the file system
for archival purposes.
basedn - Base DN for setting up the LDAP server. rootdn - Base DN for the administrator acount on an LDAP server. rootpw - Password for the administrator account. Will accept any valid
- Hashed (crypt|(s)md5|(s)sha) or plaintext password.
Actions:
This definition acts as a proxy class to various server implementations
Requires:
Sample Usage: Server Configuration: ldap::define::domain {‘puppetlabs.test’:
basedn => 'dc=puppetlabs,dc=test', rootdn => 'cn=admin', rootpw => 'test',
}
Define: ldap::server::openldap::domain
This custom definition sets up all of the necessary configuration Files to include custom schema in OpenLDAP. This uses the File-Fragment pattern to break up and assemble various portions of the configuration.
Parameters:
ensure - (true|false) Enable or disable a configured tree. Disabled trees
will not be deleted, but rather will remain on the file system
for archival purposes.
source - Source file for processing by Puppet
Actions:
This definition acts as a proxy class to various server implementations
Requires:
Sample Usage: Server Configuration: ldap::define::schema { ‘websages’:
ensure => 'present', source => 'puppet:///modules/ldap/schema/websages.schema',
}