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