puppet-swift/manifests/proxy/kms_keymaster.pp
Thiago da Silva c85beff334 Adding barbican configuration to swift
Adding barbican configuration to Swift will
allow enabling data-at-rest encryption in Swift.

Change-Id: I78c6003f5f599a422193dc47422ee607ce05c715
Signed-off-by: Thiago da Silva <thiago@redhat.com>
2018-02-07 12:03:19 -05:00

25 lines
546 B
Puppet

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