OpenStack Zaqar Puppet Module.
Go to file
zhubingbing c3171b85b4 Fix inifile version in metadata
puppetlabs-inifile 1.2.x doesn't work, so let's fix that.

Change-Id: I4506e1e46582357aaa4ad516dfe794575ac27883
Co-Authored-By: zhongshengping <chdzsp@163.com>
2018-07-16 14:59:28 +08:00
doc Follow the new PTI for document build 2018-02-28 14:42:13 +08:00
lib/puppet Reflect provider change in puppet-openstacklib 2016-02-11 20:10:48 -05:00
manifests Fix annotations 2018-06-15 15:07:38 +08:00
releasenotes Deprecate auth_uri option 2018-04-03 16:55:05 +08:00
spec Merge "Debian is using python3-zaqarclient" 2018-04-13 04:34:34 +00:00
templates Add zaqar::server_instance class. 2016-02-17 08:23:57 -05:00
tests puppet-zaqar: Initial commit 2015-08-25 09:59:38 -07:00
.gitignore Update .gitignore 2018-04-11 08:55:43 +08:00
.gitreview Added .gitreview 2015-06-17 21:29:20 +00:00
.zuul.yaml Add tripleo jobs 2018-06-19 13:59:18 -06:00
bindep.txt Add Puppet package to bindep, for module build 2017-10-27 13:17:43 -07:00
CHANGELOG.md Release 8.0.0 2016-03-23 16:08:03 -04:00
Gemfile Load puppet-openstack_spec_helper locally during tests 2018-02-12 10:53:41 +08:00
LICENSE Update LICENSE 2018-04-06 20:18:37 +08:00
metadata.json Fix inifile version in metadata 2018-07-16 14:59:28 +08:00
Rakefile Use puppet-openstack_spec_helper for Rakefile & spec_helper_acceptance 2016-01-18 09:11:37 -05:00
README.md add release note link in readme 2018-06-21 15:08:32 +00:00
setup.cfg Update URLs in documents according to document migration 2017-07-14 13:52:59 +08:00
setup.py Add basic structure for ReNo 2016-03-14 08:37:01 -04:00
tox.ini fix tox python3 overrides 2018-06-08 14:23:33 +08:00

Team and repository tags

Team and repository tags

zaqar

Table of Contents

  1. Overview - What is the zaqar module?
  2. Module Description - What does the module do?
  3. Setup - The basics of getting started with zaqar
  4. Implementation - An under-the-hood peek at what the module is doing
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module
  7. Contributors - Those with commits

Overview

The zaqar 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 not part of the core software. The module its self is used to flexibly configure and manage the queue service for OpenStack.

Module Description

The zaqar module is a thorough attempt to make Puppet capable of managing the entirety of zaqar. This includes manifests to provision region specific endpoint and database connections. Types are shipped as part of the zaqar module to assist in manipulation of configuration files.

Setup

What the zaqar module affects

Zaqar, the queue service for OpenStack.

Installing zaqar

puppet module install openstack/zaqar

Beginning with zaqar

Implementation

zaqar

zaqar is a combination of Puppet manifest and ruby code to delivery configuration and extra functionality through types and providers.

Types

zaqar_config

The zaqar_config provider is a children of the ini_setting provider. It allows one to write an entry in the /etc/zaqar/zaqar.conf file.

zaqar_config { 'DEFAULT/debug' :
  value => true,
}

This will write debug=true in the [DEFAULT] section.

name

Section/setting name to manage from zaqar.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

  • All the zaqar types use the CLI tools and so need to be ran on the zaqar node.

Beaker-Rspec

This module has beaker-rspec tests

To run the tests on the default vagrant node:

bundle install
bundle exec rake acceptance

For more information on writing and running beaker-rspec tests visit the documentation:

Development

Developer documentation for the entire puppet-openstack project.

Contributors

Release Notes