Parent Directory
|
Revision Log
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 | # for server where only admins can connect |
2 | class access_classes::admin { |
3 | class { pam::multiple_ldap_access: |
4 | access_classes => ['mga-sysadmin'] |
5 | } |
6 | } |
7 | |
8 |
ViewVC Help | |
Powered by ViewVC 1.1.28 |