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

Restore $service_restart, now defaulting to undefined, but now withou… #927

Merged
merged 1 commit into from
Oct 16, 2016
Merged

Restore $service_restart, now defaulting to undefined, but now withou… #927

merged 1 commit into from
Oct 16, 2016

Conversation

wyardley
Copy link
Collaborator

Now defaulting to undef, but without checking whether now removed $configtest_enable param exists. This allows users to set a custom restart command if just changing the service name isn't enough. See comments in #921

I'm still wondering if we should invoke nginx::service differently from how it is now:
https://github.com/voxpupuli/puppet-nginx/blob/master/manifests/init.pp#L305
and just set $nginx::service::foo to $nginx::foo; seems to me this would be a bit easier to parse.

…r (see comments in #921). Pass on $nginx::service_foo directly to service class
@wyardley
Copy link
Collaborator Author

per @hunner, seems like it's a better practice to just pull the necessary params in the way I'm changing it to, since nginx::service is a private class.
I'll make a different one for nginx::package if that looks good.

@jyaworski jyaworski merged commit 7a4ed53 into voxpupuli:master Oct 16, 2016
@wyardley wyardley deleted the reimplement_service_restart branch October 27, 2016 17:16
cegeka-jenkins pushed a commit to cegeka/puppet-nginx that referenced this pull request Sep 13, 2019
…start

Restore $service_restart, now defaulting to undefined, but now withou…
Rubueno pushed a commit to Rubueno/puppet-nginx that referenced this pull request Oct 19, 2020
…start

Restore $service_restart, now defaulting to undefined, but now withou…
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

Successfully merging this pull request may close these issues.

2 participants