
* Fix following warnings: * double quoted string containing no variables * indentation of => is not properly aligned * mode should be represented as a 4 digit octal value or symbolic mode * string containing only a variable * top-scope variable being used without an explicit namespace * unquoted file mode * variable not enclosed in {} * Fix following errors: * trailing whitespace found * two-space soft tabs not used * Remove quotes around class in include/require statements Change-Id: Ia920d848e1955612a6486ec8731309e6d3a70f63
38 lines
729 B
Puppet
38 lines
729 B
Puppet
#
|
|
# Configure swift s3token.
|
|
#
|
|
# == Parameters
|
|
# [auth_host] the keystone host
|
|
# Optional. Defaults to 127.0.0.1
|
|
# [auth_port] the Keystone client API port
|
|
# Optional. Defaults to 5000
|
|
# [auth_protocol] http or https
|
|
# Optional. Defaults to http
|
|
#
|
|
# == Dependencies
|
|
#
|
|
# == Examples
|
|
#
|
|
# == Authors
|
|
#
|
|
# Francois Charlier fcharlier@ploup.net
|
|
#
|
|
# == Copyright
|
|
#
|
|
# Copyright 2012 eNovance licensing@enovance.com
|
|
#
|
|
class swift::proxy::s3token(
|
|
$auth_host = '127.0.0.1',
|
|
$auth_port = '35357',
|
|
$auth_protocol = 'http'
|
|
) {
|
|
|
|
include keystone::python
|
|
|
|
concat::fragment { 'swift_s3token':
|
|
target => '/etc/swift/proxy-server.conf',
|
|
content => template('swift/proxy/s3token.conf.erb'),
|
|
order => '28',
|
|
}
|
|
}
|