Skip to content

Conversation

@thejsj
Copy link
Member

@thejsj thejsj commented Jan 31, 2017

  • Make VAULT_PORT a variable that defaults to 8500
  • Make VAULT_HOSTNAME a variable that defaults to $CONSUL_HOSTNAME

@runnabot
Copy link

runnabot commented Jan 31, 2017

Deployed dock-init/bear-clone. View on Runnable.
From Runnable

if [ -z "${CONSUL_HOSTNAME+x}" ]; then
export CONSUL_HOSTNAME=10.4.5.144
else
export CONSUL_HOSTNAME
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since you are here do you mind making this case exit instead?

log::fatal "CONSUL_HOSTNAME is not defined" 
exit 1

this will help with debugging in the future

@thejsj thejsj merged commit 68b6a6e into master Feb 1, 2017
@thejsj thejsj deleted the bear-clone branch February 1, 2017 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants