puppet-openstack-cloud/roles/metering/ceilometer_server.pp
Emilien Macchi 6911eded2e Update roles + templates
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
2013-10-09 17:03:25 +02:00

37 lines
1.2 KiB
Puppet

#
# Copyright (C) 2013 eNovance SAS <licensing@enovance.com>
#
# Authors: Mehdi Abaakouk <mehdi.abaakouk@enovance.com>
# Emilien Macchi <emilien.macchi@enovance.com>
# Francois Charlier <francois.charlier@enovance.com>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
# Ceilometer nodes
class os_ceilometer{
class { 'mongodb':
enable_10gen => true,
}
class { 'ceilometer::db':
database_connection => $os_params::ceilometer_database_connection,
require => Class['mongodb']
}
class { 'ceilometer::collector': }
# Ceilometer Central Agent is defined in site.pp since it must be installed on only node (not able to scale-out)
}