Puppet Class: role::timedmediahandler

Defined in:
puppet/modules/role/manifests/timedmediahandler.pp

Overview

Class: role::timedmediahandler

This role provisions the TimedMediaHandler extension, which displays audio and video files and their captions.



4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'puppet/modules/role/manifests/timedmediahandler.pp', line 4

class role::timedmediahandler {
    include ::role::multimedia

    require_package('ffmpeg')

    mediawiki::extension { 'TimedMediaHandler':
        settings     => {
            wgWaitTimeForTranscodeReset => 1,
            wgFFmpegLocation            => '/usr/bin/ffmpeg'
        },
        needs_update => true,
        composer     => true,
        require      => [
            Package['ffmpeg']
        ],
    }
}