Previously the swift blocks only ran if s-proxy is enabled, which
prevents a multinode configuration. We should run these blocks if any
swift services are enabled, and push proxy specific conditionals one
step lower.
Change-Id: I540a97615b3c19f882c8673b1a4a29cd47e36aa8
| ... | ... |
@@ -799,7 +799,7 @@ if is_service_enabled keystone; then |
| 799 | 799 |
fi |
| 800 | 800 |
fi |
| 801 | 801 |
|
| 802 |
-if is_service_enabled s-proxy; then |
|
| 802 |
+if is_service_enabled swift; then |
|
| 803 | 803 |
if is_service_enabled ceilometer; then |
| 804 | 804 |
install_ceilometermiddleware |
| 805 | 805 |
fi |
| ... | ... |
@@ -1118,7 +1118,7 @@ fi |
| 1118 | 1118 |
# Storage Service |
| 1119 | 1119 |
# --------------- |
| 1120 | 1120 |
|
| 1121 |
-if is_service_enabled s-proxy; then |
|
| 1121 |
+if is_service_enabled swift; then |
|
| 1122 | 1122 |
echo_summary "Configuring Swift" |
| 1123 | 1123 |
init_swift |
| 1124 | 1124 |
fi |
| ... | ... |
@@ -1172,7 +1172,7 @@ merge_config_group $TOP_DIR/local.conf post-config |
| 1172 | 1172 |
# Only run the services specified in ``ENABLED_SERVICES`` |
| 1173 | 1173 |
|
| 1174 | 1174 |
# Launch Swift Services |
| 1175 |
-if is_service_enabled s-proxy; then |
|
| 1175 |
+if is_service_enabled swift; then |
|
| 1176 | 1176 |
echo_summary "Starting Swift" |
| 1177 | 1177 |
start_swift |
| 1178 | 1178 |
fi |