
This patch bump puppet-lint gem and add metadata and parameters checks. Metadata lint issues (SPDX ID), missing parameters documentation and syntaxe lint issues was also fixed in this patch Doc for metadata syntax. https://docs.puppetlabs.com/puppet/latest/reference/modules_publishing.html Change-Id: Ia6bb3483b3ffdbeed60b58702a36e0c7b31ffb86
13 lines
227 B
Puppet
13 lines
227 B
Puppet
# == Define: swift::ringsync
|
|
#
|
|
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",
|
|
}
|
|
}
|