The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Rex::JobControl - Job-Control Webinterface for Rex

DESCRIPTION

(R)?ex is a configuration- and deployment management framework. You can write tasks in a file named Rexfile.

You can find examples and howtos on http://rexify.org/

This is the official webinterface for Rex.

GETTING HELP

INSTALLATION

To install Rex::JobControl you can use the normal cpan tools. We recommend using cpanm from http://cpanmin.us/.

 cpanm Rex::JobControl

CONFIGURATION

The configuration file is looked up in 3 locations.

/etc/rex/jobcontrol.conf
/usr/local/etc/rex/jobcontrol.conf
./jobcontrol.conf

You find an example configuration file on https://github.com/RexOps/rex-jobcontrol.

RUNNING

Rex::JobControl consists of 2 services. The Webinterface and the Worker.

To start the worker you have to run the following command. You can start as many worker as you need/want.

 rex_job_control minion worker

To start the Webinterface you have to run this command. This will start a webserver at port 8080.

 hypnotoad /usr/bin/rex_job_control 

MANAGING USERS

Currently there is no webinterface to manage the users, but you can use a cli command to do this.

Add user:

 rex_job_control jobcontrol adduser -u $user -p $password

Remove user:

 rex_job_control jobcontrol deluser -u $user

List user:

 rex_job_control jobcontrol listuser