
This commit adds support for fedora. It introduces a params namespace class to hold data differences between ubuntu and fedora. It also moves the xfs packages into their own class (swift::xfs)
31 lines
569 B
Puppet
31 lines
569 B
Puppet
#
|
|
# Configures dependencies that are common for all storage
|
|
# types.
|
|
# - installs an rsync server
|
|
# - installs required packages
|
|
#
|
|
# == Parameters
|
|
# [*storeage_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
|
|
) inherits swift {
|
|
|
|
class{ 'rsync::server':
|
|
use_xinetd => true,
|
|
address => $storage_local_net_ip,
|
|
}
|
|
}
|