RETIRED, OpenStack Sahara Puppet Module
Go to file
Takashi Kajinami 34528ad978 Use common class to manage apache service in beaker job
Depends-on: https://review.opendev.org/#/c/747935/
Change-Id: Iaab8d61d5210e99dcecbb5b69b26474f3ec5b973
(cherry picked from commit a662292f8d)
2020-08-25 13:33:52 +00:00
doc [ussuri][goal] Cleanup for python 2.7 drop 2020-02-15 20:52:02 -06:00
examples Convert all class usage to relative names 2019-12-08 23:20:49 +01:00
lib/puppet Remove autorequire for sahara-all 2020-02-03 23:23:36 +01:00
manifests Deprecate min_pool_size option 2020-03-25 14:53:41 +08:00
releasenotes Deprecate min_pool_size option 2020-03-25 14:53:41 +08:00
spec Use common class to manage apache service in beaker job 2020-08-25 13:33:52 +00:00
.gitignore Dissuade .gitignore references to personal tools 2018-10-08 11:39:25 +08:00
.gitreview Update .gitreview for stable/ussuri 2020-04-28 14:58:41 +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
Gemfile Switch to Ussuri 2020-05-14 20:08:41 +02:00
LICENSE Update LICENSE 2018-04-06 20:15:07 +08:00
README.md Fix Repository 2019-04-21 12:59:10 +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 Ussuri RC1 2020-04-24 14:23:10 +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 Update TOX_CONSTRAINTS_FILE for stable/ussuri 2020-04-28 14:58:43 +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. 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