
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
53 lines
958 B
Puppet
53 lines
958 B
Puppet
#
|
|
# Configure swift gatekeeper.
|
|
#
|
|
# == Examples
|
|
#
|
|
# include swift::proxy::gatekeeper
|
|
#
|
|
# == Parameters
|
|
#
|
|
# [*log_name*]
|
|
# The log name of gatekeeper.
|
|
# Default to gatekeeper.
|
|
#
|
|
# [*log_facility*]
|
|
# The log facility of gatekeeper.
|
|
# Default to LOG_LOCAL0.
|
|
#
|
|
# [*log_level*]
|
|
# The log level of gatekeeper.
|
|
# Default to INFO.
|
|
#
|
|
# [*log_headers*]
|
|
# The log headers of gatekeeper.
|
|
# Default to false.
|
|
#
|
|
# [*log_address*]
|
|
# The log address of gatekeeper.
|
|
# Default to '/dev/log'.
|
|
#
|
|
# == Authors
|
|
#
|
|
# Xingchao Yu yuxcer@gmail.com
|
|
#
|
|
# == Copyright
|
|
#
|
|
# Copyright 2014 UnitedStack licensing@unitedstack.com
|
|
#
|
|
class swift::proxy::gatekeeper(
|
|
$log_name = 'gatekeeper',
|
|
$log_facility = 'LOG_LOCAL0',
|
|
$log_level = 'INFO',
|
|
$log_headers = false,
|
|
$log_address = '/dev/log'
|
|
) {
|
|
|
|
concat::fragment { 'swift_gatekeeper':
|
|
target => '/etc/swift/proxy-server.conf',
|
|
content => template('swift/proxy/gatekeeper.conf.erb'),
|
|
order => '34',
|
|
}
|
|
|
|
}
|