From 202afa1834f8aa8090d8d6c99b9bc6b17c6c53ff Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 6 Sep 2022 00:32:17 +0900 Subject: [PATCH] Manage internal-client.conf in acceptance tests ... because the file is used by several daemon processes like container-sharder. Change-Id: I7eb6937b158b7b92f0558ebdd1e1bdac19cbd45b --- spec/acceptance/10_basic_swift_spec.rb | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/spec/acceptance/10_basic_swift_spec.rb b/spec/acceptance/10_basic_swift_spec.rb index b3146529..1b4f0e6e 100644 --- a/spec/acceptance/10_basic_swift_spec.rb +++ b/spec/acceptance/10_basic_swift_spec.rb @@ -126,6 +126,19 @@ describe 'basic swift' do 'swift::proxy::symlink' ]: } + class { 'swift::internal_client': + pipeline => [ 'catch_errors', 'proxy-logging', 'cache', 'symlink', 'proxy-server' ], + } + class { 'swift::internal_client::cache': + memcache_servers => $::openstack_integration::config::swift_memcached_servers + } + class { + [ + 'swift::internal_client::catch_errors', + 'swift::internal_client::proxy_logging', + 'swift::internal_client::symlink' + ]: + } EOS # Need to be run 2 times because we have an exported when creating the ring. @@ -276,6 +289,19 @@ describe 'basic swift' do 'swift::proxy::symlink' ]: } + class { 'swift::internal_client': + pipeline => [ 'catch_errors', 'proxy-logging', 'cache', 'symlink', 'proxy-server' ], + } + class { 'swift::internal_client::cache': + memcache_servers => $::openstack_integration::config::swift_memcached_servers + } + class { + [ + 'swift::internal_client::catch_errors', + 'swift::internal_client::proxy_logging', + 'swift::internal_client::symlink' + ]: + } EOS # Run one time to catch any errors upgrading to swiftinit service provider