Version information
This version is compatible with:
- Puppet 3.x
- , , ,
Start using this module
Add this module to your Puppetfile:
mod 'desertkun-supervisor', '2.0.0'
Learn more about managing modules with a PuppetfileDocumentation
puppet-supervisor
Table of Contents
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.
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 :)
╚⊙ ⊙╝
╚═(███)═╝
╚═(███)═╝
╚═(███)═╝
╚═(███)═╝
╚═(███)═╝
╚═(███)═╝
Dependencies
- dalenys-danelib (>= 1.0.0)
Copyright (c) 2015, Dalenys Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.