24a01d1bea
The swift pipeline is commonly used to plug capabilities in. This pipeline should be implemented in a way that is easier to extend as people desire additional pipelines. This commit implements classes that can be used to configure the following pipelines: - proxy::cache - proxy::healthcheck - proxy::keystone - proxy::swauth It also reimplements swift::proxy to utilize those pipelines for configuration.
25 lines
411 B
Puppet
25 lines
411 B
Puppet
#
|
|
# Configure swift healthcheck.
|
|
#
|
|
# == Dependencies
|
|
#
|
|
# == Examples
|
|
#
|
|
# == Authors
|
|
#
|
|
# Dan Bode dan@puppetlabs.com
|
|
#
|
|
# == Copyright
|
|
#
|
|
# Copyright 2011 Puppetlabs Inc, unless otherwise noted.
|
|
#
|
|
class swift::proxy::healthcheck() {
|
|
|
|
concat::fragment { 'swift_healthcheck':
|
|
target => '/etc/swift/proxy-server.conf',
|
|
content => template('swift/proxy/healthcheck.conf.erb'),
|
|
order => '25',
|
|
}
|
|
|
|
}
|