Puppet Class: profile::python37

Defined in:
modules/profile/manifests/python37.pp

Overview

Class profile::python37

Sharable class that makes python3.7 available.



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

class profile::python37 {

    if os_version('debian <= stretch') {
        if ! defined( Apt::Package_from_component['component-pyall'] ) {
            apt::package_from_component { 'component-pyall':
                component => 'component/pyall',
                packages  => ['python3.7', 'libpython3.7']
            }
        }
    } else {
        require_package('python3.7', 'libpython3.7')
    }

}