Forge Home

subsonic

Puppet module to install and configure Subsonic.

7,092 downloads

7,092 latest version

4.5 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.1.0 (latest)
released Jul 30th 2015
This version is compatible with:
  • RedHat, CentOS, Debian, Ubuntu

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'GiooDev-subsonic', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add GiooDev-subsonic
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install GiooDev-subsonic --version 0.1.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

GiooDev/subsonic — version 0.1.0 Jul 30th 2015

subsonic

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with subsonic
  4. Usage - Configuration options and additional functionality
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module

Overview

Subsonic is an Open-source web-based media streamer and jukebox. It Supports MP3, OGG, AAC and other streamable audio and video formats.

Module Description

This Puppet module will install and configure Subsonic.

Setup

Beginning with subsonic

include '::subsonic' is enough to get you up and running. If you wish to specify parameters to use, then:

class { 'subsonic':
    max_memory => '256',
}

Usage

Here is a complete example with all available parameters to configure Subsonic:

class { 'subsonic':
    home         => '/var/subsonic',
    host         => '127.0.0.1',
    http_port    => '2020',
    https_port   => '0',
    context_path => '/',
    max_memory   => '150',
    pidfile      => '/var/run/subsonic',
    user         => 'root',
}

See subsonic --help for more informations about default parameters

  • home The directory where Subsonic will create files. Default: /var/subsonic
  • host The host name or IP address on which to bind Subsonic. Default: 0.0.0.0
  • http_port The port on which Subsonic will listen for incoming HTTP traffic. Default: 4040
  • https_port The port on which Subsonic will listen for incoming HTTPS traffic. Default: 0 (disabled)
  • context_path The last part of the Subsonic URL. Default: /
  • max_memory The memory limit (max Java heap size) in megabytes. Default: 150
  • pidfile Write PID to this file. Default: not created.
  • user The user to run Subsonic. Default: root

Limitations

puppetm-subsonic module has been tested on RedHat, Debian and Ubuntu distribution. Adding support for other systems is a matter of defining the relevant parameters in params.pp. So this is really easy for someone with access to such a system.

Patches to support any of these (or other) missing features are welcome.

Development

Contributions are welcome :)