Browse code

Add policy_file option to quantum.conf

Bug 1154102

Ensure /etc/quantum/policy.json is the one used by quantum when
deployed through devstack.

Change-Id: Ib4e324911d1ba631d411eb3be78355eee09c39f0

Salvatore Orlando authored on 2013/03/12 23:12:12
Showing 1 changed files
... ...
@@ -539,6 +539,7 @@ function _configure_quantum_service() {
539 539
     iniset $QUANTUM_CONF DEFAULT verbose True
540 540
     iniset $QUANTUM_CONF DEFAULT debug True
541 541
     iniset $QUANTUM_CONF DEFAULT state_path $DATA_DIR/quantum
542
+    iniset $QUANTUM_CONF DEFAULT policy_file $Q_POLICY_FILE
542 543
     iniset $QUANTUM_CONF DEFAULT allow_overlapping_ips $Q_ALLOW_OVERLAPPING_IP
543 544
 
544 545
     iniset $QUANTUM_CONF DEFAULT auth_strategy $Q_AUTH_STRATEGY