summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openstack-swift.configure8
1 files changed, 2 insertions, 6 deletions
diff --git a/openstack-swift.configure b/openstack-swift.configure
index 6c959945..d971dd84 100644
--- a/openstack-swift.configure
+++ b/openstack-swift.configure
@@ -33,17 +33,13 @@ sed -f "$ROOT"/etc/openstack-swift-setup.sed -i \
"$ROOT"/etc/swift/object-server.conf
# "$ROOT"/etc/rsyncd.conf \
-echo "SWIFT_CONTROLLER: $SWIFT_CONTROLLER"
-
-if $SWIFT_CONTROLLER
+if [[ "$SWIFT_CONTROLLER" = True ]]
then
ln -s "/etc/systemd/system/openstack-swift-controller-setup.service" \
"$ROOT/etc/systemd/system/multi-user.target.wants/openstack-swift-controller-setup.service"
fi
-echo "SWIFT_STORAGE: $SWIFT_STORAGE"
-
-if $SWIFT_STORAGE
+if [[ "$SWIFT_STORAGE" = True ]]
then
ln -s "/etc/systemd/system/openstack-swift-storage-setup.service" \
"$ROOT/etc/systemd/system/multi-user.target.wants/openstack-swift-storage-setup.service"