
This patch bump puppet-lint gem and add metadata and parameters checks. Metadata lint issues (SPDX ID), missing parameters documentation and syntaxe lint issues was also fixed in this patch Doc for metadata syntax. https://docs.puppetlabs.com/puppet/latest/reference/modules_publishing.html Change-Id: Ia6bb3483b3ffdbeed60b58702a36e0c7b31ffb86
45 lines
789 B
Puppet
45 lines
789 B
Puppet
# == Class: swift::proxy::s3token
|
|
#
|
|
# Configure swift s3token.
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*auth_host*]
|
|
# (optional) The keystone host
|
|
# Defaults to 127.0.0.1
|
|
#
|
|
# [*auth_port*]
|
|
# (optional) The Keystone client API port
|
|
# Defaults to 5000
|
|
#
|
|
# [*auth_protocol*]
|
|
# (optional) http or https
|
|
# 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',
|
|
}
|
|
}
|