Skip to content

Commit

Permalink
removing exiting immediatly
Browse files Browse the repository at this point in the history
  • Loading branch information
gitrgoliveira committed Oct 15, 2019
1 parent 0188f0d commit 64f8e6c
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 25 deletions.
4 changes: 0 additions & 4 deletions modules/templates/server/consul.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env bash
set -e

echo "==> Consul (server)"
if [ ${enterprise} == 0 ]
then
Expand Down Expand Up @@ -132,6 +130,4 @@ MeshGateway {
EOF
consul config write /tmp/proxy-defaults.json



echo "==> Consul is done!"
5 changes: 2 additions & 3 deletions modules/templates/server/nomad-jobs.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env bash
set -e
echo "create demo directory"
sudo mkdir /demostack

Expand Down Expand Up @@ -59,9 +58,9 @@ job "fabio" {
}
resources {
network {
port "http" {
static = 9999
}
Expand Down
2 changes: 0 additions & 2 deletions modules/templates/server/nomad.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env bash
set -e

echo "==> Nomad (server)"

echo "--> Fetching"
Expand Down
2 changes: 0 additions & 2 deletions modules/templates/server/vault.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env bash
set -ex

echo "==> Vault (server)"
# Vault expects the key to be concatenated with the CA
sudo mkdir -p /etc/vault.d/tls/
Expand Down
2 changes: 0 additions & 2 deletions modules/templates/shared/base.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env bash
set -e

echo "==> Base"

echo "==> libc6 issue workaround"
Expand Down
2 changes: 0 additions & 2 deletions modules/templates/shared/docker.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env bash
set -e

echo "==> Docker"

echo "--> Adding keyserver"
Expand Down
4 changes: 0 additions & 4 deletions modules/templates/workers/consul.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env bash
set -e

echo "==> Consul (client)"

echo "==> Consul (server)"
Expand Down Expand Up @@ -96,6 +94,4 @@ EOF
sudo systemctl enable dnsmasq
sudo systemctl restart dnsmasq



echo "==> Consul is done!"
2 changes: 0 additions & 2 deletions modules/templates/workers/nomad.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env bash
set -e

echo "==> Nomad (client)"

echo "--> Fetching"
Expand Down
2 changes: 0 additions & 2 deletions modules/templates/workers/user.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env bash
set -e

echo "==> User"

echo "--> Creating user"
Expand Down
2 changes: 0 additions & 2 deletions modules/templates/workers/vault.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env bash
set -e

echo "==> Vault (client)"

echo "--> Fetching"
Expand Down

0 comments on commit 64f8e6c

Please sign in to comment.