8000 GitHub - rlmoser/puppet-squeezelite: Manage squeezelite via Puppet
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

rlmoser/puppet-squeezelite

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

squeezelite

Table of Contents

  1. Overview
  2. Setup - The basics of getting started with squeezelite
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module

Overview

This module installs and manages the squeezelite package and service. It's tested on Debian and Ubuntu systems. Other distribution may need only minor changes for package names.

Setup

What squeezelite affects

This package will create three files:

  • /usr/local/bin/squeezelite
  • /etc/default/squeezelite
  • /etc/init.d/squeezelite

Beginning with squeezelite

include '::squeezelite' is enough to get started. If you wish to pass in parameters specifying the player name, then:

class { '::squeezelite':
  player_name => 'boooooooombox',
}

Usage

All interaction with the squeezelite module can be done with the main class.

Reference

Classes

Public classes

  • squeezelite: Main class, includes all other classes

Private classes

  • squeezelite::install: Handles package install.
  • squeezelite::config: Handles configuration and init file.
  • squeezelite::service: Handles the service.

###Parameters

##player_name

player name shown in logitech media server
optional, defaults to hostname

##soundcard

Set the soundcard
example: "sysdefault:CARD=ALSA"
optional

##mac_address

Change the mac address
Note: when left commented squeezelite will use the mac address of your ethernet card or wifi adapter, which is what you want. If you change it to something different, it will give problems is you use mysqueezebox.com.
optional

##server_ip

Change the IP address of your squeezebox server
optional

##auto_play

Start playing when starting the service
optional, defaults to false

##alsa_params

Set ALSA parameters
example: "80"
optional

##log_file

path to a log file
only useful in combination with log_level
optional

##log_level

example: "all=debug"
only useful in combination with log_file
optional

Limitations

This module has been build and tested agains Puppet 3.6 and higher.

The module has been tested on:

  • Debian 6/7
  • Ubuntu 14.04

Development

Just fork and send PR on github.

About

Manage squeezelite via Puppet

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 46.6%
  • Puppet 28.6%
  • Ruby 16.9%
  • HTML 7.9%
0