diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-04-11 17:15:20 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-04-11 17:15:20 -0300 |
commit | 540bc4c391680c0acb5232e1d830bb9b13eabc55 (patch) | |
tree | 7a84b055be7d6d33960339154e7400762884550a /manifests/subsystems | |
parent | af9cca69e3dd50c12a415f86be99eef41e19fbc7 (diff) | |
download | puppet-nodo-540bc4c391680c0acb5232e1d830bb9b13eabc55.tar.gz puppet-nodo-540bc4c391680c0acb5232e1d830bb9b13eabc55.tar.bz2 |
Adding sysctl::laptop
Diffstat (limited to 'manifests/subsystems')
-rw-r--r-- | manifests/subsystems/modprobe.pp | 9 | ||||
-rw-r--r-- | manifests/subsystems/sysctl.pp | 10 |
2 files changed, 19 insertions, 0 deletions
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", + } +} |