Skip to content

🔁 Puppet module to install, deploy and configure supervisor.

License

Notifications You must be signed in to change notification settings

anthill-utils/puppet-supervisor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

About

🔁 Puppet module to install, deploy and configure supervisor.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Puppet 54.1%
  • HTML 45.9%