Parameterize package_name.
Merge pull request #22 from jsok/param-package-name

Parameterize package_name
Fixes pathing issue in Debian; chooses paths in params; returns 1 when executable not found
Removes errant $
Supervisord should start before supervisorctl.

In some instances, supervisord::reload was triggering before
the supervisord service had been spun up, causing the following
errors:

Info: Class[Supervisord::Reload]: Scheduling refresh of Exec[supervisorctl_reread]
Info: Class[Supervisord::Reload]: Scheduling refresh of Exec[supervisorctl_update]
Debug: Exec[supervisorctl_reread](provider=posix): Executing '/usr/local/bin/supervisorctl reread'
Debug: Executing '/usr/local/bin/supervisorctl reread'
Notice: /Stage[main]/Supervisord::Reload/Exec[supervisorctl_reread]/returns: error: <class 'socket.error'>, [Errno 111] Connection refused: file: /usr/lib/python2.7/socket.py line: 571
Error: /Stage[main]/Supervisord::Reload/Exec[supervisorctl_reread]: Failed to call refresh: /usr/local/bin/supervisorctl reread returned 2 instead of one of [0]
Error: /Stage[main]/Supervisord::Reload/Exec[supervisorctl_reread]: /usr/local/bin/supervisorctl reread returned 2 instead of one of [0]
Debug: Exec[supervisorctl_update](provider=posix): Executing '/usr/local/bin/supervisorctl update'
Debug: Executing '/usr/local/bin/supervisorctl update'
Notice: /Stage[main]/Supervisord::Reload/Exec[supervisorctl_update]/returns: error: <class 'socket.error'>, [Errno 111] Connection refused: file: /usr/lib/python2.7/socket.py line: 571
Error: /Stage[main]/Supervisord::Reload/Exec[supervisorctl_update]: Failed to call refresh: /usr/local/bin/supervisorctl update returned 2 instead of one of [0]
Error: /Stage[main]/Supervisord::Reload/Exec[supervisorctl_update]: /usr/local/bin/supervisorctl update returned 2 instead of one of [0]
Removes extra "$"
Merge pull request #23 from puphpet/master

Enhanced executable path configuration and fixes supervisorctl return code problems
Add class containment using the anchor pattern

Without this, a wrapper class can't enforce ordering on the module.

http://puppetlabs.com/blog/class-containment-puppet
Merge pull request #24 from jbarbuto/add_class_containment

Add class containment using the anchor pattern
updated changelog
bumped Modulefile version
Test boolean options for nil in program conf templates

The old behavior would elide the option from the file if the parm
was explicitly set to false. This doesn't work if the default value
of the parm is true (autostart, for example)

The new behavior properly distinguishes undef from false, and will
insert an explicit 'option = false' into the program conf file.

For details, see:

  https://docs.puppetlabs.com/guides/templating.html#testing-for-undefined-variables

Signed-off-by: Ray Lehtiniemi <rayl@mail.com>
Propagate undef/false checks to other templates

Signed-off-by: Ray Lehtiniemi <rayl@mail.com>
supervisord::rpcinterface define
Merge pull request #29 from 3dna/rpcinterface

supervisord::rpcinterface define
Merge pull request #25 from rayl/master

Test boolean options for nil in program conf templates
added puppet forge badge