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>
40 lines
653 B
Puppet
40 lines
653 B
Puppet
#
|
|
# Configure swift swift3.
|
|
#
|
|
# == Dependencies
|
|
#
|
|
# == Parameters
|
|
#
|
|
# [*ensure*]
|
|
# Enable or not swift3 middleware
|
|
# Defaults to 'present'
|
|
#
|
|
# == Examples
|
|
#
|
|
# == Authors
|
|
#
|
|
# Francois Charlier fcharlier@ploup.net
|
|
# Joe Topjian joe@topjian.net
|
|
#
|
|
# == Copyright
|
|
#
|
|
# Copyright 2012 eNovance licensing@enovance.com
|
|
#
|
|
class swift::proxy::swift3(
|
|
$ensure = 'present'
|
|
) {
|
|
|
|
include ::swift::deps
|
|
include ::swift::params
|
|
|
|
package { 'swift-plugin-s3':
|
|
ensure => $ensure,
|
|
name => $::swift::params::swift3,
|
|
tag => ['openstack','swift-package']
|
|
}
|
|
|
|
swift_proxy_config {
|
|
'filter:swift3/use': value => 'egg:swift3#swift3';
|
|
}
|
|
}
|