
This adds defined anchor points for external modules to hook into the software install, config and service dependency chain. This allows external modules to manage software installation (virtualenv, containers, etc) and service management (pacemaker) without needing rely on resources that may change or be renamed. Change-Id: I00cf4846bb933291469be94c9debed425eddf798
27 lines
617 B
Puppet
27 lines
617 B
Puppet
#
|
|
# Configure swift crossdomain.
|
|
#
|
|
# == Examples
|
|
#
|
|
# include swift::proxy::crossdomain
|
|
#
|
|
# == Parameters
|
|
#
|
|
# [*cross_domain_policy*]
|
|
# cross_domain_policy value according to http://docs.openstack.org/developer/swift/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
|
|
|
|
concat::fragment { 'swift_crossdomain':
|
|
target => '/etc/swift/proxy-server.conf',
|
|
content => template('swift/proxy/crossdomain.conf.erb'),
|
|
order => '35',
|
|
}
|
|
|
|
}
|