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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 265 by misc, Wed Nov 17 15:35:10 2010 UTC revision 266 by misc, Wed Nov 17 15:45:22 2010 UTC
# Line 1  Line 1 
1  class pam {  class pam {
2    
3    package { ["pam_ldap","nss_ldap", "pam_mkhomedir"]:    class base {
4      ensure => installed,          package { ["pam_ldap","nss_ldap", "pam_mkhomedir"]:
5    }          ensure => installed,  
6          }
7    
8    file { "system-auth":        file { "system-auth":
9       path => "/etc/pam.d/system-auth",           path => "/etc/pam.d/system-auth",
10       owner => root,           owner => root,
11       group => root,           group => root,
12       mode => 644,           mode => 644,
13       content => template("openldap/system-auth")           content => template("openldap/system-auth")
14    }        }
15      }
16        
17    # for server where only admin can connect    # for server where only admin can connect
18    class admin_access {    class admin_access inherits base {
19      $access_class = "admin"      $access_class = "admin"
20        # not sure if this line is needed anymore, wil check later
21      file { "system-auth": }      file { "system-auth": }
22    }    }
23    
24    # for server where people can connect with ssh ( git, svn )    # for server where people can connect with ssh ( git, svn )
25    class commiters_access {    class commiters_access inherits base {
26      $access_class = "commiters"      $access_class = "commiters"
27      file { "system-auth": }      file { "system-auth": }
28    }    }

Legend:
Removed from v.265  
changed lines
  Added in v.266

  ViewVC Help
Powered by ViewVC 1.1.30