1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
#
# Configure swift recon.
#
# == Parameters
# [*cache_path*]
# (Optional) The path for recon cache
# Defaults to $facts['os_service_default']
#
# == 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 = $facts['os_service_default'],
) {
include swift::deps
$config_type = "swift_${name}_config"
create_resources($config_type, {
'filter:recon/use' => {'value' => 'egg:swift#recon'},
'filter:recon/recon_cache_path' => {'value' => $cache_path},
})
}
|