Puppet Class: profile::cyberbot::exec

Defined in:
modules/profile/manifests/cyberbot/exec.pp

Overview

sets up a an exec node for cyberbot



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# File 'modules/profile/manifests/cyberbot/exec.pp', line 2

class profile::cyberbot::exec{

    # switch to a fact once T271196 is resolved
    $php_version = debian::codename() ? {
        'bullseye' => '7.4',
        'buster'   => '7.3',
        'stretch'  => '7.2',
        default    => fail("profile::cyberbot::exec currently unsupported on debian ${debian::codename()}"),
    }

    ensure_packages([
        "php${php_version}-mysql", "php${php_version}-mysqlnd", "php${php_version}-cli",
        "php${php_version}-intl", "php${php_version}-json", "php${php_version}-curl"
    ])
}