diff options
Diffstat (limited to 'manifests/subsystems')
-rw-r--r-- | manifests/subsystems/firewire.pp | 12 | ||||
-rw-r--r-- | manifests/subsystems/modprobe.pp | 10 | ||||
-rw-r--r-- | manifests/subsystems/utils.pp | 3 |
3 files changed, 14 insertions, 11 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", diff --git a/manifests/subsystems/modprobe.pp b/manifests/subsystems/modprobe.pp new file mode 100644 index 0000000..6192f6d --- /dev/null +++ b/manifests/subsystems/modprobe.pp @@ -0,0 +1,10 @@ +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", + } +} diff --git a/manifests/subsystems/utils.pp b/manifests/subsystems/utils.pp index 4b66e24..67006b6 100644 --- a/manifests/subsystems/utils.pp +++ b/manifests/subsystems/utils.pp @@ -46,7 +46,8 @@ class utils::personal { 'audacious', 'qjackctl', 'bittorrent', 'subversion', 'fortunes-br', 'xine-ui', 'broffice.org', 'mozilla-firefox-adblock', 'cups-client', - 'amarok', 'mc' ]: + 'amarok', 'mc', 'wodim', + 'genisoimage', 'dvd+rw-tools' ]: ensure => installed, } |