puppet-swift/manifests/ringsync.pp
Tobias Urdin 0868b32e79 Convert all class usage to relative names
Change-Id: I0335cf49c2ce55659c49325f2c0028f1af93705d
2019-12-08 23:21:35 +01:00

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",
}
}