Merge pull request #475 from enovance/clean_swift_manifests

Clean swift manifests
This commit is contained in:
Emilien Macchi 2014-05-22 22:54:36 +02:00
commit b7203bbaef
3 changed files with 5 additions and 14 deletions

View File

@ -27,8 +27,6 @@ class cloud::object(
$swift_hash_suffix = undef
) {
class { 'ssh::server::install': }
class { 'swift':
swift_hash_suffix => $swift_hash_suffix,
}

View File

@ -22,6 +22,8 @@ class cloud::object::ringbuilder(
$swift_rsync_max_connections = 5,
) {
include cloud::object
Ring_object_device <<| |>>
Ring_container_device <<| |>>
Ring_account_device <<| |>>

View File

@ -73,12 +73,9 @@ allow_versions = on
log_facility => 'LOG_LOCAL6',
}
swift::storage::filter::recon { 'object': }
swift::storage::filter::recon { 'container': }
swift::storage::filter::recon { 'account': }
swift::storage::filter::healthcheck { 'object': }
swift::storage::filter::healthcheck { 'container': }
swift::storage::filter::healthcheck { 'account': }
$swift_components = ['account', 'container', 'object']
swift::storage::filter::recon { $swift_components : }
swift::storage::filter::healthcheck { $swift_components : }
$object_nodes = flatten([ range('sdc','sdd')])
swift::storage::xfs { $object_nodes: }
@ -100,12 +97,6 @@ allow_versions = on
weight => '100.0',
}
class{
['swift::storage::object',
'swift::storage::container',
'swift::storage::account']:
}
Swift::Ringsync<<| |>> ->
Swift::Storage::Server[$container_port] ->
Swift::Storage::Server[$account_port] ->