aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/laptop.pp1
-rw-r--r--manifests/subsystems/modprobe.pp9
-rw-r--r--manifests/subsystems/sysctl.pp10
3 files changed, 20 insertions, 0 deletions
diff --git a/manifests/laptop.pp b/manifests/laptop.pp
index 9753869..5b7ecdb 100644
--- a/manifests/laptop.pp
+++ b/manifests/laptop.pp
@@ -1,6 +1,7 @@
class nodo::laptop inherits nodo::personal {
include utils::laptop
include modprobe::laptop
+ include sysctl::laptop
# fstab
file { "/etc/fstab":
diff --git a/manifests/subsystems/modprobe.pp b/manifests/subsystems/modprobe.pp
index cfd6be8..01a2f91 100644
--- a/manifests/subsystems/modprobe.pp
+++ b/manifests/subsystems/modprobe.pp
@@ -17,4 +17,13 @@ class modprobe::laptop {
ensure => present,
source => "puppet://$server/modules/nodo/etc/modules/laptop",
}
+
+ # see http://wiki.debian.org/DebianAcerOne#Cardreader
+ file { "/etc/modprobe.d/aspire-blacklist-memstick.conf":
+ owner => "root",
+ group => "root",
+ mode => 0644,
+ ensure => present,
+ source => "puppet://$server/modules/nodo/etc/modprobe.d/aspire-blacklist-memstick.conf",
+ }
}
diff --git a/manifests/subsystems/sysctl.pp b/manifests/subsystems/sysctl.pp
index 3bd028c..7dfb875 100644
--- a/manifests/subsystems/sysctl.pp
+++ b/manifests/subsystems/sysctl.pp
@@ -14,3 +14,13 @@ class sysctl {
refreshonly => true,
}
}
+
+class sysctl::laptop {
+ file { "/etc/sysctl.d/madwifi.conf":
+ owner => "root",
+ group => "root",
+ mode => 0644,
+ ensure => present,
+ source => "puppet://$server/modules/nodo/etc/sysctl.d/madwifi.conf",
+ }
+}