Forge Home

supervisor

Dalenys supervisor module

7,039 downloads

7,039 latest version

3.1 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

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 :)

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