puppet-swift/manifests/storage/filter/recon.pp

34 lines
611 B
Puppet

#
# Configure swift recon.
#
# == Parameters
# [*cache_path*] The path for recon cache
# Optional. Defaults to '/var/cache/swift/'
#
# == Dependencies
#
# == Examples
#
# == Authors
#
# Dan Bode dan@puppetlabs.com
# Francois Charlier fcharlier@ploup.net
#
# == Copyright
#
# Copyright 2011 Puppetlabs Inc, unless otherwise noted.
#
define swift::storage::filter::recon(
$cache_path = '/var/cache/swift'
) {
include swift::deps
concat::fragment { "swift_recon_${name}":
target => "/etc/swift/${name}-server.conf",
content => template('swift/recon.conf.erb'),
order => '35',
}
}