c8fb3d1b5c
When doing spec tests on your custom modules you want to have as little dependencies as possible so specifying sqlite is the simplest. If you specify mysql or postgresql you'll need your custom testing grabing the upstream puppetlabs-mysql or puppetlabs-postgresql modules which just adds unnecessary deps instead of a few bytes in a validate_re function. Change-Id: If25e8c0161bdd487f11460884883f42ea13074b3 |
||
---|---|---|
doc | ||
examples | ||
lib/puppet | ||
manifests | ||
releasenotes | ||
spec | ||
tests | ||
.gitignore | ||
.gitreview | ||
.zuul.yaml | ||
Gemfile | ||
LICENSE | ||
README.md | ||
Rakefile | ||
bindep.txt | ||
metadata.json | ||
setup.cfg | ||
setup.py | ||
tox.ini |
README.md
Team and repository tags
magnum
Table of Contents
- Overview - What is the magnum module?
- Module Description - What does the module do?
- Setup - The basics of getting started with magnum
- Implementation - An under-the-hood peek at what the module is doing
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
- Contributors - Those with commits
Overview
The magnum 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 container service for OpenStack.
Module Description
The magnum module is a thorough attempt to make Puppet capable of managing the entirety of magnum. This includes manifests to provision region specific endpoint and database connections. Types are shipped as part of the magnum module to assist in manipulation of configuration files.
Setup
What the magnum module affects
- Magnum, the container service for OpenStack.
Installing magnum
magnum is not currently in Puppet Forge, but is anticipated to be added soon. Once that happens, you'll be able to install magnum with:
puppet module install openstack/magnum
Beginning with magnum
To utilize the magnum module's functionality you will need to declare multiple resources. This is not an exhaustive list of all the components needed, we recommend you consult and understand the core openstack documentation.
Implementation
magnum
magnum is a combination of Puppet manifest and ruby code to delivery configuration and extra functionality through types and providers.
Limitations
- All the magnum types use the CLI tools and so need to be run on the magnum 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.