3e4835f340
This class does not need swift::params. Furthermore, swift::params is already provided by parent class swift. Change-Id: I351331b01f81e224a37c4f5df64aa09d17939605
34 lines
621 B
Puppet
34 lines
621 B
Puppet
#
|
|
# Configure ceilometer middleware for swift
|
|
#
|
|
# == Dependencies
|
|
#
|
|
# puppet-ceilometer (http://github.com/enovance/puppet-ceilometer)
|
|
#
|
|
# == Examples
|
|
#
|
|
# == Authors
|
|
#
|
|
# Francois Charlier fcharlier@enovance.com
|
|
#
|
|
# == Copyright
|
|
#
|
|
# Copyright 2013 eNovance licensing@enovance.com
|
|
#
|
|
class swift::proxy::ceilometer(
|
|
$ensure = 'present'
|
|
) inherits swift {
|
|
|
|
User['swift'] {
|
|
groups +> 'ceilometer',
|
|
}
|
|
|
|
concat::fragment { 'swift_ceilometer':
|
|
target => '/etc/swift/proxy-server.conf',
|
|
content => template('swift/proxy/ceilometer.conf.erb'),
|
|
order => '33',
|
|
require => Class['::ceilometer']
|
|
}
|
|
|
|
}
|