9b9c27294b
The gem 'puppet-lint-param-docs' was bumped to 1.2.0 and now handle class and define type. This patch fix lint issues (missing documentation). Change-Id: If3718cc533e6e81071aba191310552031508f132
16 lines
293 B
Puppet
16 lines
293 B
Puppet
# == Define: swift::ringsync
|
|
#
|
|
# [*ring_server*]
|
|
# (required) IP or hostname of ring servers
|
|
#
|
|
define swift::ringsync(
|
|
$ring_server
|
|
) {
|
|
|
|
Exec { path => '/usr/bin' }
|
|
|
|
rsync::get { "/etc/swift/${name}.ring.gz":
|
|
source => "rsync://${ring_server}/swift_server/${name}.ring.gz",
|
|
}
|
|
}
|