
This changes the puppet-lint requirement to 1.1.x, so that we can use puppet-lint plugins. Most of these plugins are for 4.x compat, but some just catch common errors. Change-Id: I9b41f170a782fecf88f241dc12288670b552b433
41 lines
671 B
Puppet
41 lines
671 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::params
|
|
|
|
package { 'swift-plugin-s3':
|
|
ensure => $ensure,
|
|
name => $::swift::params::swift3,
|
|
}
|
|
|
|
concat::fragment { 'swift_swift3':
|
|
target => '/etc/swift/proxy-server.conf',
|
|
content => template('swift/proxy/swift3.conf.erb'),
|
|
order => '27',
|
|
}
|
|
|
|
}
|