Puppet Class: ores::worker

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

Overview

Parameters:

  • log_level (Any) (defaults to: 'ERROR')


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# File 'modules/ores/manifests/worker.pp', line 1

class ores::worker(
    $log_level = 'ERROR',
) {
    require ::ores::base

    celery::worker { 'ores-worker':
        app             => 'ores_celery.application',
        working_dir     => $ores::base::config_path,
        user            => 'www-data',
        group           => 'www-data',
        celery_bin_path => "${ores::base::venv_path}/bin/celery",
        log_level       => $log_level,
        core_limit      => '10G',
    }
}