From d09ba0c2922569239b616e00e7a51afeeb934521 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 27 Jun 2009 16:16:39 +0200 Subject: [PATCH] Add ldap.conf --- files/etc/ldap/ldap.conf | 24 ++++++++++++++++++++++++ modules/debian-org/manifests/init.pp | 3 +++ 2 files changed, 27 insertions(+) create mode 100644 files/etc/ldap/ldap.conf diff --git a/files/etc/ldap/ldap.conf b/files/etc/ldap/ldap.conf new file mode 100644 index 000000000..9dd5311bb --- /dev/null +++ b/files/etc/ldap/ldap.conf @@ -0,0 +1,24 @@ +## +## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE. +## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git +## + +# +# LDAP Defaults +# + +# See ldap.conf(5) for details +# This file should be world readable but not world writable. + +#BASE dc=example,dc=com +#URI ldap://ldap.example.com ldap://ldap-master.example.com:666 + +#SIZELIMIT 12 +#TIMELIMIT 15 +#DEREF never + +URI ldap://db.debian.org +BASE dc=debian,dc=org + +TLS_CACERT /etc/ssl/certs/spi-cacert-2008.pem +TLS_REQCERT hard diff --git a/modules/debian-org/manifests/init.pp b/modules/debian-org/manifests/init.pp index ae9e504c9..0ec102812 100644 --- a/modules/debian-org/manifests/init.pp +++ b/modules/debian-org/manifests/init.pp @@ -67,6 +67,9 @@ class debian-org { source => "puppet:///files/etc/cron.d/dsa-puppet-stuff", require => Package["cron"] ; + "/etc/ldap/ldap.conf": + source => "puppet:///files/etc/ldap/ldap.conf", + ; } case $hostname { handel: { -- 2.20.1