File: encryption.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 (27 lines) | stat: -rw-r--r-- 698 bytes parent folder | download | duplicates (3)
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
#
# Configure Swift encryption.
#
# == Examples
#
#  include swift::proxy::encryption
#
# == Parameters
#
# [*disable_encryption*]
# By default all PUT or POST'ed object data and/or metadata will be encrypted.
# Encryption of new data and/or metadata may be disabled by setting
# disable_encryption to True. However, all encryption middleware should remain
# in the pipeline in order for existing encrypted data to be read.
#
class swift::proxy::encryption (
  $disable_encryption = false
) {

  include swift::deps

  swift_proxy_config {
    'filter:encryption/use':                value => 'egg:swift#encryption';
    'filter:encryption/disable_encryption': value => $disable_encryption;
  }
}