RETIRED, OpenStack EC2 API Puppet Module
Go to file
Jiri Podivin 9bfd4f5b78 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: I1849d008833a689d8fb17efc815dadb3ec8e2d22
(cherry picked from commit c1ee6f9507)
(cherry picked from commit f9d8d56263)
2022-11-03 00:25:10 +09:00
doc Update sphinx to the latest version 2021-03-27 15:31:56 +08:00
examples Convert all class usage to relative names 2019-12-08 23:04:51 +01:00
lib/puppet Use anchor to require necessary packages 2020-05-04 14:59:18 +09:00
manifests Add support for oslo_policy/enforce_new_defaults 2021-03-24 11:25:28 +00:00
releasenotes Add support for oslo_policy/enforce_new_defaults 2021-03-24 11:25:28 +00:00
spec Set fixture paths for unit tests 2021-06-03 06:23:33 +00:00
.gitignore Dissuade .gitignore references to personal tools 2018-10-08 11:39:23 +08:00
.gitreview Update .gitreview for stable/wallaby 2021-04-01 09:15:17 +00:00
.zuul.yaml Add Puppet Litmus 2020-08-31 21:17:17 +02:00
CONTRIBUTING.rst [ussuri][goal] Add CONTRIBUTING.rst 2020-05-10 22:35:23 +02:00
Gemfile Use openstack_spec_helper from zuul checkout 2020-08-30 22:55:07 +02:00
LICENSE Update LICENSE 2018-04-06 20:14:17 +08:00
README.md Add Puppet Litmus 2020-08-31 21:17:17 +02:00
Rakefile puppet-ec2api: Initial commit 2016-04-15 17:45:05 +02:00
bindep.txt modulesync: sync and add nodepool-bionic for beaker 2018-07-18 16:17:42 +02:00
metadata.json Prepare Wallaby RC1 2021-03-26 11:24:16 +08:00
setup.cfg Change openstack-dev to openstack-discuss 2018-12-02 18:19:42 +01:00
setup.py setuptools: Disable auto discovery 2022-11-03 00:25:10 +09:00
tox.ini Update TOX_CONSTRAINTS_FILE for stable/wallaby 2021-04-01 09:15:20 +00:00

README.md

Team and repository tags

Team and repository tags

ec2api

Table of Contents

  1. Overview - What is the ec2api module?
  2. Module Description - What does the module do?
  3. Setup - The basics of getting started with ec2api
  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 ec2api 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 EC2 API service for OpenStack.

Module Description

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

Setup

What the ec2api module affects

  • Ec2api, the EC2 API service for OpenStack.

Installing ec2api

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

Beginning with ec2api

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

Implementation

ec2api

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

Limitations

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

Development

Developer documentation for the entire puppet-openstack project.

Contributors

Release Notes

Repository