puppet-swift/manifests/ringsync.pp
Sebastien Badia 9b9c27294b lint: Fix lint issues (missing documentation for define types)
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
2015-06-26 19:52:59 +02:00

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