diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-05-18 23:29:31 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-05-18 23:29:31 -0300 |
commit | 99ae56b85ea726eff3d4978097bf850d7a561763 (patch) | |
tree | 096107e7664c475c3604d69ea1041fe43bdafe1d | |
parent | 91159c7c48c1c8d9a2c4f74bbf3eaf61e660a862 (diff) | |
download | puppet-nodo-99ae56b85ea726eff3d4978097bf850d7a561763.tar.gz puppet-nodo-99ae56b85ea726eff3d4978097bf850d7a561763.tar.bz2 |
Introducing $pam
-rw-r--r-- | manifests/subsystems/pam.pp | 48 |
1 files changed, 25 insertions, 23 deletions
diff --git a/manifests/subsystems/pam.pp b/manifests/subsystems/pam.pp index 3358784..550e101 100644 --- a/manifests/subsystems/pam.pp +++ b/manifests/subsystems/pam.pp @@ -1,28 +1,30 @@ class pam { - # pam - login - file { "/etc/pam.d/login": - source => "puppet://$server/modules/nodo/etc/pam.d/login", - owner => "root", - group => "root", - mode => 0644, - ensure => present, - } + if $pam != false { + # pam - login + file { "/etc/pam.d/login": + source => "puppet://$server/modules/nodo/etc/pam.d/login", + owner => "root", + group => "root", + mode => 0644, + ensure => present, + } - # pam - gdm - file { "/etc/pam.d/gdm": - source => "puppet://$server/modules/nodo/etc/pam.d/gdm", - owner => "root", - group => "root", - mode => 0644, - ensure => present, - } + # pam - gdm + file { "/etc/pam.d/gdm": + source => "puppet://$server/modules/nodo/etc/pam.d/gdm", + owner => "root", + group => "root", + mode => 0644, + ensure => present, + } - # pam - mountpoints - file { "/etc/security/pam_mount.conf.xml": - ensure => present, - owner => root, - group => root, - mode => 0644, - source => "puppet://$server/files/etc/security/pam_mount.conf.xml", + # pam - mountpoints + file { "/etc/security/pam_mount.conf.xml": + ensure => present, + owner => root, + group => root, + mode => 0644, + source => "puppet://$server/files/etc/security/pam_mount.conf.xml", + } } } |