OpenStack Watcher Puppet Module
Go to file
ZhongShengping 4553bc0405 Add 'openstack-db' tag to db-sync Exec resource
In order to make easy orchestration on all OpenStack db-sync, add this
tag so people can use this tag in composition layer.
A use case it to set some orchestration to make sure MySQL Galera is
ready before running any Exec with this tag.

Change-Id: I41a7eb38176781bffc16c6886a3de9f855036fbc
Closes-Bug: #1755102
(cherry picked from commit 15dc6f8d4e)
2018-10-12 01:41:44 +00:00
lib/puppet puppet-watcher: Initial commit 2016-06-02 14:30:22 +00:00
manifests Add 'openstack-db' tag to db-sync Exec resource 2018-10-12 01:41:44 +00:00
releasenotes Add 'openstack-db' tag to db-sync Exec resource 2018-10-12 01:41:44 +00:00
spec Add 'openstack-db' tag to db-sync Exec resource 2018-10-12 01:41:44 +00:00
tests puppet-watcher: Initial commit 2016-06-02 14:30:22 +00:00
.gitignore Add basic structure for ReNo 2016-10-07 15:01:55 +00:00
.gitreview Update .gitreview for stable/queens 2018-02-21 00:18:42 +00:00
.zuul.yaml import zuul job settings from project-config 2018-08-31 08:42:35 -04:00
Gemfile Update Gemfile to pull spec_helper from stable/queens 2018-08-15 10:12:29 -06:00
LICENSE This commit adds the initial project files. 2016-06-13 14:09:05 +00:00
README.md fix README.md,wrong grammar 2018-01-16 15:29:47 +08:00
Rakefile puppet-watcher: Initial commit 2016-06-02 14:30:22 +00:00
bindep.txt Add Puppet package to bindep, for module build 2017-10-27 13:17:32 -07:00
metadata.json Prepare a new Queens release 2018-03-28 09:05:23 -07:00
setup.cfg Update URLs in documents according to document migration 2017-07-14 08:55:09 +08:00
setup.py Add basic structure for ReNo 2016-10-07 15:01:55 +00:00
test-requirements.txt Remove pinned versions from test-requirements.txt 2018-01-16 12:29:50 +08:00
tox.ini Update UPPER_CONSTRAINTS_FILE for stable/queens 2018-02-21 00:18:45 +00:00

README.md

Team and repository tags

Team and repository tags

watcher

Table of Contents

  1. Overview - What is the watcher module?
  2. Module Description - What does the module do?
  3. Setup - The basics of getting started with watcher
  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 watcher 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 itself is used to flexibly configure and manage the Watcher service for OpenStack.

Module Description

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

Setup

What the watcher module affects

  • Watcher, the Watcher service for OpenStack.

Installing watcher

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

Beginning with watcher

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

Implementation

watcher

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

Limitations

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