Files
puppet-swift/manifests/proxy/encryption.pp
Tobias Urdin 0868b32e79 Convert all class usage to relative names
Change-Id: I0335cf49c2ce55659c49325f2c0028f1af93705d
2019-12-08 23:21:35 +01:00

28 lines
698 B
Puppet

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