
... which were added as part of deprecation of sha1 signatures[1]. [1] 2d063cd61f6915579840a41ac0248a26085e0245 Change-Id: I8a27cebecbf1c47b2aeb8c1f1f00b1f1c90011d1
35 lines
690 B
Puppet
35 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), ' ');
|
|
}
|
|
}
|