Puppet Class: swift::proxy::container_sync

Defined in:
manifests/proxy/container_sync.pp

Overview

Configure Swift Container Sync

Parameters

allow_full_urls

(Optional) Allow full URL values to be set for new X-Container-Sync-To headers. Defaults to $facts

current

(Optional) Set this to specify this clusters //realm/cluster as “current” in /info. Defaults to $facts

Authors

Denis Egorenko <degorenko@mirantis.com>

Parameters:

  • allow_full_urls (Any) (defaults to: $facts['os_service_default'])
  • current (Any) (defaults to: $facts['os_service_default'])


20
21
22
23
24
25
26
27
28
29
30
31
32
# File 'manifests/proxy/container_sync.pp', line 20

class swift::proxy::container_sync(
  $allow_full_urls = $facts['os_service_default'],
  $current         = $facts['os_service_default'],
) {

  include swift::deps

  swift_proxy_config {
    'filter:container_sync/use':             value => 'egg:swift#container_sync';
    'filter:container_sync/allow_full_urls': value => $allow_full_urls;
    'filter:container_sync/current':         value => $current;
  }
}