From 3bd4a68fe03c36b5a6ce6c8f7a5b52013fb61205 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 17 Feb 2011 23:37:02 -0200 Subject: Multiple options for sourcing PAM configs --- manifests/subsystems/pam.pp | 8 ++++++-- 1 file 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", + ], } } } -- cgit v1.2.3