Clean up swift ringbuilder role

This commit cleans up the multi-node example code
for the ringbuilder role.

- adds resource collection code to collect exported
ring balancing resources.
- fixes a typo in the name.
This commit is contained in:
Dan Bode 2012-02-13 17:02:21 -08:00
parent cc163db0bb
commit edd9a6b7d0

View File

@ -87,7 +87,12 @@ class role_swift {
}
class role_swift_ringbuilder inherits role_swif {
class role_swift_ringbuilder inherits role_swift {
# collect all resource that we need to rebalance the ring
Ring_object_device <<| |>>
Ring_container_device <<| |>>
Ring_account_device <<| |>>
class { 'swift::ringbuilder':
part_power => '18',
@ -96,12 +101,6 @@ class role_swift_ringbuilder inherits role_swif {
require => Class['swift'],
}
# collect the ring devices to build
# TODO - this should be done with resource collection
include ring_hack
# now build an rsync server to host the data
}
class role_swift_proxy inherits role_swift {