Files
puppet-swift/manifests/proxy/keystone.pp
Chmouel Boudjnah 000d63b654 Fix auth_token configuration.
- cache=swift.cache need to be in auth_token configuration not in
  keystoneauth.
- Make auth_token using the same facility for logging than main swift.

Closes-Bug: #1254487

Change-Id: If5a09da4d18f247dc42b99e6f666bc2867d06dcb
2013-11-24 18:52:48 +01:00

30 lines
755 B
Puppet

#
# This class can be sed to manage keystone middleware for swift proxy
#
# == Parameters
# [operator_roles] a list of keystone roles a user must have to gain
# access to Swift.
# Optional. Dfeaults to ['admin', 'SwiftOperator']
# Must be an array of strings
# [is_admin] Set to true to allow users to set ACLs on their account.
# Optional. Defaults to true.
#
# == Authors
#
# Dan Bode dan@puppetlabs.com
# Francois Charlier fcharlier@ploup.net
#
class swift::proxy::keystone(
$operator_roles = ['admin', 'SwiftOperator'],
$is_admin = true
) {
concat::fragment { 'swift_keystone':
target => '/etc/swift/proxy-server.conf',
content => template('swift/proxy/keystone.conf.erb'),
order => '79',
}
}