Forge Home

supervisor

Dalenys supervisor module

6,354 downloads

6,354 latest version

3.1 quality score

Version information

  • 2.0.0 (latest)
released Aug 13th 2016
This version is compatible with:
  • Puppet 3.x
  • , , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'desertkun-supervisor', '2.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add desertkun-supervisor
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install desertkun-supervisor --version 2.0.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

desertkun/supervisor — version 2.0.0 Aug 13th 2016

puppet-supervisor License badge Puppet badge

Table of Contents

  1. Overview
  2. Module Description
  3. Setup
  4. Usage
  5. Development

Overview

The supervisor module enables you to install, deploy, and configure supervisor.

Module Description

Supervisor is a client/server system that allows its users to monitor and control a number of processes on UNIX-like operating systems.

It shares some of the same goals of programs like launchd, daemontools, and runit. Unlike some of these programs, it is not meant to be run as a substitute for init as 'process id 1'. Instead it is meant to be used to control processes related to a project or a customer, and is meant to start like any other program at boot time.

http://supervisord.org/

Setup

You can use all the variables you can find in the manual : http://supervisord.org/configuration.html. We use all default values in templates.

class { 'supervisor':
  package                   => true,
  service                   => true,
  # daemon configuration
  supervisord_logfile       => '/var/log/supervisor/supervisord.log',
  supervisord_user          => 'root',
  # http server configuration
  inet_http_server          => '127.0.0.1',
  inet_http_server_port     => '8080',
  inet_http_server_username => 'login',
  inet_http_server_password => 'p4ssw0rd',
}

Usage

supervisor::program { 'dalenys':
  program_command      => '/usr/sbin/dalenys'
  program_process_name => 'dalenys',
  program_autostart    => true,
  program_autorestart  => true,
  program_user         => 'www-data',
  program_environment  => 'DEBUG=true',
}

Development

Dalenys modules on the Puppet Forge are open projects, and community contributions are essential for keeping them great. We can't access the huge number of platforms and myriad of hardware, software, and deployment configurations that Puppet is intended to serve so feel free to contribute on GitHub.

Thanks https://github.com/puppetlabs/ for help to write this README :)

    ╚⊙ ⊙╝
  ╚═(███)═╝
 ╚═(███)═╝
╚═(███)═╝
 ╚═(███)═╝
  ╚═(███)═╝
   ╚═(███)═╝