diff --git a/scripts/lib/install b/scripts/lib/install index 9738fe1298..3bb81ba36f 100755 --- a/scripts/lib/install +++ b/scripts/lib/install @@ -416,7 +416,7 @@ elif [ "$package_system" = yum ]; then : fi -if has_class "zulip::nginx" && [ ! "$DEPLOYMENT_TYPE" = "dockervoyager" ]; then +if has_class "zulip::nginx" && ! has_class "zulip::dockervoyager"; then # Check nginx was configured properly now that we've installed it. # Most common failure mode is certs not having been installed. if ! nginx -t; then