Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Puppet module for configuring the supervisor daemon tool.
branch: master

Merge pull request #84 from tranchis/master

Fix problem with group_name being nil after parsing.
latest commit 4ceae890cd
Paul Lathrop authored

README.rst

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
Something went wrong with that request. Please try again.