26 lines
366 B
Puppet
26 lines
366 B
Puppet
|
# Class: openldap
|
||
|
#
|
||
|
# This class installs the openldap servers and clients software.
|
||
|
#
|
||
|
# Parameters:
|
||
|
#
|
||
|
# Actions:
|
||
|
#
|
||
|
# Requires:
|
||
|
#
|
||
|
# Sample Usage:
|
||
|
#
|
||
|
# include openldap
|
||
|
#
|
||
|
class openldap {
|
||
|
|
||
|
package { ['openldap-servers', 'openldap-clients']:
|
||
|
ensure => latest,
|
||
|
}
|
||
|
|
||
|
service { 'slapd':
|
||
|
ensure => running,
|
||
|
require => Package['openldap-servers']
|
||
|
}
|
||
|
}
|