1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
#
# 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 => '70',
}
}
|