Puppet Class: ores::base

Defined in:
modules/ores/manifests/base.pp

Overview

SPDX-License-Identifier: Apache-2.0

Parameters:

  • config_path (Stdlib::Unixpath) (defaults to: '/srv/deployment/ores/deploy')
  • venv_path (Stdlib::Unixpath) (defaults to: '/srv/deployment/ores/deploy/venv')


2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# File 'modules/ores/manifests/base.pp', line 2

class ores::base(
    Stdlib::Unixpath $config_path = '/srv/deployment/ores/deploy',
    Stdlib::Unixpath $venv_path = '/srv/deployment/ores/deploy/venv',
) {
    # Let's use a virtualenv for maximum flexibility - we can convert
    # this to deb packages in the future if needed. We also install build tools
    # because they are needed by pip to install scikit.
    # FIXME: Use debian packages for all the packages needing compilation
    ensure_packages([
        'virtualenv', 'python3-dev', 'build-essential', 'gfortran', 'libopenblas-dev', 'liblapack-dev',
        # Install scipy via debian package so we don't need to build it via pip
        # takes forever and is quite buggy
        'python3-scipy',
        # It requires the enchant debian package
        'enchant',
    ])

    # Spellcheck packages for supported languages
    ensure_packages([
        'aspell-ar',
        'aspell-el',
        'aspell-hi',
        'aspell-pl',
        'aspell-sv',
        'aspell-ro',
        'aspell-is',
        'aspell-uk',
        'myspell-cs',
        'myspell-de-at',
        'myspell-de-ch',
        'myspell-de-de',
        'myspell-en-au',
        'myspell-es',
        'myspell-et',
        'myspell-fa',
        'myspell-fr',
        'myspell-he',
        'myspell-hu',
        'myspell-lv',
        'myspell-nb',
        'myspell-pt-pt',
        'myspell-pt-br',
        'myspell-ru',
        'myspell-hr',
        'hunspell-nl',
        'hunspell-bs',
        'hunspell-ca',
        'hunspell-en-us',
        'hunspell-en-gb',
        'hunspell-eu',
        'hunspell-gl',
        'hunspell-it',
        'hunspell-sr',
        'hunspell-vi',
        'hunspell-id',
    ])
}