puppet-swift/manifests/proxy/ceilometer.pp
Mathieu Gagné 3e4835f340 Remove swift::params include
This class does not need swift::params. Furthermore,
swift::params is already provided by parent class swift.

Change-Id: I351331b01f81e224a37c4f5df64aa09d17939605
2013-05-13 13:50:34 -04:00

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']
}
}