7f1a945550
Add support for configuring swift-proxy keymaster middleware. The keymaster middleware handles keys for swift encryption[1]. [1] https://docs.openstack.org/swift/latest/overview_encryption.html Change-Id: Ic6c34c5381eb4f57642493b5acf127dba4f7834e
25 lines
471 B
Puppet
25 lines
471 B
Puppet
#
|
|
# Configure Swift Keymaster middleware.
|
|
#
|
|
# == Examples
|
|
#
|
|
# include swift::proxy::keymaster
|
|
#
|
|
# == Parameters
|
|
#
|
|
# [*encryption_root_secret*]
|
|
# Encryption root secret value.
|
|
#
|
|
class swift::proxy::keymaster (
|
|
$encryption_root_secret,
|
|
) {
|
|
|
|
include swift::deps
|
|
|
|
swift_proxy_config {
|
|
'filter:keymaster/use': value => 'egg:swift#keymaster';
|
|
'filter:keymaster/encryption_root_secret': value => $encryption_root_secret, secret => true;
|
|
}
|
|
|
|
}
|