Files
puppet-swift/manifests/proxy/swift3.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

43 lines
739 B
Puppet

#
# Configure swift swift3.
#
# == Dependencies
#
# == Parameters
#
# [*ensure*]
# Enable or not ceilometer fragment
# Defaults to 'present'
#
# == Examples
#
# == Authors
#
# Francois Charlier fcharlier@ploup.net
# Joe Topjian joe@topjian.net
#
# == Copyright
#
# Copyright 2012 eNovance licensing@enovance.com
#
class swift::proxy::swift3(
$ensure = 'present'
) {
include ::swift::deps
include ::swift::params
package { 'swift-plugin-s3':
ensure => $ensure,
name => $::swift::params::swift3,
tag => ['openstack','swift-package']
}
concat::fragment { 'swift_swift3':
target => '/etc/swift/proxy-server.conf',
content => template('swift/proxy/swift3.conf.erb'),
order => '27',
}
}