Puppet module for configuring the supervisor daemon tool.
Ruby Puppet Shell HTML
Latest commit 8de7d95 Sep 20, 2016 @ov7a ov7a committed with Fixed regex in process parsing (#97)
Old version failed on processes which did not belong to any group, e.g. on 
    spark-slave                      STOPPED    Sep 19 11:09 PM
it gives
    {:group_name=>"spark-slave                      STOPPED    Sep 19 11", :process_name=>"09", :program_name=>"09", :program_num=>nil, :state=>"PM"}
Permalink
Failed to load latest commit information.
debian
files
lib/puppet/provider/service
manifests
spec
templates
tests
.fixtures.yml
.gitignore Fixup dependency order for ensure stopped Jan 21, 2014
.travis.yml Test with latest stable versions from 2 and 3 brnches of puppet Nov 12, 2013
Gemfile
LICENSE
Modulefile
README.rst
Rakefile

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