From 540bc4c391680c0acb5232e1d830bb9b13eabc55 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 11 Apr 2010 17:15:20 -0300 Subject: Adding sysctl::laptop --- manifests/subsystems/modprobe.pp | 9 +++++++++ manifests/subsystems/sysctl.pp | 10 ++++++++++ 2 files changed, 19 insertions(+) (limited to 'manifests/subsystems') 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", + } +} -- cgit v1.2.3