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

25 lines
621 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;
}
}