RETIRED, Fuel Library
Go to file
Vitaly Kramskikh 6cd887423d Forbid caching / for fuel-web
New header 'expires -1' forbids caching of / (index.html)
to avoid caching issues which may exist after master node
upgrade. This header is not needed for /static - for JS and
other assets Fuel UI uses its own cachebusting mechanism.

Change-Id: Ic9a199394a0167a4da977b5d135caf676e7d2b67
Closes-Bug: #1475310
2015-12-08 21:19:57 +00:00
debian Clean rabbitmq dump of auto-delete queues 2015-10-27 15:13:06 -05:00
deployment Forbid caching / for fuel-web 2015-12-08 21:19:57 +00:00
files Merge "Do not mount /etc/yum.repos.d into containers" 2015-12-04 15:04:35 +00:00
logs Granular Neutron tasks 2015-10-27 17:26:28 +03:00
specs Merge "Update OCF stop actions to use procfs" 2015-11-28 21:58:47 +00:00
tests Extend hiera task to improve plugin support 2015-12-08 09:40:25 +00:00
utils Merge "Unit tests for the tweaks class" 2015-11-28 21:57:13 +00:00
.gitignore Granular Neutron tasks 2015-10-27 17:26:28 +03:00
.gitreview Update paths due to stackforge migration. 2015-10-18 00:07:01 +03:00
CHANGELOG Edit Changelog 2013-05-23 13:38:03 +03:00
Gemfile Pin mime-types gem to 2.6.2 to fix CI 2015-11-23 16:22:36 +03:00
LICENSE LICENCE added 2014-06-05 20:00:54 +00:00
MAINTAINERS Added MAINTAINERS to top-level repo directory 2015-11-03 10:48:55 +00:00
README.md Update README 2015-12-04 16:31:43 +01:00
Rakefile Create Rakefile to execute lint and spec tasks 2015-10-21 22:19:56 -05:00

README.md

fuel-library


Table of Contents

  1. Overview - What is the fuel-library?
  2. Structure - What is in the fuel-library?
  3. Granular Deployment - What is the granular deployment for Fuel?
  4. Upstream Modules - How to work with librarian.
  5. Testing - How to run fuel-library tests.
  6. Development
  7. Core Reviers
  8. Contributors

Overview


The fuel-library is collection of Puppet modules and related code used by Fuel to deploy OpenStack environments.

Structure


Basic Repository Layout

fuel-library
├── CHANGELOG
├── LICENSE
├── README.md
├── MAINTAINERS
├── debian
├── deployment
├── files
├── specs
├── tests
└── utils

root

The root level contains important repository documentation and license information.

MAINTAINERS

This is repository level MAINTAINERS file. One submitting a patch should contact the apropriate maintainer or invite her or him for the code review. Note, core reviewers are not the maintainers. Normally, cores do reviews after maintainers.

debian/

This folder contains the required information to create fuel-library debian packages.

deployment/

This folder contains the fuel-library Puppet code, the Puppetfile for upstream modules, and scripts to manage modules with librarian-puppet-simple.

files/

This folder contains scripts and configuration files that are used when creating the packages for fuel-library.

specs/

This folder contains our rpm spec file for fuel-library rpm packages.

tests/

This folder contains our testing scripts for the fuel-library.

utils/

This folder contains scripts that are useful when doing development on fuel-library

Granular Deployment


The top-scope puppet manifests (sometimes also refered as the composition layer) represent the known deploy paths (aka supported deployment scenarios) for the task-based deployment.

Upstream Modules


In order to be able to pull in upstream modules for use by the fuel-library, the deployment folder contains a Puppetfile for use with librarian-puppet-simple. Upstream modules should be used whenever possible. For additional details on the process for working with upstream modules, please read the Fuel library for Puppet manifests of the Fuel wiki.

Testing


Testing is important for the fuel-library to ensure changes do what they are supposed to do, regressions are not introduced and all code is of the highest quality. The fuel-library leverages existing Puppet module rspec tests, bats tests for bash scripts and noop tests for testing the module deployment tasks in fuel-library.

Puppet module tests

Puppet rspec tests should be provided for an every module's directory included. All of the discovered tests will be automatically executed by the rake spec command issued from the repository root path.

Bats: Bash Automated Testing System

Shell scripts residing in the ./files directories should be covered by the BATS test cases. These should be put under the ./tests/bats path as well. Here is an example bats tests written for the UMM feature. See also the bats how-to.

fuel-library noop

The Noop testing framework is used for testing of the known deploy paths with existing modular tasks. For details, see the README

Development


Core Reviewers


Contributors