File: etag_quoter.pp

package info (click to toggle)
puppet-module-swift 25.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,400 kB
  • sloc: ruby: 9,593; python: 38; sh: 10; makefile: 10
file content (34 lines) | stat: -rw-r--r-- 690 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#
# Configure swift etag quoter.
#
# == Parameters
#
#  [*enabled_by_default*]
#    Enable quoting ETag header cluster-wide by default.
#    Defaults to $facts['os_service_default'].
#
# == Examples
#
#  class {'swift::proxy::etag_quoter':
#    enable_by_default => true,
#  }
#
# == Authors
#
#   Takashi Kajinami <tkajinam@redhat.com>
#
# == Copyright
#
# Copyright (C) 2020 Red Hat
#
class swift::proxy::etag_quoter (
  $enabled_by_default      = $facts['os_service_default']
) {

  include swift::deps

  swift_proxy_config {
    'filter:etag-quoter/use':                value => 'egg:swift#etag_quoter';
    'filter:etag-quoter/enabled_by_default': value => $enabled_by_default;
  }
}