Skip to content

Commit 2ab5488

Browse files
committed
By default Puppet doesn't follow symlinks when updating files so with /etc/pam.d/system-auth being a symlink to /etc/pam.d/system-auth-ac it wasn't being updated. Added 'links => follow' and this now works as expected.
1 parent a262da2 commit 2ab5488

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Modulefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name 'erwbgy-pamldap'
2-
version '0.1.0'
2+
version '0.1.1'
33
source 'https://github.com/erwbgy/puppet-pamldap.git'
44
author 'erwbgy'
55
license 'Apache License, Version 2.0'

manifests/config.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
File {
99
owner => 'root',
1010
group => 'root',
11+
links => 'follow',
1112
}
1213
file { '/etc/pam.d/system-auth':
1314
ensure => present,

0 commit comments

Comments
 (0)