puppet-swift/manifests/proxy/copy.pp
Tobias Urdin 0868b32e79 Convert all class usage to relative names
Change-Id: I0335cf49c2ce55659c49325f2c0028f1af93705d
2019-12-08 23:21:35 +01:00

29 lines
746 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;
}
}