Files
puppet-swift/manifests/storage.pp
vinsh 0d40df78fe doc spelling corrections
Change-Id: I2d19bcf6fa01aca6025cdd5828e35db4a2b17199
2015-02-12 14:28:09 -07:00

34 lines
630 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
) {
if !defined(Class['rsync::server']){
class{ 'rsync::server':
use_xinetd => true,
address => $storage_local_net_ip,
use_chroot => 'no',
}
}
}