aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/pam.pp
blob: 550e10116ed1610eaa21cb88f6212f5a9aeb34a7 (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",
      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",
    }
  }
}