some more squeeze + wheezy fixups
[mirror/dsa-puppet.git] / modules / debian-org / templates / pam.common-session.erb
index 360b09d..be99343 100644 (file)
@@ -3,7 +3,7 @@
 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
 ##
 
-<% if nodeinfo.has_key?('squeeze') and nodeinfo['squeeze'] %>
+<% if (nodeinfo.has_key?('squeeze') and nodeinfo['squeeze']) or (nodeinfo.has_key?('wheezy') and nodeinfo['wheezy']) %>
 #
 # /etc/pam.d/common-session - session-related modules common to all services
 #