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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2603 - (show annotations) (download)
Mon Mar 19 14:09:36 2012 UTC (12 years, 1 month ago) by misc
File size: 709 byte(s)
rename common to init.pp, and split off slave in a separate file
simplify the inheritence tree, since puppet-lint complain
1 class openldap {
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