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

Contents of /puppet/modules/openldap/manifests/slave.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: 580 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::slave($rid) inherits openldap {
2
3 @@openldap::exported_slave { $rid: }
4
5 $sync_password = extlookup("ldap_syncuser-$::hostname",'x')
6
7 # same access rights as master
8 Openldap::Config['/etc/openldap/mandriva-dit-access.conf'] {
9 content => template('openldap/mandriva-dit-access.conf'),
10 }
11
12 Openldap::Config['/etc/openldap/slapd.conf'] {
13 content => template('openldap/slapd.conf','openldap/slapd.syncrepl.conf'),
14 }
15
16 Openldap::Config['/etc/sysconfig/ldap'] {
17 content => template('openldap/ldap.sysconfig'),
18 }
19 }

  ViewVC Help
Powered by ViewVC 1.1.30