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

Annotation of /puppet/modules/pam/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 265 - (hide annotations) (download)
Wed Nov 17 15:35:10 2010 UTC (13 years, 5 months ago) by misc
File size: 560 byte(s)
- add a proto module for taking care of pam ( need pam_ldap, etc support, and a review of the pam config file too )
1 misc 265 class pam {
2    
3     package { ["pam_ldap","nss_ldap", "pam_mkhomedir"]:
4     ensure => installed,
5     }
6    
7    
8     file { "system-auth":
9     path => "/etc/pam.d/system-auth",
10     owner => root,
11     group => root,
12     mode => 644,
13     content => template("openldap/system-auth")
14     }
15    
16     # for server where only admin can connect
17     class admin_access {
18     $access_class = "admin"
19     file { "system-auth": }
20     }
21    
22     # for server where people can connect with ssh ( git, svn )
23     class commiters_access {
24     $access_class = "commiters"
25     file { "system-auth": }
26     }
27     }

  ViewVC Help
Powered by ViewVC 1.1.30