2016-11-25 17:10:33 +01:00
Team and repository tags
========================
2017-09-21 11:40:40 +08:00
[![Team and repository tags ](https://governance.openstack.org/tc/badges/puppet-ceilometer.svg )](https://governance.openstack.org/tc/reference/tags/index.html)
2016-11-25 17:10:33 +01:00
<!-- Change things from this point on -->
2014-03-21 15:45:41 -07:00
Ceilometer
==========
#### Table of Contents
1. [Overview - What is the ceilometer module? ](#overview )
2. [Module Description - What does the module do? ](#module-description )
3. [Setup - The basics of getting started with ceilometer ](#setup )
4. [Implementation - An under-the-hood peek at what the module is doing ](#implementation )
5. [Limitations - OS compatibility, etc. ](#limitations )
2020-09-20 18:56:20 +02:00
6. [Development - Guide for contributing to the module ](#development )
7. [Release Notes - Release notes for the project ](#release-notes )
8. [Contributors - Those with commits ](#contributors )
9. [Repository - The project source code repository ](#repository )
2014-03-21 15:45:41 -07:00
Overview
--------
2019-04-21 11:50:26 +08:00
The ceilometer module is part of [OpenStack ](https://opendev.org/openstack ), an effort by the
2014-03-21 15:45:41 -07:00
OpenStack infrastructure team to provice continuous integration testing and code review for
2015-06-22 15:02:02 +08:00
OpenStack and OpenStack community projects as part of the core software. The module itself
2014-03-21 15:45:41 -07:00
is used to flexibly configure and manage the metering service for OpenStack.
Module Description
------------------
The ceilometer module is an attempt to make Puppet capable of managing the entirety of ceilometer.
This includes manifests to provision the ceilometer api, agents, and database stores. A
ceilometer_config type is supplied to assist in the manipulation of configuration files.
Setup
-----
**What the ceilometer module affects**
2019-02-13 10:31:04 +08:00
* [Ceilometer ](https://docs.openstack.org/ceilometer/latest/ ), the metering service for OpenStack
2014-03-21 15:45:41 -07:00
### Installing ceilometer
2015-07-21 17:26:21 -03:00
puppet module install openstack/ceilometer
2014-03-21 15:45:41 -07:00
### Beginning with ceilometer
2017-06-21 10:03:21 +07:00
To utilize the ceilometer module's functionality you will need to declare multiple resources. This is not an exhaustive list of all the components needed. We recommend that you consult and understand the [core openstack ](https://docs.openstack.org ) documentation to assist you in understanding the available deployment options.
2015-07-21 17:26:21 -03:00
```puppet
2019-12-08 15:20:50 +01:00
class { 'ceilometer':
2017-01-21 12:36:48 +08:00
telemetry_secret => 'secrete',
default_transport_url => 'rabbit://ceilometer:an_even_bigger_secret@127 .0.0.1:5672',
}
2019-12-08 15:20:50 +01:00
class { 'ceilometer::keystone::auth':
2017-01-21 12:36:48 +08:00
password => 'a_big_secret',
2015-07-21 17:26:21 -03:00
}
2019-12-08 15:20:50 +01:00
class { 'ceilometer::collector': }
class { 'ceilometer::agent::polling': }
class { 'ceilometer::agent::notification': }
class { 'ceilometer::db': }
class { 'ceilometer::keystone::authtoken':
2017-01-21 12:36:48 +08:00
password => 'a_big_secret',
2018-05-13 00:30:13 +08:00
auth_url => 'http://127.0.0.1:5000/',
2017-01-21 12:36:48 +08:00
}
2015-07-21 17:26:21 -03:00
```
2014-03-21 15:45:41 -07:00
Implementation
--------------
### ceilometer
ceilometer is a combination of Puppet manifests and Ruby code to deliver configuration and
extra functionality through types and providers.
2015-08-06 13:05:21 +02:00
### Types
#### ceilometer_config
The `ceilometer_config` provider is a children of the ini_setting provider. It allows one to write an entry in the `/etc/ceilometer/ceilometer.conf` file.
```puppet
2016-05-18 01:26:28 -03:00
ceilometer_config { 'DEFAULT/http_timeout' :
value => 600,
2015-08-06 13:05:21 +02:00
}
```
2016-05-18 01:26:28 -03:00
This will write `http_timeout=600` in the `[DEFAULT]` section.
2015-08-06 13:05:21 +02:00
##### name
Section/setting name to manage from `ceilometer.conf`
##### value
The value of the setting to be defined.
##### secret
Whether to hide the value from Puppet logs. Defaults to `false` .
##### ensure_absent_val
If value is equal to ensure_absent_val then the resource will behave as if `ensure => absent` was specified. Defaults to `<SERVICE DEFAULT>`
2014-03-21 15:45:41 -07:00
Limitations
-----------
* The ceilometer modules have only been tested on RedHat and Ubuntu family systems.
Development
-----------
Developer documentation for the entire puppet-openstack project
2017-07-14 11:45:40 +08:00
* https://docs.openstack.org/puppet-openstack-guide/latest/
2014-03-21 15:45:41 -07:00
2018-07-28 14:46:34 +00:00
Release Notes
-------------
* https://docs.openstack.org/releasenotes/puppet-ceilometer
2018-06-27 21:49:56 +08:00
2014-03-21 15:45:41 -07:00
Contributors
------------
2015-06-22 15:02:02 +08:00
* https://github.com/openstack/puppet-ceilometer/graphs/contributors
2014-03-21 15:45:41 -07:00
2018-07-20 14:31:14 +08:00
Repository
2018-07-25 11:01:49 +08:00
----------
2018-07-20 14:31:14 +08:00
2019-04-21 12:59:08 +08:00
* https://opendev.org/openstack/puppet-ceilometer
2018-07-20 14:31:14 +08:00
2014-03-21 15:45:41 -07:00
This is the ceilometer module.