File: kms_keymaster.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 (24 lines) | stat: -rw-r--r-- 542 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
#
# Configure Swift KMS Keymaster middleware.
#
# == Examples
#
#  include swift::proxy::kms_keymaster
#
# == Parameters
#
# [*keymaster_config_path*]
# Sets the path from which the keymaster config options should be read
#
class swift::proxy::kms_keymaster (
  $keymaster_config_path = '/etc/swift/keymaster.conf'
) {

  include swift::deps

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