Files
puppet-swift/manifests/ringbuilder/rebalance.pp
Dan Bode 8c13cd147f Fix mispelling of container
In swift::ringbuilder::rebalance there was a typo
in the $name validation code.

This commit updates the spelling to be correct.
2012-01-23 11:45:36 -08:00

11 lines
266 B
Puppet

define swift::ringbuilder::rebalance() {
validate_re($name, '^object|container|account$')
exec { "rebalance_${name}":
command => "swift-ring-builder /etc/swift/${name}.builder rebalance",
path => ['/usr/bin'],
refreshonly => true,
}
}