Puppet module for configuring the supervisor daemon tool.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
debian
files
lib/puppet/provider/service
manifests
spec
templates
tests
.fixtures.yml
.gitignore
.travis.yml
Gemfile
LICENSE
Modulefile
README.rst
Rakefile

README.rst

Puppet Module: Supervisor

Deprecated

Please Note: This code is here for historical purposes only.

I have not used this module in production for many years. Although it is still in use by others, and occasional contributions come in, you use it at your own risk. I merge in contributions if they look appropriate, but do not provide support or maintenance.

Module Information

Puppet module for configuring the 'supervisor' daemon control utility. Currently tested on Debian, Ubuntu, and Fedora.

Install into <module_path>/supervisor

Example usage:

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:

class { 'supervisor':
  conf_dir => '/etc/supervisor/conf.d',
  conf_ext => '.conf',
}

Running tests:

$ bundle install --path=.gems
$ bundle exec rake spec