Skip to content
Puppet module for configuring the supervisor daemon tool.
Ruby Puppet HTML Pascal
Find file
Latest commit bd3e4ce @plathrop Merge pull request #91 from drewhemm/patch-1
Corrected socket test
Failed to load latest commit information.
debian
files Add 'missingok' to logrotate config.
lib/puppet/provider/service fix regex to allow process num to be more than 2 digits
manifests Corrected socket test
spec Add support for unix_http_server config options
templates
tests Migrate code to be more inline with Pupper Style Guide - more work is
.fixtures.yml Allow overriding of conf_dir and conf_ext in supervisor class
.gitignore Fixup dependency order for ensure stopped
.travis.yml Test with latest stable versions from 2 and 3 brnches of puppet
Gemfile Merge pull request #67 from Jimdo/newer_rspec_puppet
LICENSE Initial release.
Modulefile Bump version again
README.rst
Rakefile Allow overriding of conf_dir and conf_ext in supervisor class

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.