Puppet Class: role::bcmath

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

Overview

Class: role::bcmath

The BCmath extension provides functionality to interact with PHP BCmath from Lua modules, that is the Scribunto extension.



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

class role::bcmath {
    include ::role::scribunto

    require_package('php7.4-bcmath')

    mediawiki::extension { 'BCmath':
        remote   => 'https://github.com/jeblad/BCmath.git',
        require  => Mediawiki::Extension['Scribunto'],
        composer => true,
    }

    mediawiki::import::text { 'VagrantRoleBCmath':
        source => 'puppet:///modules/role/bcmath/VagrantRoleBCmath.wiki',
    }
}