puppet-swift/manifests/storage.pp
Adam Vinsh c659733d39 Add hooks for external install & svc management
This adds defined anchor points for external modules to hook into the
software install, config and service dependency chain.  This allows
external modules to manage software installation (virtualenv,
containers, etc) and service management (pacemaker) without needing rely
on resources that may change or be renamed.

Change-Id: I00cf4846bb933291469be94c9debed425eddf798
2016-05-25 08:52:47 -04:00

36 lines
657 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',
}
}
}