-
-
Notifications
You must be signed in to change notification settings - Fork 881
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
implement config check on config change before service restart #1419
Conversation
nginx::config is a classBreaking changes to this file MAY impact these 2 modules (near match):nginx is a classBreaking changes to this file WILL impact these 13 modules (exact match):Breaking changes to this file MAY impact these 33 modules (near match):
nginx::resource::geo is a typethat may have no external impact to Forge modules. nginx::resource::location is a typeBreaking changes to this file WILL impact these 8 modules (exact match):Breaking changes to this file MAY impact these 15 modules (near match):nginx::resource::mailhost is a typethat may have no external impact to Forge modules. nginx::resource::map is a typethat may have no external impact to Forge modules. nginx::resource::server is a typeBreaking changes to this file WILL impact these 11 modules (exact match):Breaking changes to this file MAY impact these 3 modules (near match):nginx::resource::snippet is a typethat may have no external impact to Forge modules. nginx::resource::streamhost is a typethat may have no external impact to Forge modules. nginx::resource::upstream is a typeBreaking changes to this file WILL impact these 2 modules (exact match):Breaking changes to this file MAY impact these 14 modules (near match):nginx::service is a classBreaking changes to this file MAY impact these 1 modules (near match):This module is declared in 9 of 575 indexed public
|
hey @crazymind1337, thanks for the PR! can you add an acceptance test that sets this and also fix the puppet-lint warning? |
5f768e9
to
9e78ef0
Compare
9e78ef0
to
43a0547
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me. We can merge this when the tests pass
Tests passed. |
Pull Request (PR) description
This implements a switch to enable the nginx config check via
nginx -t
on all config file changes. If the config check is enabled (disabled by default) and fails, the service refresh of nginx will be unscheduled b puppet.This Pull Request (PR) fixes the following issues
No issue created, started directly with the feature.