puppet-swift/manifests/storage.pp
Tobias Urdin 0868b32e79 Convert all class usage to relative names
Change-Id: I0335cf49c2ce55659c49325f2c0028f1af93705d
2019-12-08 23:21:35 +01:00

36 lines
655 B
Puppet

#
# Configures dependencies that are common for all storage
# types.
# - installs an rsync server
# - installs required packages
#
# == Parameters
# [*storage_local_net_ip*] ip address that the swift servers should
# bind to. Required.
# == Dependencies
#
# == Examples
#
# == Authors
#
# Dan Bode dan@puppetlabs.com
#
# == Copyright
#
# Copyright 2011 Puppetlabs Inc, unless otherwise noted.
#
class swift::storage(
$storage_local_net_ip
) {
include swift::deps
if !defined(Class['rsync::server']){
class{ '::rsync::server':
use_xinetd => true,
address => $storage_local_net_ip,
use_chroot => 'no',
}
}
}