0868b32e79
Change-Id: I0335cf49c2ce55659c49325f2c0028f1af93705d
18 lines
316 B
Puppet
18 lines
316 B
Puppet
# == Define: swift::ringsync
|
|
#
|
|
# [*ring_server*]
|
|
# (required) IP or hostname of ring servers
|
|
#
|
|
define swift::ringsync(
|
|
$ring_server
|
|
) {
|
|
|
|
include swift::deps
|
|
|
|
Exec { path => '/usr/bin' }
|
|
|
|
rsync::get { "/etc/swift/${name}.ring.gz":
|
|
source => "rsync://${ring_server}/swift_server/${name}.ring.gz",
|
|
}
|
|
}
|