OpenStack Placement Puppet Module
Go to file
Takashi Kajinami 39b9c77ca3 Refactor placement::api
This patch refactors placement::api class with generic_service class
to make service/package management more simple.

Note that it also fixes incorrect stop of httpd service on non-Debian
system.

Backport note:
This backports doesn't include deprecation part because we shouldn't
deprecate parameteres in stable branches.

Conflicts:
	manifests/api.pp

Change-Id: I152fb025027480a4a5151d5372dd03618c482b95
(cherry picked from commit 425180f5b8)
(cherry picked from commit dbafc94383)
2020-06-09 19:17:44 +09:00
doc Bump the openstackdocstheme extension to 1.20 2019-08-13 11:29:07 +08:00
examples Cleanup docs, testing and missed things 2018-12-13 09:37:43 +01:00
lib/puppet Initial cookiecutter run and import from puppet-nova 2018-12-11 10:40:58 +00:00
manifests Refactor placement::api 2020-06-09 19:17:44 +09:00
releasenotes New placement::keystone::authtoken::interface parameter 2019-10-17 20:35:49 +00:00
spec Refactor placement::api 2020-06-09 19:17:44 +09:00
.gitignore Add .gitignore file 2018-12-20 10:39:55 +08:00
.gitreview Update .gitreview for stable/train 2019-10-07 13:34:46 +00:00
.zuul.yaml Add release note jobs 2019-03-27 09:02:58 -06:00
Gemfile Switch to Train 2019-10-10 01:26:03 +02:00
LICENSE Initial cookiecutter run and import from puppet-nova 2018-12-11 10:40:58 +00:00
README.md Replace git.openstack.org with opendev.org/openstack 2019-04-21 11:50:31 +08:00
Rakefile Initial cookiecutter run and import from puppet-nova 2018-12-11 10:40:58 +00:00
bindep.txt Add packages needed by tests 2018-12-20 10:43:16 +08:00
metadata.json Prepare Train RC1 2019-09-25 13:45:44 +08:00
setup.cfg Cleanup docs, testing and missed things 2018-12-13 09:37:43 +01:00
setup.py Initial cookiecutter run and import from puppet-nova 2018-12-11 10:40:58 +00:00
tox.ini Update TOX/UPPER_CONSTRAINTS_FILE for stable/train 2019-10-07 13:34:49 +00:00

README.md

Team and repository tags

Team and repository tags

Table of Contents

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

Overview

The placement 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 placement service for OpenStack.

Module Description

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

Setup

What the placement module affects

  • Placement, the placement service for OpenStack.

Installing placement

placement is not currently in Puppet Forge, but is anticipated to be added soon.  Once that happens, you'll be able to install placement with:
puppet module install openstack/placement

Beginning with placement

To utilize the placement module's functionality you will need to declare multiple resources.

Implementation

placement

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

Limitations

  • All the placement types use the CLI tools and so need to be ran on the placement 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