Version information
This version is compatible with:
- , ,
Start using this module
Add this module to your Puppetfile:
mod 'jimmypw-shoutcast', '0.1.1'
Learn more about managing modules with a PuppetfileDocumentation
shoutcast
Table of Contents
- Description
- Setup - The basics of getting started with shoutcast
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
Description
Shoutcast is a freely available internet radio server available from: www.shoutcast.com
Setup
What shoutcast affects
This module will install and configure a shoutcast server, systemd unit files, configuration and various streams.
Setup Requirements
To get started you need to have at least one Authhash from shoutcast.com
Beginning with shoutcast
Declare the top-level shoutcast
class to set up software and define a stream:
class { 'shoutcast':
adminpasssword => 'bogusadminpassword',
password => 'boguspassword'
}
shoutcast::stream { 'stationname':
streamid => 1,
authhash => 'xyxyxyxyxyxyxy'
}
Usage
All of the parameters mentioned above are required. For each there is an optional
config
parameter that will allow you to inject arbitary configuration in to
the configuration file at that point eg...
class { 'shoutcast':
adminpasssword => 'bogusadminpassword',
password => 'boguspassword',
config => {
'portbase' => '5555'
}
}
shoutcast::stream { 'stationname':
streamid => 1,
authhash => 'xyxyxyxyxyxyxy',
config => {
'streamintrofile' => '/path/to/intro/file.mp3'
}
}
Limitations
Although the binary provided by shoutcast is a universal binary there is no guarantee that it will run on your system. By default this module will install the 64 bit executable. There is a 32 bit executable but you have to provide the url yourself.
This module does not handle software upgrades. In order to upgrade the
software you must rm /opt/shoutcast
before re-applying the module to your
system.
Release Notes/Contributors/Etc. Optional
24-5-2017 0.1.1 Fixes to tests, improvement to readme file. 23-5-2017 0.1.0 Initial Release
Dependencies
- puppetlabs-stdlib (>= 4.0.0 < 5.0.0)
- puppet-archive (>= 1.0.0 < 2.0.0)
- puppetlabs-concat (>= 4.0.0 < 5.0.0)