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',
}