c659733d39
This adds defined anchor points for external modules to hook into the software install, config and service dependency chain. This allows external modules to manage software installation (virtualenv, containers, etc) and service management (pacemaker) without needing rely on resources that may change or be renamed. Change-Id: I00cf4846bb933291469be94c9debed425eddf798
18 lines
318 B
Puppet
18 lines
318 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",
|
|
}
|
|
}
|