Browse code

Install api-paste.ini and policy.json

This is related to this Heat change, and Heat on Devstack will not work
while only one of these changes is applied:
Consolidated api-paste.ini file
https://review.openstack.org/#/c/27384/

Change-Id: Iba02b56173f796de5348289247233c8765f83ac2

Steve Baker authored on 2013/04/14 03:14:41
Showing 1 changed files
... ...
@@ -64,6 +64,11 @@ function configure_heat() {
64 64
     HEAT_API_CW_PORT=${HEAT_API_CW_PORT:-8003}
65 65
     HEAT_API_HOST=${HEAT_API_HOST:-$SERVICE_HOST}
66 66
     HEAT_API_PORT=${HEAT_API_PORT:-8004}
67
+    HEAT_API_PASTE_FILE=$HEAT_CONF_DIR/api-paste.ini
68
+    HEAT_POLICY_FILE=$HEAT_CONF_DIR/policy.json
69
+
70
+    cp $HEAT_DIR/etc/heat/api-paste.ini $HEAT_API_PASTE_FILE
71
+    cp $HEAT_DIR/etc/heat/policy.json $HEAT_POLICY_FILE
67 72
 
68 73
     # Cloudformation API
69 74
     HEAT_API_CFN_CONF=$HEAT_CONF_DIR/heat-api-cfn.conf