aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystems')
-rw-r--r--manifests/subsystems/pam.pp8
1 files changed, 6 insertions, 2 deletions
diff --git a/manifests/subsystems/pam.pp b/manifests/subsystems/pam.pp
index 4249b49..7e96321 100644
--- a/manifests/subsystems/pam.pp
+++ b/manifests/subsystems/pam.pp
@@ -2,7 +2,9 @@ class pam {
if $pam != false {
# pam - login
file { "/etc/pam.d/login":
- source => "puppet://$server/modules/nodo/etc/pam.d/login.${lsbdistcodename}",
+ source => [ "puppet://$server/modules/nodo/etc/pam.d/login.${lsbdistcodename}",
+ "puppet://$server/modules/nodo/etc/pam.d/login",
+ ],
owner => "root",
group => "root",
mode => 0644,
@@ -24,7 +26,9 @@ class pam {
owner => root,
group => root,
mode => 0644,
- source => "puppet://$server/files/etc/security/pam_mount.conf.xml",
+ source => [ "puppet://$server/files/etc/security/pam_mount.conf.xml.$lsbdistcodename",
+ "puppet://$server/files/etc/security/pam_mount.conf.xml",
+ ],
}
}
}