fix syntax error in PG blueprints 37/21637/1
authorTony Hansen <tony@att.com>
Wed, 1 Nov 2017 13:49:55 +0000 (13:49 +0000)
committerTony Hansen <tony@att.com>
Wed, 1 Nov 2017 13:50:04 +0000 (13:50 +0000)
Change-Id: Ia873e90a71d46c3755f05fb9004a8b516ff51d65
Signed-off-by: Tony Hansen <tony@att.com>
Issue-ID: DCAEGEN2-185

blueprints/pgaas-cluster.yaml-template
blueprints/pgaas-onevm.yaml-template
blueprints/pgaas.yaml-template

index 7f46d56..6ad8901 100644 (file)
@@ -116,7 +116,7 @@ inputs:
         *00 ) WRITE=-write ;;
         *01 ) WRITE= ;;
       esac
-      curl -v -X PUT -H "Content-Type: application/json" "http://${LOCATION_PREFIX}cnsl00.${LOCATION_DOMAIN}:8500/v1/agent/service/register" -d '{"name" : "${CLUSTER_NAME}${WRITE}", "Address" : "${LOCAL_IP}", "Port" : 5432}"
+      curl -v -X PUT -H "Content-Type: application/json" "http://${LOCATION_PREFIX}cnsl00.${LOCATION_DOMAIN}:8500/v1/agent/service/register" -d '{"name" : "${CLUSTER_NAME}${WRITE}", "Address" : "${LOCAL_IP}", "Port" : 5432}"'
 
       echo ALL DONE
 
index 006c8a3..1575374 100644 (file)
@@ -105,8 +105,8 @@ inputs:
           dpkg --install $OUT
       done
 
-      curl -v -X PUT -H "Content-Type: application/json" "http://${LOCATION_PREFIX}cnsl00.${LOCATION_DOMAIN}:8500/v1/agent/service/register" -d '{"name" : "${CLUSTER_NAME}-write", "Address" : "${LOCAL_IP}", "Port" : 5432}"
-      curl -v -X PUT -H "Content-Type: application/json" "http://${LOCATION_PREFIX}cnsl00.${LOCATION_DOMAIN}:8500/v1/agent/service/register" -d '{"name" : "${CLUSTER_NAME}", "Address" : "${LOCAL_IP}", "Port" : 5432}"
+      curl -v -X PUT -H "Content-Type: application/json" "http://${LOCATION_PREFIX}cnsl00.${LOCATION_DOMAIN}:8500/v1/agent/service/register" -d '{"name" : "${CLUSTER_NAME}-write", "Address" : "${LOCAL_IP}", "Port" : 5432}"'
+      curl -v -X PUT -H "Content-Type: application/json" "http://${LOCATION_PREFIX}cnsl00.${LOCATION_DOMAIN}:8500/v1/agent/service/register" -d '{"name" : "${CLUSTER_NAME}", "Address" : "${LOCAL_IP}", "Port" : 5432}"'
 
       echo ALL DONE
 
index 822288f..9158e79 100644 (file)
@@ -109,7 +109,7 @@ inputs:
         *00 ) WRITE=-write ;;
         *01 ) WRITE= ;;
       esac
-      curl -v -X PUT -H "Content-Type: application/json" "http://${LOCATION_PREFIX}cnsl00.${LOCATION_DOMAIN}:8500/v1/agent/service/register" -d '{"name" : "${CLUSTER_NAME}${WRITE}", "Address" : "${LOCAL_IP}", "Port" : 5432}"
+      curl -v -X PUT -H "Content-Type: application/json" "http://${LOCATION_PREFIX}cnsl00.${LOCATION_DOMAIN}:8500/v1/agent/service/register" -d '{"name" : "${CLUSTER_NAME}${WRITE}", "Address" : "${LOCAL_IP}", "Port" : 5432}"'
 
       echo ALL DONE