
This option has been deprecated some time ago, and finally been removed in Mitaka. Let's deprecate this setting in puppet-swift too; there is no longer a reason to use it from Mitaka on. This patch makes it a noop parameter. See Id6bc10c3e84262c0a9e6160a76af03c0ad363e9c in Swift for reference. Change-Id: I525f5010d56ccdd205a0f9d55db99b0f359f35c3 Co-Authored-By: Pete Zaitcev <zaitcev@redhat.com>
46 lines
1.2 KiB
Puppet
46 lines
1.2 KiB
Puppet
#
|
|
# This class can be set to manage keystone middleware for swift proxy
|
|
#
|
|
# == Parameters
|
|
#
|
|
# [*operator_roles*]
|
|
# (Optional) a list of keystone roles a user must have to gain access to Swift.
|
|
# Defaults to ['admin', 'SwiftOperator']
|
|
# Must be an array of strings
|
|
# Swift operator roles must be defined in swift::keystone::auth because
|
|
# keystone API access is usually not available on Swift proxy nodes.
|
|
#
|
|
# [*reseller_prefix*]
|
|
# (Optional) The prefix used for reseller URL.
|
|
# Defaults to 'AUTH_'
|
|
#
|
|
# DEPRECATED PARAMETERS
|
|
# [*is_admin*]
|
|
# Deprecated, this parameter does nothing.
|
|
#
|
|
# == Authors
|
|
#
|
|
# Dan Bode dan@puppetlabs.com
|
|
# Francois Charlier fcharlier@ploup.net
|
|
#
|
|
class swift::proxy::keystone(
|
|
$operator_roles = ['admin', 'SwiftOperator'],
|
|
$reseller_prefix = 'AUTH_',
|
|
# DEPRECATED PARAMETERS
|
|
$is_admin = undef
|
|
) {
|
|
|
|
include ::swift::deps
|
|
|
|
if $is_admin {
|
|
warning('is_admin parameter is deprecated, has no effect and will be removed in a future release.')
|
|
}
|
|
|
|
concat::fragment { 'swift_keystone':
|
|
target => '/etc/swift/proxy-server.conf',
|
|
content => template('swift/proxy/keystone.conf.erb'),
|
|
order => '79',
|
|
}
|
|
|
|
}
|