Consul: start on config step, but there's much to still to do
Some checks are pending
continuous-integration/laminar-eldarion Build failed with exit code 123 after 3 seconds
Some checks are pending
continuous-integration/laminar-eldarion Build failed with exit code 123 after 3 seconds
This commit is contained in:
parent
8b29c6f50b
commit
36234baae7
1 changed files with 12 additions and 0 deletions
12
src/steps-config/75-consul.sh
Executable file
12
src/steps-config/75-consul.sh
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
consul_mode="$(ask_multichoice "Consul installation mode" "none" "client" "server")";
|
||||||
|
|
||||||
|
if [[ "${consul_mode}" != "none" ]]; then
|
||||||
|
queue_apt_install "hashicorp-consul";
|
||||||
|
if [[ "${consul_mode}" == "client" ]]; then
|
||||||
|
queue_apt_install "hashicorp-consul-systemd-client";
|
||||||
|
else
|
||||||
|
queue_apt_install "hashicorp-consul-systemd-server";
|
||||||
|
fi
|
||||||
|
fi
|
Loading…
Reference in a new issue