dweinand / plex-cookbook

Chef recipes for setting up Plex Media Server/Media Center

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

plex cookbook

This is a set of chef recipes for setting up a plex media server or media center.

Requirements

Platform

These recipes have been tested on Mac OS X 10.8, but may work on earlier versions.

Cookbooks

This cookbook relies on opscode's dmg cookbook.

Attributes

plex::media_server

Key Type Description Default
['plex']['media_server']['dmg_url'] String Url to the dmg to use for installing Plex Media Server [Latest official non-plex-pass release]
['plex']['media_server']['dmg_volume'] String Name of the volume the dmg will mount PlexMediaServer

plex::media_center

Key Type Description Default
['plex']['media_center']['zip_url'] String Url to the zip file to use for installing Plex Media Center [Latest official non-plex-pass release]

plex::channels

Key Type Description Default
['plex']['media_server']['channels'] Array List of channels to install []

plex::flash_player

Key Type Description Default
['plex']['flash_player']['dmg_url'] String Url to the dmg to use for installing Adobe Flash Player [Latest official release]
['plex']['flash_player']['dmg_volume'] String Name of the volume the dmg will mount Adobe Flash Player Installer

plex::silverlight

Key Type Description Default
['plex']['silverlight']['dmg_url'] String Url to the dmg to use for installing Microsoft Silverlight [Latest official release]
['plex']['silverlight']['pkg_id'] String Identifer for the installer package com.microsoft.SilverlightInstaller

Usage

plex::channels

Specify a list of channels to install in your node data, and include plex::channels in the run_list.

Each channel should be hash of the name of the channel, and it's bundle identifier.

{
  "name":"my_node",
  "plex": {
    "media_server": {
      "channels": [
        {
          "name": "The Colbert Report",
          "id": "com.plexapp.plugins.thecolbertreport"
        },
        {
          "name": "The Daily Show",
          "id": "com.plexapp.plugins.thedailyshow"
        }
      ]
    }
  }
  "run_list": [
    "recipe[plex::media_server]",
    "recipe[plex::channels]"
  ]
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write you change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Authors: Dan Weinand

License: MIT

About

Chef recipes for setting up Plex Media Server/Media Center


Languages

Language:Ruby 100.0%