
Fix new lint errors detected when full of the voxpupili lint plugins are enabled. Change-Id: Ifb5b50d7ae23c3e69a70721598e2719dbafa14d5 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
34 lines
690 B
Puppet
34 lines
690 B
Puppet
#
|
|
# Configure swift formpost.
|
|
#
|
|
# == Parameters
|
|
#
|
|
# [*allowed_digests*]
|
|
# The digest algorithm(s) supported for generating signatures.
|
|
# Optional. Defaults to $facts['os_service_default'].
|
|
#
|
|
# == Dependencies
|
|
#
|
|
# == Examples
|
|
#
|
|
# include swift::proxy::formpost
|
|
#
|
|
# == Authors
|
|
#
|
|
# Mehdi Abaakouk <sileht@sileht.net>
|
|
#
|
|
# == Copyright
|
|
#
|
|
# Copyright 2012 eNovance licensing@enovance.com
|
|
#
|
|
class swift::proxy::formpost (
|
|
$allowed_digests = $facts['os_service_default'],
|
|
) {
|
|
include swift::deps
|
|
|
|
swift_proxy_config {
|
|
'filter:formpost/use': value => 'egg:swift#formpost';
|
|
'filter:formpost/allowed_digests': value => join(any2array($allowed_digests), ' ');
|
|
}
|
|
}
|