Puppet Class: ores::precached

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

Overview

Class: ores::precached

Run a pre-caching daemon that listens to RCStream



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'modules/ores/manifests/precached.pp', line 3

class ores::precached {
    include ::ores::web

    $working_dir = $::ores::base::config_path
    $venv_path  = $::ores::base::venv_path
    $host = 'https://ores.wmflabs.org'
    $config_dir = "${working_dir}/config"

    systemd::service { 'precached':
        require        => Class['ores::web'],
        content        => systemd_template('precached'),
        restart        => true,
        service_params => {
            enable     => true,
            hasstatus  => true,
            hasrestart => true,
        },
    }
}