Revision
267
Author
misc
Date
2010-11-17 16:50:32 +0100 (Wed, 17 Nov 2010)

Log Message

- fix templates
- add nsswitch.conf

Modified Paths

Added Paths

Modified: puppet/modules/pam/manifests/init.pp
===================================================================
--- puppet/modules/pam/manifests/init.pp	2010-11-17 15:45:22 UTC (rev 266)
+++ puppet/modules/pam/manifests/init.pp	2010-11-17 15:50:32 UTC (rev 267)
@@ -10,8 +10,16 @@
          owner => root,
          group => root,
          mode => 644,
-         content => template("openldap/system-auth")
+         content => template("pam/system-auth")
       }
+
+      file { "nsswitch.conf":
+         path => "/etc/nsswitch.conf",
+         owner => root,
+         group => root,
+         mode => 644,
+         content => template("pam/system-auth")
+      }
   } 
   
   # for server where only admin can connect

Added: puppet/modules/pam/templates/nsswitch.conf
===================================================================
--- puppet/modules/pam/templates/nsswitch.conf	                        (rev 0)
+++ puppet/modules/pam/templates/nsswitch.conf	2010-11-17 15:50:32 UTC (rev 267)
@@ -0,0 +1,16 @@
+passwd:     files ldap [UNAVAIL=return]
+shadow:     files ldap [UNAVAIL=return]
+group:      files ldap [UNAVAIL=return]
+hosts:      files mdns4_minimal [NOTFOUND=return] dns
+bootparams: files
+ethers:     files
+netmasks:   files
+networks:   files
+protocols:  files
+rpc:        files
+services:   files
+netgroup:   files ldap
+publickey:  files
+automount:  files
+aliases:    files
+