From 0f92f9ad05af9bbc342ded0b29f2002a30d0ab63 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 26 Jan 2021 21:02:57 +0900 Subject: [PATCH] Enable swift-object-expirer Depends-on: https://review.opendev.org/772506 Change-Id: I6bb65eae0f3d0522bcf93e5dc5db3728c08774db --- manifests/swift.pp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/manifests/swift.pp b/manifests/swift.pp index 47f03e34e..8e6afd7fc 100644 --- a/manifests/swift.pp +++ b/manifests/swift.pp @@ -114,6 +114,9 @@ class openstack_integration::swift { $swift_components = ['account', 'container', 'object'] swift::storage::filter::recon { $swift_components : } swift::storage::filter::healthcheck { $swift_components : } + class { 'swift::objectexpirer': + memcache_servers => $::openstack_integration::config::swift_memcached_servers + } # As of mitaka swift-ring-builder requires devices >= replica count # Default replica count is 3 ring_object_device { ["${::openstack_integration::config::ip_for_url}:6000/1", "${::openstack_integration::config::ip_for_url}:6000/2", "${::openstack_integration::config::ip_for_url}:6000/3"]: