/plex-media-server

Puppet module to install and manage Plex Media Server.

Primary LanguagePuppetMIT LicenseMIT

Plex Media Server Module

Build Status

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: plex
  • plex_media_server_home
    Default: /usr/lib/plexmediaserver
  • plex_media_server_application_support_dir
    Default: `getent passwd $plex_user|awk -F : '{print $6}'`/Library/Application Support
  • plex_media_server_max_plugin_procs
    Default: 6
  • plex_media_server_max_stack_size
    Default: 10000
  • plex_media_server_max_lock_mem
    Default: 3000
  • plex_media_server_max_open_files
    Default: 4096
  • plex_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',
}