/[adm]/puppet/modules/pam/manifests/multiple_ldap_access.pp
ViewVC logotype

Contents of /puppet/modules/pam/manifests/multiple_ldap_access.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2935 - (show annotations) (download)
Tue Dec 11 18:56:35 2012 UTC (11 years, 4 months ago) by boklm
File size: 165 byte(s)
Make pam::multiple_ldap_access a class instead of a define

pam::multiple_ldap_access can only be included once. If it is included
multiple time, the value of the variable $access_classes used in
templates/system-auth is random. As it can only be included once, it
should be a parameterized class and not a defined resource.
1 class pam::multiple_ldap_access($access_classes, $restricted_shell = false) {
2 if $restricted_shell {
3 include restrictshell
4 }
5 include pam::base
6 }

  ViewVC Help
Powered by ViewVC 1.1.30