Skip to content

Commit 62ff46c

Browse files
committed
In /etc/pam.d system-auth is a symlink to system-auth-ac so update that instead.
1 parent 2ab5488 commit 62ff46c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

manifests/config.pp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,19 @@
88
File {
99
owner => 'root',
1010
group => 'root',
11-
links => 'follow',
1211
}
13-
file { '/etc/pam.d/system-auth':
12+
file { '/etc/pam.d/system-auth-ac':
1413
ensure => present,
1514
mode => '0444',
1615
content => template('pamldap/system-auth.erb'),
1716
require => Class['pamldap::install'],
1817
notify => Class['pamldap::service'],
1918
}
19+
file { '/etc/pam.d/system-auth':
20+
ensure => present,
21+
target => 'system-auth-ac',
22+
require => File['/etc/pam.d/system-auth-ac'],
23+
}
2024
file { '/etc/nsswitch.conf':
2125
ensure => present,
2226
mode => '0444',

0 commit comments

Comments
 (0)