aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/firewire.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-04-11 14:13:55 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-04-11 14:13:55 -0300
commit6e09c1c6f4c32cf186cec0157e9839d61b73e19f (patch)
treebc1f6413a4d63eb10589bf7d204ec202150df3bc /manifests/subsystems/firewire.pp
parent4fa5c3e7cdbd7160d6a6f3abc8a2eeb09b639c40 (diff)
downloadpuppet-nodo-6e09c1c6f4c32cf186cec0157e9839d61b73e19f.tar.gz
puppet-nodo-6e09c1c6f4c32cf186cec0157e9839d61b73e19f.tar.bz2
Adding modprobe class and, new packages on utils::personal
Diffstat (limited to 'manifests/subsystems/firewire.pp')
-rw-r--r--manifests/subsystems/firewire.pp12
1 files changed, 2 insertions, 10 deletions
diff --git a/manifests/subsystems/firewire.pp b/manifests/subsystems/firewire.pp
index 1c9609a..088e194 100644
--- a/manifests/subsystems/firewire.pp
+++ b/manifests/subsystems/firewire.pp
@@ -1,15 +1,7 @@
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
+ # see http://padrao.sarava.org/trac/wiki/Debian/Firewire
+ # see also the modprobe class
exec { "rmmod ohci1394":
unless => "/bin/sh -c 'if `grep -q ^ohci1394 /proc/modules`; then false; else true; fi'",
user => "root",