Closed ghola closed 10 years ago
Hi ghola,
You just need to specify this in your supervisor config with the $supervisord::executable_ctl
param, either in hiera or where you call the main supervisord class.
see here: https://github.com/ajcrowe/puppet-supervisord/blob/master/manifests/init.pp#L15
Ok, thanks for the tip. Note that the common practice i've seen in other puppet modules is to have defaults by OS (or at least by OS family). This not only avoids false bug reports but also avoids putting even more work on the user of the module. At the least the approach taken by this module should be documented.
I'll have to investigate, did you install with pip, or your system package?
The same error with Ubuntu 14.04
`Error: Could not start Service[supervisord]: Execution of '/etc/init.d/supervisord start' returned 1:``
Error: /Stage[main]/Supervisord::Service/Service[supervisord]/ensure: change from stopped to running failed: Could not start Service[supervisord]: Execution of '/etc/init.d/supervisord start' returned 1:
Hi @hugohenrique I dont think this is same error at all.
Could you open a new issue and provide as much detail as possible, perhaps manually run the init script.
Hi @ajcrowe,
I was able to ride defining the path manually:
class { 'supervisord':
install_pip => true,
executable => '/usr/bin/supervisord',
executable_ctl => '/usr/bin/supervisorctl'
}
Thanks for working!
That's great @hugohenrique, did you install supervisor with pip or using the system package?
It might be good to have these set automatically if someone is using system packages rather than pip.
I'm getting the following error:
'Error: /Stage[main]/Supervisord::Reload/Exec[supervisorctl_reread]: Failed to call refresh: Could not find command '/usr/local/bin/supervisorctl'
And while
/usr/local/bin/supervisorctl
does not exist,/usr/bin/supervisorctl
does exist.