Puppet Class: profile::quarry::celeryrunner
- Defined in:
- modules/profile/manifests/quarry/celeryrunner.pp
Overview
SPDX-License-Identifier: Apache-2.0
Class: profile::quarry::celeryrunner
Runs queries submitted via celery
5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'modules/profile/manifests/quarry/celeryrunner.pp', line 5
class profile::quarry::celeryrunner(
Stdlib::Unixpath $clone_path = lookup('profile::quarry::base::clone_path'),
Stdlib::Unixpath $venv_path = lookup('profile::quarry::base::venv_path'),
) {
require ::profile::quarry::base
quarry::worker { 'quarry-worker':
app => 'quarry.web.worker',
working_dir => $clone_path,
celery_bin_path => "${venv_path}/bin/celery",
user => 'quarry',
group => 'quarry',
}
}
|