Add pam.d/common-session to puppet
authorPeter Palfrader <peter@palfrader.org>
Sat, 27 Jun 2009 17:41:04 +0000 (19:41 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sat, 27 Jun 2009 17:41:04 +0000 (19:41 +0200)
files/etc/pam.d/common-session [new file with mode: 0644]
modules/debian-org/manifests/init.pp

diff --git a/files/etc/pam.d/common-session b/files/etc/pam.d/common-session
new file mode 100644 (file)
index 0000000..9ae4373
--- /dev/null
@@ -0,0 +1,15 @@
+##
+## 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
+##
+
+#
+# /etc/pam.d/common-session - session-related modules common to all services
+#
+# This file is included from other service-specific PAM config files,
+# and should contain a list of modules that define tasks to be performed
+# at the start and end of sessions of *any* kind (both interactive and
+# non-interactive).  The default is pam_unix.
+#
+session        required        pam_unix.so
+session        optional        pam_mkhomedir.so skel=/etc/skel umask=0022
index 0ec1028..3367257 100644 (file)
@@ -70,6 +70,9 @@ class debian-org {
       "/etc/ldap/ldap.conf":
              source => "puppet:///files/etc/ldap/ldap.conf",
              ;
+      "/etc/pam.d/common-session":
+             source => "puppet:///files/etc/pam.d/common-session",
+             ;
    }
    case $hostname {
         handel: {