bb93e6a375
Swift has now merged the swift3 middleware into its own source tree and renamed it to s3api. Use of auth_host, auth_port and auth_protocol configuration options was deprecated in the Newton release in favor of auth_uri Related-Change-Id: I9c61d48e673d513cb4c5cf0c9f8b7d1b894729eb Change-Id: I7f085b0c05f2b8c50e7f94ca1c7f4670660da688 Signed-off-by: Thiago da Silva <thiago@redhat.com>
28 lines
490 B
Puppet
28 lines
490 B
Puppet
#
|
|
# Configure swift s3api.
|
|
#
|
|
# == Dependencies
|
|
#
|
|
# == Parameters
|
|
#
|
|
# [*ensure*]
|
|
# Enable or not s3api middleware
|
|
# Defaults to 'present'
|
|
#
|
|
# [*auth_pipeline_check*]
|
|
# Enable pipeline order check
|
|
# Defaults to 'false'
|
|
#
|
|
class swift::proxy::s3api(
|
|
$ensure = 'present',
|
|
$auth_pipeline_check = false
|
|
) {
|
|
|
|
include ::swift::deps
|
|
|
|
swift_proxy_config {
|
|
'filter:s3api/use': value => 'egg:swift#s3api';
|
|
'filter:s3api/auth_pipeline_check': value => $auth_pipeline_check;
|
|
}
|
|
}
|