summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Schwede <cschwede@redhat.com>2016-11-30 07:32:12 +0000
committerChristian Schwede <cschwede@redhat.com>2016-11-30 07:32:12 +0000
commitf223d4a4583d2da164592081bb9eb3c19b123f3c (patch)
treef414ffa8fd4ededecfed255c1275035e6fbe1973
parent3abbad6226701ef78c32908460805cdcae83026a (diff)
Set memcache_servers in /etc/swift/object-expirer.conf
This defaults to 127.0.0.1:11211 without setting these explicitly. The object-expirer is working without a correct memcache server, however it is slower and warnings will be logged. Related-Bug: 1627927 Depends-On: Ie139f018c4a742b014dd4d682970e154d66a8c6d Change-Id: I89a879592a264d541cf42f007584e2e78058c867
-rw-r--r--manifests/profile/base/swift/proxy.pp4
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/profile/base/swift/proxy.pp b/manifests/profile/base/swift/proxy.pp
index da69279..78a1996 100644
--- a/manifests/profile/base/swift/proxy.pp
+++ b/manifests/profile/base/swift/proxy.pp
@@ -74,6 +74,8 @@ class tripleo::profile::base::swift::proxy (
include ::swift::proxy::container_quotas
include ::swift::proxy::account_quotas
- include ::swift::objectexpirer
+ class { '::swift::objectexpirer':
+ memcache_servers => $swift_memcache_servers
+ }
}
}