From: Peter Palfrader Date: Sat, 27 Jun 2009 17:41:04 +0000 (+0200) Subject: Add pam.d/common-session to puppet X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;ds=inline;h=8b6e630d7d963bef74b27880abee40faa3615138;hp=-c;p=mirror%2Fdsa-puppet.git Add pam.d/common-session to puppet --- 8b6e630d7d963bef74b27880abee40faa3615138 diff --git a/files/etc/pam.d/common-session b/files/etc/pam.d/common-session new file mode 100644 index 000000000..9ae437323 --- /dev/null +++ b/files/etc/pam.d/common-session @@ -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 diff --git a/modules/debian-org/manifests/init.pp b/modules/debian-org/manifests/init.pp index 0ec102812..33672575a 100644 --- a/modules/debian-org/manifests/init.pp +++ b/modules/debian-org/manifests/init.pp @@ -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: {