From 2a22757fc366db01196202b3b338e22f92776658 Mon Sep 17 00:00:00 2001 From: Haochen Hu Date: Thu, 30 Jan 2025 10:13:26 -0500 Subject: [PATCH] fix hostname for redis --- .../templates/bin/configure-blacksmith | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/jobs/redis-blacksmith-plans/templates/bin/configure-blacksmith b/jobs/redis-blacksmith-plans/templates/bin/configure-blacksmith index 38d5750..d78d199 100644 --- a/jobs/redis-blacksmith-plans/templates/bin/configure-blacksmith +++ b/jobs/redis-blacksmith-plans/templates/bin/configure-blacksmith @@ -23,6 +23,13 @@ cat > $PLANROOT/plan.yml < name: <%= plan["name"] || id %> limit: <%= plan["limit"] || 0 %> +type: <%= if plan["type"].include?("standalone") + "standalone" + elsif plan["type"].include?("cluster") + "node" + else + plan["type"] + end %> description: |+ <%= plan["description"] || 'no description provided' %> EOF