aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems
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
parent49b83148ea8fad09fe62f7d91e936b60f42d4990 (diff)
downloadpuppet-nodo-279833df056e8bbba7af670b8a2d0aaadcc73f5f.tar.gz
puppet-nodo-279833df056e8bbba7af670b8a2d0aaadcc73f5f.tar.bz2
Adding laptop class, pam and xorg subsystems
Diffstat (limited to 'manifests/subsystems')
-rw-r--r--manifests/subsystems/pam.pp28
-rw-r--r--manifests/subsystems/xorg.pp10
2 files changed, 38 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",
+ }
+}
diff --git a/manifests/subsystems/xorg.pp b/manifests/subsystems/xorg.pp
new file mode 100644
index 0000000..60902d1
--- /dev/null
+++ b/manifests/subsystems/xorg.pp
@@ -0,0 +1,10 @@
+class xorg {
+ # xorg
+ file { "/etc/X11/xorg.conf":
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 0644,
+ source => "puppet://$server/files/etc/X11/xorg.conf/$hostname",
+ }
+}