add cache to object-expirer pipeline
authorMarcus Furlong <furlongm@gmail.com>
Tue, 17 Jan 2017 00:59:06 +0000 (11:59 +1100)
committerMarcus Furlong <furlongm@gmail.com>
Tue, 17 Jan 2017 01:01:39 +0000 (12:01 +1100)
Without 'cache' in the object-expirer pipeline, adding $memcache_servers
will have no effect. This commit adds 'cache' to the pipeline.

Change-Id: I8ddb71e8e6a5844446dd2478b6b9389ed0ade075

manifests/profile/base/swift/proxy.pp

index 5bd75bd..2db3a42 100644 (file)
@@ -82,6 +82,7 @@ class tripleo::profile::base::swift::proxy (
     include ::swift::proxy::account_quotas
 
     class { '::swift::objectexpirer':
+      pipeline         => ['catch_errors', 'cache', 'proxy-server'],
       memcache_servers => $swift_memcache_servers
     }
   }