Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to provide serverurl using supervisord::supervisorctl #114

Open
Rajani2014 opened this issue Jul 11, 2017 · 0 comments
Open

How to provide serverurl using supervisord::supervisorctl #114

Rajani2014 opened this issue Jul 11, 2017 · 0 comments

Comments

@Rajani2014
Copy link

I want to write puppet class file for following command
sudo supervisorctl -s unix:///tmp/supervisord_config.sock restart some_Service

I installed this module using
puppet module install ajcrowe-supervisord --version 0.6.1

In class file, there are options for command and process which I am assuming would be like
supervisord::supervisorctl { 'some_Service':
command => 'restart',
process => 'some_Service',
}

But when I am running the agent, I am getting error
Error: Failed to apply catalog: Validation of Exec[supervisorctl_command_some_Service] failed: 'undef restart some_Service' is not qualified and no path was specified. Please qualify the command or specify a path. at /etc/puppet/modules/supervisord/manifests/supervisorctl.pp:35
I also tried to change the default server url to /tmp, but facing the same issue. Can you please help me for the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant