Repository: stratos
Updated Branches:
  refs/heads/master 473b89069 -> a09a41f69


Fix deploy.sh cartridge json name - multi cloud sample


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/a09a41f6
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/a09a41f6
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/a09a41f6

Branch: refs/heads/master
Commit: a09a41f69a7da51669e6023f3e2aee9fc10710c3
Parents: 473b890
Author: Lahiru Sandaruwan <[email protected]>
Authored: Wed Jun 24 11:06:24 2015 +0530
Committer: Lahiru Sandaruwan <[email protected]>
Committed: Wed Jun 24 11:06:31 2015 +0530

----------------------------------------------------------------------
 .../single-cartridge-app-multi-cloud/scripts/common/deploy.sh      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/a09a41f6/samples/applications/simple/single-cartridge-app-multi-cloud/scripts/common/deploy.sh
----------------------------------------------------------------------
diff --git 
a/samples/applications/simple/single-cartridge-app-multi-cloud/scripts/common/deploy.sh
 
b/samples/applications/simple/single-cartridge-app-multi-cloud/scripts/common/deploy.sh
index a79679c..0c49c6f 100755
--- 
a/samples/applications/simple/single-cartridge-app-multi-cloud/scripts/common/deploy.sh
+++ 
b/samples/applications/simple/single-cartridge-app-multi-cloud/scripts/common/deploy.sh
@@ -55,7 +55,7 @@ echo "Adding deployment policy..."
 curl -X POST -H "Content-Type: application/json" -d 
"@${deployment_policies_path}/multi-cloud-deployment-policy.json" -k -v -u 
admin:admin https://${host_ip}:${host_port}/api/deploymentPolicies
 
 echo "Adding php cartridge..."
-curl -X POST -H "Content-Type: application/json" -d 
"@${iaas_cartridges_path}/php2.json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/cartridges
+curl -X POST -H "Content-Type: application/json" -d 
"@${iaas_cartridges_path}/php.json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/cartridges
 
 sleep 1
 echo "Adding application policy..."

Reply via email to