puppet-swift/manifests/proxy/crossdomain.pp
ZhongShengping 86f435a2a5 Update URLs in documents according to document migration
Change-Id: I1b8e63b37be6599a4263afdf12d8f617163fde20
2017-07-14 13:05:37 +08:00

25 lines
623 B
Puppet

#
# Configure swift crossdomain.
#
# == Examples
#
# include swift::proxy::crossdomain
#
# == Parameters
#
# [*cross_domain_policy*]
# cross_domain_policy value according to https://docs.openstack.org/swift/latest/crossdomain.html
# default: <allow-access-from domain="*" secure="false" />
#
class swift::proxy::crossdomain (
$cross_domain_policy = '<allow-access-from domain="*" secure="false" />',
) {
include ::swift::deps
swift_proxy_config {
'filter:crossdomain/use': value => 'egg:swift#crossdomain';
'filter:crossdomain/cross_domain_policy': value => $cross_domain_policy;
}
}