Last change
on this file since 765 was
491,
checked in by sebas, 15 years ago
|
nuevo modulo puppet para manejar un cliente de streaming audio (darkice) hacia un servidor icecast2
|
File size:
501 bytes
|
Rev | Line | |
---|
[491] | 1 | class audiostreamer::client { |
---|
| 2 | |
---|
| 3 | ## utile |
---|
| 4 | package { [ 'alsa-utils', 'moc' ]: ensure => installed } |
---|
| 5 | |
---|
| 6 | ## client de stream (playlist) ogg + mp3 |
---|
| 7 | package { "ezstream": ensure => installed } |
---|
| 8 | |
---|
| 9 | ## client de stream (/dev/dsp) mp3 |
---|
| 10 | package { "darkice": ensure => installed } |
---|
| 11 | |
---|
| 12 | ## config |
---|
| 13 | file { |
---|
| 14 | "/etc/darkice.cfg": |
---|
| 15 | owner => root, |
---|
| 16 | group => root, |
---|
| 17 | mode => 755, |
---|
| 18 | require => Package["darkice"], |
---|
| 19 | content => template("audiostreamer/darkice.cfg.erb"); |
---|
| 20 | } |
---|
| 21 | |
---|
| 22 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.