Manage internal-client.conf in acceptance tests

... because the file is used by several daemon processes like
container-sharder.

Change-Id: I7eb6937b158b7b92f0558ebdd1e1bdac19cbd45b
This commit is contained in:
Takashi Kajinami
2022-09-06 00:32:17 +09:00
parent d3dce7e81a
commit 202afa1834

View File

@@ -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