Update rendered example

This commit is contained in:
Daniel Berteaud 2024-02-26 19:51:57 +01:00
parent c60c3fd6b0
commit 392e74cac4
2 changed files with 1 additions and 19 deletions

View File

@ -1,19 +0,0 @@
#!/bin/sh
set -eu
if [ "smtp-relay" != "smtp-relay" ]; then
for DIR in vault consul nomad; do
if [ -d output/${DIR} ]; then
for FILE in $(find output/${DIR} -name "*smtp-relay*.hcl" -type f); do
NEW_FILE=$(echo "${FILE}" | sed -E "s/smtp-relay/smtp-relay/g")
mv "${FILE}" "${NEW_FILE}"
done
fi
done
fi

View File

@ -2,6 +2,7 @@ job "smtp-relay" {
datacenters = ["dc1"]
region = "global"
group "smtp-relay" {