Update rendered example
This commit is contained in:
parent
c60c3fd6b0
commit
392e74cac4
|
@ -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
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@ job "smtp-relay" {
|
||||||
|
|
||||||
|
|
||||||
datacenters = ["dc1"]
|
datacenters = ["dc1"]
|
||||||
|
region = "global"
|
||||||
|
|
||||||
|
|
||||||
group "smtp-relay" {
|
group "smtp-relay" {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user