aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/pam.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-04-10 10:35:55 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-04-10 10:35:55 -0300
commit279833df056e8bbba7af670b8a2d0aaadcc73f5f (patch)
tree41fa8cf1e692ed5274ec12ff86113b9eca766368 /manifests/subsystems/pam.pp
parent49b83148ea8fad09fe62f7d91e936b60f42d4990 (diff)
downloadpuppet-nodo-279833df056e8bbba7af670b8a2d0aaadcc73f5f.tar.gz
puppet-nodo-279833df056e8bbba7af670b8a2d0aaadcc73f5f.tar.bz2
Adding laptop class, pam and xorg subsystems
Diffstat (limited to 'manifests/subsystems/pam.pp')
-rw-r--r--manifests/subsystems/pam.pp28
1 files changed, 28 insertions, 0 deletions
diff --git a/manifests/subsystems/pam.pp b/manifests/subsystems/pam.pp
new file mode 100644
index 0000000..3358784
--- /dev/null
+++ b/manifests/subsystems/pam.pp
@@ -0,0 +1,28 @@
+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,
+ }
+
+ # 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",
+ }
+}