This is a set of chef recipes for setting up a plex media server or media center.
These recipes have been tested on Mac OS X 10.8, but may work on earlier versions.
This cookbook relies on opscode's dmg cookbook.
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 |
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] |
Key | Type | Description | Default |
---|---|---|---|
['plex']['media_server']['channels'] | Array | List of channels to install | [] |
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 |
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 |
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]"
]
}
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write you change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
Authors: Dan Weinand
License: MIT