aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/firewire.pp
blob: 1c9609a675a713bbd046d6cc088c631f320f1a2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class firewire {
  # keep firewire disabled
  # see http://padrao.sarava.org/trac/wiki/Debian/Firewire
  file { "/etc/modprobe.d/blacklist":
    owner   => "root",
    group   => "root",
    mode    => 0644,
    ensure  => present,
    source  => "puppet://$server/modules/nodo/etc/modprobe.d/blacklist",
  }

  # make sure ohci1394 is not loaded
  exec { "rmmod ohci1394":
    unless  => "/bin/sh -c 'if `grep -q ^ohci1394 /proc/modules`; then false; else true; fi'",
    user    => "root",
  }
}