From 6e71ed14f80c3f07c7bd6a9699f0f817b1391706 Mon Sep 17 00:00:00 2001 From: Devin Buhl Date: Tue, 28 Sep 2021 18:07:54 -0400 Subject: [PATCH] fix: update gpg function name Signed-off-by: Devin Buhl --- .config.sample.env | 2 +- configure.sh | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.config.sample.env b/.config.sample.env index ac1a5b43..6c855c1d 100644 --- a/.config.sample.env +++ b/.config.sample.env @@ -56,4 +56,4 @@ export BOOTSTRAP_ANSIBLE_CONTROL_NODE_0="" # export BOOTSTRAP_ANSIBLE_HOST_ADDR_1="" # export BOOTSTRAP_ANSIBLE_SSH_USERNAME_1="" # export BOOTSTRAP_ANSIBLE_SUDO_PASSWORD_1="" -# export BOOTSTRAP_ANSIBLE_CONTROL_NODE_1="" \ No newline at end of file +# export BOOTSTRAP_ANSIBLE_CONTROL_NODE_1="" diff --git a/configure.sh b/configure.sh index 7c918f07..14754fb6 100755 --- a/configure.sh +++ b/configure.sh @@ -31,7 +31,7 @@ main() { verify_ansible_hosts verify_metallb verify_kubevip - verify_gpg_fp + verify_gpg verify_git_repository verify_cloudflare success @@ -115,7 +115,7 @@ _has_valid_ip() { fi } -verify_gpg_fp() { +verify_gpg() { _has_envar "BOOTSTRAP_PERSONAL_KEY_FP" _has_envar "BOOTSTRAP_FLUX_KEY_FP" @@ -144,6 +144,7 @@ verify_binaries() { _has_binary "ipcalc" _has_binary "jq" _has_binary "sops" + _has_binary "ssh" _has_binary "task" _has_binary "terraform" }