Merge pull request #179 from chmouel/swift-install-memcache-with-swkeystone

Install memcached with swift+keystone midleware.
This commit is contained in:
sleepsonthefloor 2011-11-11 10:57:35 -08:00
commit 8d6c7c4083

View file

@ -704,6 +704,11 @@ if [[ "$ENABLED_SERVICES" =~ "swift" ]]; then
# configured keystone it will checkout the directory. # configured keystone it will checkout the directory.
if [[ "$ENABLED_SERVICES" =~ "key" ]]; then if [[ "$ENABLED_SERVICES" =~ "key" ]]; then
swift_auth_server=keystone swift_auth_server=keystone
# We install the memcache server as this is will be used by the
# middleware to cache the tokens auths for a long this is needed.
apt_get install memcached
# We need a special version of bin/swift which understand the # We need a special version of bin/swift which understand the
# OpenStack api 2.0, we download it until this is getting # OpenStack api 2.0, we download it until this is getting
# integrated in swift. # integrated in swift.