Files
puppet-swift/manifests/proxy/copy.pp
Takashi Kajinami 73d0dbfb0a Prepare for voxpupuli-puppet-lint-plugins
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>
2025-08-20 07:01:23 +00:00

28 lines
745 B
Puppet

#
# Configure swift copy.
#
# == Examples
#
# include swift::proxy::copy
#
# == Parameters
#
# [*object_post_as_copy*]
# Set object_post_as_copy = false to turn on fast posts where only the metadata
# changes are stored anew and the original data file is kept in place. This
# makes for quicker posts.
# When object_post_as_copy is set to true, a POST request will be transformed
# into a COPY request where source and destination objects are the same. This
# is the current default in Swift.
#
class swift::proxy::copy (
$object_post_as_copy = true
) {
include swift::deps
swift_proxy_config {
'filter:copy/use': value => 'egg:swift#copy';
'filter:copy/object_post_as_copy': value => $object_post_as_copy;
}
}