-
-
Notifications
You must be signed in to change notification settings - Fork 879
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
Remove broken configtest_enable option #921
Remove broken configtest_enable option #921
Conversation
passed acceptance tests for Getting a (presumably unrelated) error running on debian-82-x64
|
…t of the restart on many platforms anyway).
@wyardley you removed a feature by deleting 'service_restart'. |
@tux-o-matic: I can re-implement In my earlier test, even with |
Thanks @wyardley. For Nginx users wishing to mix Puppet and Docker, you can't just rely on the Puppet Service type (until we get a Docker provider for Service). |
…r (see comments in voxpupuli#921). Pass on $nginx::service_foo directly to service class
…e_916 Remove broken configtest_enable option
…r (see comments in voxpupuli#921). Pass on $nginx::service_foo directly to service class
…e_916 Remove broken configtest_enable option
…r (see comments in voxpupuli#921). Pass on $nginx::service_foo directly to service class
Per #916, the
$configtest_enable
option doesn't seem if it could possibly work. In general, it would be good to review if everything here does what it is supposed to, but I think this will do the right thing on most platforms without any additional work.I'm not sure if anyone would be using the
$service_restart
command directly, I'd think in most cases, we should be relying on$service_name
and letting Puppet do the right thing, though I'm open to suggestion if people think$service_restart
still needs to be exposed directly. What I don't understand is that, though it defaults to/etc/init.d/nginx reload
, which doesn't work, the systems I tested all were using systemctl to restart the service anyway.We still may want to revisit some kind of reporting back if the config test fails in a more generic way. I'm not going to address that one way or another for now.