aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/modprobe.pp
blob: 01a2f91a64caf24e1890bf47fcb062bc13267b95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
class modprobe {
  # keep firewire disabled among other things
  file { "/etc/modprobe.d/blacklist":
    owner   => "root",
    group   => "root",
    mode    => 0644,
    ensure  => present,
    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",
  }

  # 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",
  }
}