Browse code

Merge "[Sahara] Copy policy.json if it exists"

Jenkins authored on 2014/10/31 22:28:54
Showing 1 changed files
... ...
@@ -98,6 +98,10 @@ function configure_sahara {
98 98
     fi
99 99
     sudo chown $STACK_USER $SAHARA_CONF_DIR
100 100
 
101
+    if [[ -f $SAHARA_DIR/etc/sahara/policy.json ]]; then
102
+        cp -p $SAHARA_DIR/etc/sahara/policy.json $SAHARA_CONF_DIR
103
+    fi
104
+
101 105
     # Copy over sahara configuration file and configure common parameters.
102 106
     cp $SAHARA_DIR/etc/sahara/sahara.conf.sample $SAHARA_CONF_FILE
103 107