aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/pam.pp
blob: 2e75ddd93ec6c8929fed0120db9dcf2c7a0d2e92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
class pam {
  if $pam != false {
    # pam - login
    file { "/etc/pam.d/login":
      source  => [ "puppet:///modules/nodo/etc/pam.d/login.${lsbdistcodename}",
                   "puppet:///modules/nodo/etc/pam.d/login",
                 ],
      owner   => "root",
      group   => "root",
      mode    => 0644,
      ensure  => present,
    }

    # pam - gdm
    file { "/etc/pam.d/gdm":
      source  => "puppet:///modules/nodo/etc/pam.d/gdm",
      owner   => "root",
      group   => "root",
      mode    => 0644,
      ensure  => present,
    }

    # pam - mountpoints
    file { "/etc/security/pam_mount.conf.xml":
      ensure  => present,
      owner   => root,
      group   => root,
      mode    => 0644,
      source  => [ "puppet:///modules/site_nodo/security/pam_mount.conf.xml.$lsbdistcodename",
                   "puppet:///modules/site_nodo/security/pam_mount.conf.xml",
                 ],
    }
  }
}