aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/pam.pp
blob: 4249b49804e3f8a11687d536a367cbf5e1269411 (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
class pam {
  if $pam != false {
    # pam - login
    file { "/etc/pam.d/login":
      source  => "puppet://$server/modules/nodo/etc/pam.d/login.${lsbdistcodename}",
      owner   => "root",
      group   => "root",
      mode    => 0644,
      ensure  => present,
    }

    # pam - gdm
    file { "/etc/pam.d/gdm":
      source  => "puppet://$server/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://$server/files/etc/security/pam_mount.conf.xml",
    }
  }
}