installer: Switch to checking dockervoyager as a class, not a deployment.

The DEPLOYMENT_TYPE=dockervoyager is otherwise unused; and always
happens in conjunction with a `zulip::dockervoyager` puppet class.
This commit is contained in:
Alex Vandiver 2020-06-25 22:09:33 +00:00 committed by Tim Abbott
parent 8236cb52d2
commit 117d32cd8c
1 changed files with 1 additions and 1 deletions

View File

@ -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