From 17c9963c0f64ba0e84f8cb473fe6b69db63fb30e Mon Sep 17 00:00:00 2001 From: Bernd Worsch Date: Sat, 13 Sep 2025 23:37:34 +0000 Subject: [PATCH] fix: doctor target reports terraform now --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6eaee0a..f5ad6c7 100644 --- a/Makefile +++ b/Makefile @@ -104,10 +104,10 @@ doctor: ## Check tools and basic repo setup @bash -ceu ' \ ok(){ printf "✔ %s\n" "$$1"; }; fail(){ printf "❌ %s\n" "$$1"; exit 1; }; \ command -v git >/dev/null && ok "git: $$(git --version)" || fail "git missing"; \ - command -v terraform >/dev/null && ok "terraform: $$(terraform version | head -1)"; \ command -v ansible >/dev/null && ok "ansible: $$(ansible --version | head -1)"; \ - command -v sops >/dev/null && ok "sops: $$(sops --version)"; \ + command -v sops >/dev/null && ok "sops: $$(sops --version --check-for-updates)"; \ command -v age >/dev/null && ok "age: $$(age --version)"; \ + command -v terraform >/dev/null && ok "terraform: $$(terraform -version | head -1)"; \ test -f keys/admin_ssh.pub && ok "keys/admin_ssh.pub present" || echo "ℹ add your SSH pubkey to keys/admin_ssh.pub"; \ test -f inventory/group_vars/secrets.sops.yaml && ok "secrets.sops.yaml present" || echo "ℹ create inventory/group_vars/secrets.sops.yaml"; \ grep -q "age1" .sops.yaml && ok ".sops.yaml has an age recipient" || echo "ℹ add your age public key to .sops.yaml"; \