Enable swift-object-expirer

Depends-on: https://review.opendev.org/772506
Change-Id: I6bb65eae0f3d0522bcf93e5dc5db3728c08774db
This commit is contained in:
Takashi Kajinami 2021-01-26 21:02:57 +09:00
parent c5e5b6e24d
commit 0f92f9ad05

View File

@ -114,6 +114,9 @@ class openstack_integration::swift {
$swift_components = ['account', 'container', 'object'] $swift_components = ['account', 'container', 'object']
swift::storage::filter::recon { $swift_components : } swift::storage::filter::recon { $swift_components : }
swift::storage::filter::healthcheck { $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 # As of mitaka swift-ring-builder requires devices >= replica count
# Default replica count is 3 # 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"]: 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"]: