Browse code

Remove unused and deprecated SWIFT_CONFIG_DIR variable

Change-Id: Id9b9f2300288b98e4952ef8da6732232a683338d

JordanP authored on 2014/11/21 02:06:23
Showing 2 changed files
... ...
@@ -275,7 +275,7 @@ simple as enabling the ``swift`` service in ``local.conf``:
275 275
 Swift will put its data files in ``SWIFT_DATA_DIR`` (default
276 276
 ``/opt/stack/data/swift``). The size of the data 'partition' created
277 277
 (really a loop-mounted file) is set by ``SWIFT_LOOPBACK_DISK_SIZE``. The
278
-Swift config files are located in ``SWIFT_CONFIG_DIR`` (default
278
+Swift config files are located in ``SWIFT_CONF_DIR`` (default
279 279
 ``/etc/swift``). All of these settings can be overridden in (wait for
280 280
 it...) ``local.conf``.
281 281
 
... ...
@@ -54,8 +54,7 @@ SWIFT_DISK_IMAGE=${SWIFT_DATA_DIR}/drives/images/swift.img
54 54
 
55 55
 # Set ``SWIFT_CONF_DIR`` to the location of the configuration files.
56 56
 # Default is ``/etc/swift``.
57
-# TODO(dtroyer): remove SWIFT_CONFIG_DIR after cutting stable/grizzly
58
-SWIFT_CONF_DIR=${SWIFT_CONF_DIR:-${SWIFT_CONFIG_DIR:-/etc/swift}}
57
+SWIFT_CONF_DIR=${SWIFT_CONF_DIR:-/etc/swift}
59 58
 
60 59
 if is_service_enabled s-proxy && is_service_enabled swift3; then
61 60
     # If we are using swift3, we can default the s3 port to swift instead