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:
parent
cc163db0bb
commit
edd9a6b7d0
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user