Puppet Class: swift::proxy::copy

Defined in:
manifests/proxy/copy.pp

Overview

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.

Parameters:

  • object_post_as_copy (Any) (defaults to: true)


18
19
20
21
22
23
24
25
26
27
28
# File 'manifests/proxy/copy.pp', line 18

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;
  }
}