Skip to content

Commit

Permalink
Merge pull request #69 from voxpupuli/set-e
Browse files Browse the repository at this point in the history
add set -e to all scripts.
  • Loading branch information
rwaffen authored Apr 19, 2024
2 parents 38b90fd + 56bef47 commit 021b417
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion puppetdb/docker-entrypoint.d/10-wait-for-hosts.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh
#

set -e

# Wait on hosts to become available before proceeding
#
#
Expand Down
4 changes: 2 additions & 2 deletions puppetdb/docker-entrypoint.d/20-configure-ssl.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/sh

set -e

# when certs need to be generated and haven't been user supplied
if [ "$USE_PUPPETSERVER" = true ]; then
set -e

# previously DNS_ALT_NAMES was omitted if empty, but ssl.sh already skips setting when empty
DNS_ALT_NAMES="${DNS_ALT_NAMES}" CERTNAME="$CERTNAME" /ssl.sh

Expand Down

0 comments on commit 021b417

Please sign in to comment.