We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
the command defined here: https://github.com/voxpupuli/puppet-nomad/blob/master/manifests/reload_service.pp#L21 doesn't look quite right with the versions of Nomad that I am using. I tried with Nomad 1.4.x and 1.5.0 and it doesn't work
throws an error: the command is wrong.
I'm still trying to figure out the proper command (if one still exists)
The text was updated successfully, but these errors were encountered:
nomad reload
I don't see a point to use any alternative command, and I would do the following:
remove this one:
exec { 'reload nomad service': path => [$nomad::bin_dir,'/bin','/usr/bin'], command => "nomad reload -rpc-addr=${rpc_addr}:${nomad::rpc_port}", refreshonly => true, }
add this one:
exec { 'reload nomad service': path => ['/bin', '/usr/bin'], command => 'systemctl reload nomad.service', refreshonly => true, }
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
the command defined here: https://github.com/voxpupuli/puppet-nomad/blob/master/manifests/reload_service.pp#L21
doesn't look quite right with the versions of Nomad that I am using.
I tried with Nomad 1.4.x and 1.5.0 and it doesn't work
What are you seeing
throws an error: the command is wrong.
Any additional information you'd like to impart
I'm still trying to figure out the proper command (if one still exists)
The text was updated successfully, but these errors were encountered: