Files
puppet-swift/manifests/proxy/s3token.pp
Sergio Rubio ec0d743e01 Fix syntax error in s3token manifest
[9506][rubiojr.napoleon] puppet parser validate manifests/proxy/s3token.pp
Error: Could not parse for environment production: Syntax error at
'auth_host'; expected ')' at
/home/rubiojr/Work/github/puppetlabs-swift/manifests/proxy/s3token.pp:25
Error: Try 'puppet help parser validate' for usage
2012-11-22 18:35:28 +01:00

38 lines
732 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
#
# François 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'
) {
concat::fragment { 'swift_s3token':
target => '/etc/swift/proxy-server.conf',
content => template('swift/proxy/s3token.conf.erb'),
order => '28',
}
include 'keystone::python'
}