Skip to content
Browse files

Add midi module.

  • Loading branch information...
1 parent d7368d7 commit e37fdb02f1f0462a723d7793e29574a9e1371ac0 @MostAwesomeDude MostAwesomeDude committed Apr 3, 2012
Showing with 15 additions and 0 deletions.
  1. +9 −0 modules/midi/manifests/init.pp
  2. +6 −0 modules/midi/manifests/params.pp
View
9 modules/midi/manifests/init.pp
@@ -0,0 +1,9 @@
+class midi {
+ include midi::params
+ package { "fluidsynth":
+ ensure => present,
+ }
+ package { "${midi::params::timidity_package}":
+ ensure => present,
+ }
+}
View
6 modules/midi/manifests/params.pp
@@ -0,0 +1,6 @@
+class midi::params {
+ $timidity_package = $::operatingsystem ? {
+ /Fedora/ => "timidity++",
+ default => "timidity",
+ }
+}

0 comments on commit e37fdb0

Please sign in to comment.
Something went wrong with that request. Please try again.