]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
move ldap.conf as test of new file structure
authorStephen Gran <steve@lobefin.net>
Wed, 26 Jan 2011 07:26:07 +0000 (07:26 +0000)
committerStephen Gran <steve@lobefin.net>
Wed, 26 Jan 2011 07:26:07 +0000 (07:26 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
files/etc/ldap/ldap.conf [deleted file]
modules/debian-org/files/ldap.conf [new file with mode: 0644]
modules/debian-org/manifests/init.pp

diff --git a/files/etc/ldap/ldap.conf b/files/etc/ldap/ldap.conf
deleted file mode 100644 (file)
index 9dd5311..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-##
-## 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/files/ldap.conf b/modules/debian-org/files/ldap.conf
new file mode 100644 (file)
index 0000000..9dd5311
--- /dev/null
@@ -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
index 6a16b404fea40ce8a426af29197923e89bd38114..9d2d50295f246acf6b3c1edeb20d9591e459ba96 100644 (file)
@@ -85,7 +85,7 @@ class debian-org {
             ;
         "/etc/ldap/ldap.conf":
             require => Package["userdir-ldap"],
-            source => "puppet:///files/etc/ldap/ldap.conf",
+            source => "puppet:///modules/debian.org/ldap.conf",
             ;
         "/etc/pam.d/common-session":
             require => Package["libpam-pwdfile"],