Version information
released Nov 18th 2015
This version is compatible with:
- RedHat, CentOS, Fedora, Ubuntu
Start using this module
Add this module to your Puppetfile:
mod 'WhatsARanjit-plexmediaserver', '2.2.0'
Learn more about managing modules with a PuppetfileDocumentation
WhatsARanjit/plexmediaserver — version 2.2.0 Nov 18th 2015
Plex Media Server Module
Overview
This will setup and install Plex Media server.
Capabilities
Installalation includes:
- Plex Media Server
Requires:
- *nix operating system
Plex Media Server Parameters
See Plex documentation for variable definitions.
plex_user
Default: plexplex_media_server_home
Default: /usr/lib/plexmediaserverplex_media_server_application_support_dir
Default: `getent passwd $plex_user|awk -F : '{print $6}'`/Library/Application Supportplex_media_server_max_plugin_procs
Default: 6plex_media_server_max_stack_size
Default: 10000plex_media_server_max_lock_mem
Default: 3000plex_media_server_max_open_files
Default: 4096plex_media_server_tmpdir
Default: /tmp
Example Usage
Install plexmediaserver:
include plexmediaserver
Install plexmedia server with custom parameters:
class { 'plexmediaserver':
plex_user => 'foo',
plex_media_server_home => '/usr/share/lib/plexmediaserver',
plex_media_server_application_support_dir => "`getent passwd $PLEX_USER|awk -F : '{print $6}'`/My Documents/Application Support",
plex_media_server_max_plugin_procs => '7',
plex_media_server_max_stack_size => '20000',
plex_media_server_max_lock_mem => '4000',
plex_media_server_max_open_files => '1024',
plex_media_server_tmpdir => '/var/tmp',
}
Dependencies
The MIT License (MIT) Copyright (c) 2013 Ranjit Viswakumar Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.