suggestions from code review
This commit is contained in:
parent
844d981e77
commit
1ba4674ce2
|
@ -19,8 +19,6 @@ VAULTDOWNLOAD=https://releases.hashicorp.com/vault/${VAULTVERSION}/vault_${VAULT
|
|||
VAULTCONFIGDIR=/etc/vault.d
|
||||
VAULTDIR=/opt/vault
|
||||
|
||||
NOMADVERSION=0.8.6
|
||||
NOMADDOWNLOAD=https://releases.hashicorp.com/nomad/${NOMADVERSION}/nomad_${NOMADVERSION}_linux_amd64.zip
|
||||
NOMADCONFIGDIR=/etc/nomad.d
|
||||
NOMADDIR=/opt/nomad
|
||||
|
||||
|
@ -70,10 +68,6 @@ sudo chmod 755 $VAULTCONFIGDIR
|
|||
sudo mkdir -p $VAULTDIR
|
||||
sudo chmod 755 $VAULTDIR
|
||||
|
||||
# Nomad
|
||||
|
||||
curl -L $NOMADDOWNLOAD > nomad.zip
|
||||
|
||||
## Install
|
||||
sudo unzip nomad.zip -d /usr/local/bin
|
||||
sudo chmod 0755 /usr/local/bin/nomad
|
||||
|
|
|
@ -2,4 +2,3 @@ region = "us-east-1"
|
|||
instance_type = "t2.medium"
|
||||
server_count = "3"
|
||||
client_count = "4"
|
||||
nomad_sha = "c784d59ab3ff1ee929465e499f9c46a14e71bce6"
|
||||
|
|
Loading…
Reference in a new issue