Skip to content

Commit

Permalink
fixing typos and file file locations
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonskie authored and dennisjbell committed May 7, 2020
1 parent df5b401 commit 696f496
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
19 changes: 13 additions & 6 deletions hooks/blueprint
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,13 @@ for want in "${features[@]}"; do
" Please replace it with the #c{haproxy} and #c{tls} flags."
renamed_features+=( "haproxy" "tls" )
;;
haproxy-self-signed)
warn=1
describe >&2 \
"#Y{[WARNING]} The #c{haproxy-self-signed} feature flag has been deprecated." \
" Please replace it with the #c{haproxy} and #c{self-signed} flags."
renamed_features+=( "haproxy" "self-signed" )
;;
haproxy-notls)
warn=1
describe >&2 \
Expand Down Expand Up @@ -192,7 +199,7 @@ validate_features container-routing-integrity \
bare \
haproxy tls self-signed \
aws-blobstore azure-blobstore gcp-blobstore gcp-use-access-key \
local-postgres-db local-mysql-db mysql-db posgtres-db \
local-postgres-db local-mysql-db mysql-db postgres-db \
nfs-volume-services small-footprint \
app-autoscaler-integration

Expand Down Expand Up @@ -241,13 +248,13 @@ for want in ${GENESIS_REQUESTED_FEATURES}; do
manifest+=( \
"overlay/blobstore/external.yml" \
"cf-deployment/operations/use-external-blobstore.yml" \
"use-gcs-blobstore-access-key.yml" \
"cf-deployment/operations/use-gcs-blobstore-access-key.yml" \
)
else
manifest+=( \
"overlay/blobstore/external.yml" \
"cf-deployment/operations/use-external-blobstore.yml" \
"use-gcs-blobstore-service-account.yml" \
"cf-deployment/operations/use-gcs-blobstore-service-account.yml" \
)
fi
;;
Expand All @@ -265,8 +272,8 @@ for want in ${GENESIS_REQUESTED_FEATURES}; do
mysql-db|postgres-db)
database=$(( database + 1 ))
manifest+=( \
"cf-deployment/operations/use-external-db.yml" \
"operations/use-external-db-ports.yml" \
"cf-deployment/operations/use-external-dbs.yml" \
"operations/use-external-dbs-ports.yml" \
"overlay/db/external.yml" \
"overlay/db/external-${want%-db}.yml" \
)
Expand Down Expand Up @@ -299,7 +306,7 @@ fi

if want_feature haproxy; then
manifest+=( "overlay/routing/haproxy.yml" )
if [[ -n "$(lookup 'params.cf_lb_network' "")" ]]; then
if [[ -n "$(lookup 'params.cf_lb_network' "")" ]]; then #TODO: ??
manifest+=( "overlay/routing/haproxy-public-network.yml" )
fi
if want_feature "tls"; then
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion overlay/routing/haproxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ instance_groups:
- name: haproxy
instances: (( grab params.haproxy_instances ))
vm_type: (( grab params.haproxy_vm_type ))
azs: (( grab params.availability_zones || meta.default.azs ))
azs: (( grab params.availability_zones || meta.default_azs ))

stemcell: default
networks:
Expand Down

0 comments on commit 696f496

Please sign in to comment.