aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystems')
-rw-r--r--manifests/subsystems/pam.pp6
1 files changed, 4 insertions, 2 deletions
diff --git a/manifests/subsystems/pam.pp b/manifests/subsystems/pam.pp
index d2e1559..62b9e22 100644
--- a/manifests/subsystems/pam.pp
+++ b/manifests/subsystems/pam.pp
@@ -1,5 +1,7 @@
-class pam {
- if $pam != false {
+class pam(
+ $enable = hiera('nodo::pam::enable', false)
+) {
+ if $enable != false {
# pam - login
file { "/etc/pam.d/login":
source => [ "puppet:///modules/nodo/etc/pam.d/login.${::lsbdistcodename}",