Skip to content

Commit

Permalink
fixed submit blueprint and added yarn port to single container
Browse files Browse the repository at this point in the history
  • Loading branch information
randerzander committed Sep 16, 2016
1 parent 1992536 commit d423485
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions examples/compose/single-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ services:
- "16030:16030"
# Yarn
- "45455:45454"
- "8042:8042"
# Solr
- "8983:8983"
# Kafka
Expand Down
2 changes: 1 addition & 1 deletion submit-blueprint.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
TYPE=$1
BLUEPRINT=$2
source .env
source ./.env

curl --user admin:admin -H 'X-Requested-By:admin' -X POST $AMBARI_HOST/api/v1/blueprints/$TYPE --data-binary "@$BLUEPRINT"
curl --user admin:admin -H 'X-Requested-By:admin' -X PUT $AMBARI_HOST/api/v1/stacks/HDP/versions/$HDP_VERSION/operating_systems/$OS/repositories/HDP-${HDP_VERSION} -d '{"Repositories":{"base_url":"'$BASE_URL'", "verify_base_url":true}}'
Expand Down

0 comments on commit d423485

Please sign in to comment.