Puppet Class: threedtopng::deploy

Defined in:
modules/threedtopng/manifests/deploy.pp

Overview

SPDX-License-Identifier: Apache-2.0

Class: threedtopng::deploy

Deploy 3d2png via scap



6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'modules/threedtopng/manifests/deploy.pp', line 6

class threedtopng::deploy (
) {
    ensure_packages(['nodejs', 'xvfb', 'xauth', 'libgl1-mesa-dri'])
    if debian::codename::eq('stretch') {
        ensure_packages(['nodejs-legacy'])
    }

    # On Thumbor servers the mwdeploy user and group are not present by default
    scap::target { '3d2png/deploy':
        deploy_user => 'mwdeploy',
        manage_user => true,
    }
}