Jiri Podivin 27f86a240b setuptools: Disable auto discovery
The latest release of setuptools 61.0 made a breaking change[1] and
because of this change 'pip install' fails with the following error.

~~~
error: Multiple top-level packages discovered in a flat-layout:
['lib', 'spec', 'manifests', 'releasenotes'].
~~~

Users that don't set 'packages', 'py_modules', or configuration'
are still likely to observe the auto-discovery behavior, which may
halt the build if the project contains multiple directories and/or
multiple Python files directly under the project root.

To disable auto discovery, one can do below in setup.py

~~~
setuptools.setup(..,packages=[],..)
~~~

or

~~~
setuptools.setup(..,py_modules=[],..)
~~~

[1] https://github.com/pypa/setuptools/issues/3197

Note setup.py is not used to install puppet modules. However it is used
to generate a release note, thus should be fixed.

Conflicts:
	setup.py

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I561abed5abd7e48ab5491fa8ecbf16341ab0a3a4
(cherry picked from commit 5a6caae06cb68333e5eae9059691f6b248a28da4)
(cherry picked from commit c0dffc21d1fde1df29bea0a583a5e9578a6dcc94)
2022-11-03 00:53:21 +09:00
2021-03-27 15:31:58 +08:00
2021-06-03 06:14:18 +00:00
2020-08-31 22:05:10 +02:00
2018-04-06 20:18:34 +08:00
2021-03-26 13:46:30 +08:00
2016-06-02 14:30:22 +00:00
2020-08-31 22:05:10 +02:00
2022-11-03 00:53:21 +09:00

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
  8. Release Notes - Release notes for the project
  9. Repository - The project source code repository

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.

Development

Developer documentation for the entire puppet-openstack project.

Contributors

Release Notes

Repository

Description
OpenStack Watcher Puppet Module
Readme 3.5 MiB
Languages
Puppet 48.1%
Ruby 47.3%
Python 4.6%