RETIRED, OpenStack Sahara Puppet Module
Go to file
Tobias Urdin 7043113963 Remove PE requirement from metadata.json
The PE requirement in metadata.json is not
supported anymore and puppet-lint will throw:

The 'pe' requirement is no longer supported by the Forge.

Change-Id: I1b30043e4ea38c1a7f5f70dfca9e11e3d69a09d8
(cherry picked from commit e131a2d259)
(cherry picked from commit 171d8d06b5)
2020-04-10 16:25:00 +09:00
examples Add support for keystone authtoken parameters 2017-03-06 18:08:50 -05:00
lib/puppet Make providers use auth_url for authentication 2018-08-06 11:37:58 +02:00
manifests Add use_journal option for logging configuration 2018-01-15 16:22:14 +08:00
releasenotes Add use_journal option for logging configuration 2018-01-15 16:22:14 +08:00
spec Make providers use auth_url for authentication 2018-08-06 11:37:58 +02:00
.gitignore Add basic structure for ReNo 2016-03-14 08:35:03 -04:00
.gitreview OpenDev Migration Patch 2019-04-19 19:48:34 +00:00
.zuul.yaml import zuul job settings from project-config 2018-08-31 08:41:31 -04:00
CHANGELOG.md Release 8.0.0 2016-03-23 16:07:50 -04:00
Gemfile Update Gemfile to pull spec_helper from stable/queens 2018-08-15 10:12:00 -06:00
LICENSE Synchronize LICENSE file with OpenStack projects 2015-04-20 15:02:46 +00:00
README.md Update to the latest address in README 2017-09-21 12:31:20 +08:00
Rakefile Use puppet-openstack_spec_helper for Rakefile & spec_helper_acceptance 2016-01-14 13:29:09 -05:00
bindep.txt Add Puppet package to bindep, for module build 2017-10-27 13:16:11 -07:00
metadata.json Remove PE requirement from metadata.json 2020-04-10 16:25:00 +09:00
setup.cfg Update URLs in documents according to document migration 2017-07-14 08:54:22 +08:00
setup.py Add basic structure for ReNo 2016-03-14 08:35:03 -04:00
test-requirements.txt Remove pinned versions from test-requirements.txt 2018-01-16 12:29:49 +08:00
tox.ini Update UPPER_CONSTRAINTS_FILE for stable/queens 2018-02-20 22:19:46 +00:00

README.md

Team and repository tags

Team and repository tags

sahara

Table of Contents

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

Module Description

The sahara module is an attempt to make Puppet capable of managing the entirety of sahara.

Setup

What the sahara module affects:

  • Sahara, the data processing service for OpenStack.

Installing Sahara

puppet module install openstack/sahara

Beginning with sahara

To use the sahara 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 of openstack documentation.

Examples of usage can be found in the examples directory.

Implementation

sahara

puppet-sahara is a combination of Puppet manifests and ruby code to deliver configuration and extra functionality through types and providers.

Types

sahara_config

The sahara_config provider is a children of the ini_setting provider. It allows one to write an entry in the /etc/sahara/sahara.conf file.

sahara_config { 'DEFAULT/use_neutron' :
  value => True,
}

This will write use_neutron=True in the [DEFAULT] section.

name

Section/setting name to manage from sahara.conf

value

The value of the setting to be defined.

secret

Whether to hide the value from Puppet logs. Defaults to false.

ensure_absent_val

If value is equal to ensure_absent_val then the resource will behave as if ensure => absent was specified. Defaults to <SERVICE DEFAULT>

Limitations

None.

Beaker-Rspec

This module has beaker-rspec tests

To run:

bundle install
bundle exec rspec spec/acceptance

Development

Developer documentation for the entire puppet-openstack project.

Contributors