0098067226
Fix warning: "ensure found on line but it's not the first attribute" Change-Id: Iecc0cd4fe267c40fbef9a84ff1da2eaff5aa45a7
35 lines
572 B
Puppet
35 lines
572 B
Puppet
#
|
|
# Configure swift swift3.
|
|
#
|
|
# == Dependencies
|
|
#
|
|
# == 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',
|
|
}
|
|
|
|
}
|