https://github.com/bigcommerce/puppet-module-supervisor
Puppet module for configuring the supervisor daemon control utility
https://github.com/bigcommerce/puppet-module-supervisor
Last synced: 12 months ago
JSON representation
Puppet module for configuring the supervisor daemon control utility
- Host: GitHub
- URL: https://github.com/bigcommerce/puppet-module-supervisor
- Owner: bigcommerce
- License: bsd-3-clause
- Created: 2016-12-07T00:28:51.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-04-18T17:14:43.000Z (about 8 years ago)
- Last Synced: 2025-04-02T00:51:19.695Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 137 KB
- Stars: 1
- Watchers: 25
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Puppet module for configuring the 'supervisor' daemon control
utility. Currently tested on Debian, Ubuntu, and Fedora.
Install into `/supervisor`
Example usage:
.. code-block:: puppet
include supervisor
supervisor::service {
'scribe':
ensure => present,
command => '/usr/bin/scribed -c /etc/scribe/scribe.conf',
environment => 'HADOOP_HOME=/usr/lib/hadoop,LD_LIBRARY_PATH=/usr/lib/jvm/java-6-sun/jre/lib/amd64/server',
user => 'scribe',
group => 'scribe',
require => [ Package['scribe'], User['scribe'] ];
}
To use default debian paths:
.. code-block:: puppet
class { 'supervisor':
conf_dir => '/etc/supervisor/conf.d',
conf_ext => '.conf',
}
Running tests:
.. code-block:: sh
$ bundle install --path=.gems
$ bundle exec rake spec