Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
b8418ced
Commit
b8418ced
authored
Feb 16, 2018
by
Bob Belnap
Browse files
syntax fixes
parent
90e587a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
deploy/vault.sh
View file @
b8418ced
...
...
@@ -33,21 +33,18 @@ vault_deploy() {
_debug _cfullchain
"
$_cfullchain
"
# validate required env vars
if
[
-z
"
$VAULT_PREFIX
"
]
then
if
[
-z
"
$VAULT_PREFIX
"
]
;
then
_err
"VAULT_PREFIX needs to be defined (contains prefix path in vault)"
return
1
fi
if
[
-z
"
$VAULT_ADDR
"
]
then
if
[
-z
"
$VAULT_ADDR
"
]
;
then
_err
"VAULT_ADDR needs to be defined (contains vault connection address)"
return
1
fi
VAULT_CMD
=
$(
which vault
)
if
[
!
$?
]
then
if
[
!
$?
]
;
then
_err
"cannot find vault binary!"
return
1
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment