aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/pam.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-24 16:23:19 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-24 16:23:19 -0200
commitc64fae356ed57c48b0774bd43d8118fced0cb96a (patch)
tree9becf7c56ab8fcebc8b3ab61c18c6b66e411190a /manifests/subsystems/pam.pp
parent1c2fb29bea38ccf12adf4fe8fd93fef44245eda0 (diff)
downloadpuppet-nodo-c64fae356ed57c48b0774bd43d8118fced0cb96a.tar.gz
puppet-nodo-c64fae356ed57c48b0774bd43d8118fced0cb96a.tar.bz2
Removing minimal nodo classes
Diffstat (limited to 'manifests/subsystems/pam.pp')
-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}",