OpenStack Sahara Puppet Module
Go to file
Lewis Denny d733228e00 Add support for the interface parameter in authtoken middleware
This patch adds support for [keystone_authtoken] interface parameter,
so that operators can define which endpoint should be used by authtoken
middleware.

Change-Id: I2e84c07cd0609d9636682326f70b9d366994205f
2020-07-16 16:56:18 +10:00
doc Switch to newer openstackdocstheme and reno versions 2020-06-02 15:01:47 +02:00
examples Convert all class usage to relative names 2019-12-08 23:20:49 +01:00
lib/puppet Use anchor to require necessary packages/services 2020-05-04 16:53:05 +09:00
manifests Add support for the interface parameter in authtoken middleware 2020-07-16 16:56:18 +10:00
releasenotes Add support for the interface parameter in authtoken middleware 2020-07-16 16:56:18 +10:00
spec Add support for the interface parameter in authtoken middleware 2020-07-16 16:56:18 +10:00
.gitignore Dissuade .gitignore references to personal tools 2018-10-08 11:39:25 +08:00
.gitreview OpenDev Migration Patch 2019-04-19 19:48:33 +00:00
.zuul.yaml switch documentation job to new PTI 2018-08-31 08:24:45 -04:00
CHANGELOG.md Release 8.0.0 2016-03-23 16:07:50 -04:00
CONTRIBUTING.rst [ussuri][goal] Add CONTRIBUTING.rst 2020-05-10 22:52:04 +02:00
Gemfile Move to opendev 2019-04-21 14:44:49 +08:00
LICENSE Update LICENSE 2018-04-06 20:15:07 +08:00
README.md Change rpsec to rspec 2020-04-30 13:24:46 +08:00
Rakefile Use puppet-openstack_spec_helper for Rakefile & spec_helper_acceptance 2016-01-14 13:29:09 -05:00
bindep.txt modulesync: sync and add nodepool-bionic for beaker 2018-07-23 12:22:54 +00:00
metadata.json Prepare Victoria M1 2020-06-19 10:38:55 +08:00
setup.cfg Change openstack-dev to openstack-discuss 2018-12-02 18:20:36 +01:00
setup.py Add basic structure for ReNo 2016-03-14 08:35:03 -04:00
tox.ini [ussuri][goal] Cleanup for python 2.7 drop 2020-02-15 20:52:02 -06: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. Beaker-Rspec - Beaker-rspec tests for the project
  7. Development - Guide for contributing to the module
  8. Contributors - Those with commits
  9. Release Notes - Release notes for the project
  10. Repository - The project source code repository

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

Release Notes

Repository