
Note: the 3 changes need to be in the same commit because CI is broken at
this time.
Change #1
In Mitaka gnocchi-dbsync was moved to gnocchi-upgrade [1,2].
[1] aee5df615e
[2] https://review.openstack.org/#/c/245069/5/setup.cfg
Partial-bug: #1535382
Change #2
drop mock dependency
mock is not used anywhere in the module, let's drop it.
This patch will help to hit this bug:
https://launchpad.net/bugs/1492636
Related-Bug: #1492636
Depends-On: I3ac207f744847b5742fc331d2c16d1dad475f9ea
Change-Id: I1e88361018fbbff42cae7e57f2e039fa45eaaeb1
puppet-gnocchi
7.0.0 - 2015.2.0 - Liberty
Table of Contents
- Overview - What is the gnocchi module?
- Module Description - What does the module do?
- Setup - The basics of getting started with gnocchi
- Implementation - An under-the-hood peek at what the module is doing
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
- Contributors - Those with commits
Overview
The gnocchi module is a part of OpenStack, an effort by the Openstack infrastructure team to provide continuous integration testing and code review for Openstack and Openstack community projects as part of the core software. The module itself is used to flexibly configure and manage the management service for Openstack.
Module Description
Setup
What the gnocchi module affects:
- Gnocchi, the HTTP API to store metrics and index resources for OpenStack (OpenStack Datapoint Service).
Installing gnocchi
puppet module install openstack/gnocchi
Implementation
gnocchi
gnocchi is a combination of Puppet manifest and ruby code to delivery configuration and extra functionality through types and providers.
Types
gnocchi_config
The gnocchi_config
provider is a children of the ini_setting provider. It allows one to write an entry in the /etc/gnocchi/gnocchi.conf
file.
gnocchi_config { 'DEFAULT/verbose' :
value => true,
}
This will write verbose=true
in the [DEFAULT]
section.
name
Section/setting name to manage from gnocchi.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>
Limitations
Development
Developer documentation for the entire puppet-openstack project.
Contributors
The github contributor graph.