aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-04-11 15:54:53 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-04-11 15:54:53 -0300
commitb59bef5fc1790012a7f01644cd156f694dcf19f2 (patch)
tree74c6968f5811dc37dbe39c52898b01365d1d26db /manifests
parent6e09c1c6f4c32cf186cec0157e9839d61b73e19f (diff)
downloadpuppet-nodo-b59bef5fc1790012a7f01644cd156f694dcf19f2.tar.gz
puppet-nodo-b59bef5fc1790012a7f01644cd156f694dcf19f2.tar.bz2
Adding modprobe::laptop
Diffstat (limited to 'manifests')
-rw-r--r--manifests/laptop.pp1
-rw-r--r--manifests/subsystems/modprobe.pp10
2 files changed, 11 insertions, 0 deletions
diff --git a/manifests/laptop.pp b/manifests/laptop.pp
index 1591aa7..9753869 100644
--- a/manifests/laptop.pp
+++ b/manifests/laptop.pp
@@ -1,5 +1,6 @@
class nodo::laptop inherits nodo::personal {
include utils::laptop
+ include modprobe::laptop
# fstab
file { "/etc/fstab":
diff --git a/manifests/subsystems/modprobe.pp b/manifests/subsystems/modprobe.pp
index 6192f6d..cfd6be8 100644
--- a/manifests/subsystems/modprobe.pp
+++ b/manifests/subsystems/modprobe.pp
@@ -8,3 +8,13 @@ class modprobe {
source => "puppet://$server/modules/nodo/etc/modprobe.d/blacklist",
}
}
+
+class modprobe::laptop {
+ file { "/etc/modules":
+ owner => "root",
+ group => "root",
+ mode => 0644,
+ ensure => present,
+ source => "puppet://$server/modules/nodo/etc/modules/laptop",
+ }
+}