/[adm]/puppet/modules/openldap/manifests/common.pp
ViewVC logotype

Contents of /puppet/modules/openldap/manifests/common.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2601 - (show annotations) (download)
Mon Mar 19 14:09:31 2012 UTC (12 years, 1 month ago) by misc
File size: 717 byte(s)
split most class and define from main openldap init.pp file
1 class openldap::common {
2 package { 'openldap-servers': }
3
4 service { 'ldap':
5 subscribe => Package['openldap-servers'],
6 require => Openssl::Self_signed_cert["ldap.$::domain"],
7 }
8
9 exec { '/etc/init.d/ldap check':
10 refreshonly => true,
11 notify => Service['ldap'],
12 }
13
14 file { '/etc/ssl/openldap/':
15 ensure => directory,
16 }
17
18 openssl::self_signed_cert{ "ldap.$::domain":
19 directory => '/etc/ssl/openldap/',
20 }
21
22 openldap::config {
23 '/etc/openldap/slapd.conf':
24 content => '';
25 '/etc/openldap/mandriva-dit-access.conf':
26 content => '';
27 '/etc/sysconfig/ldap':
28 content => '';
29 }
30 }

  ViewVC Help
Powered by ViewVC 1.1.30