RETIRED, OpenStack Sahara Puppet Module
Go to file
ZhongShengping 504401e1ed Fix unit test
The db_backend_package name has changed in puppet-oslo[0], so fix it.

[0]: https://review.openstack.org/#/c/467582/

Change-Id: I51da2265d7caaeb3e0e02e002d44f02868c271c4
Closes-Bug: #1693403
2017-05-25 11:34:19 +08:00
examples Add support for keystone authtoken parameters 2017-03-06 18:08:50 -05:00
lib/puppet Add dependency on node group template for cluster template 2016-07-22 14:32:47 +03:00
manifests Remove deprecated notification parameters 2017-03-10 12:52:14 +08:00
releasenotes Bump modules to next minor with -dev 2017-04-21 17:24:12 -06:00
spec Fix unit test 2017-05-25 11:34:19 +08:00
.gitignore Add basic structure for ReNo 2016-03-14 08:35:03 -04:00
.gitreview Update .gitreview file for project rename 2015-06-12 23:12:30 +00:00
CHANGELOG.md Release 8.0.0 2016-03-23 16:07:50 -04:00
Gemfile Update tox configuration 2017-05-17 09:46:35 -06:00
LICENSE Synchronize LICENSE file with OpenStack projects 2015-04-20 15:02:46 +00:00
README.md Show team and repo badges on README 2016-11-25 17:33:29 +01:00
Rakefile Use puppet-openstack_spec_helper for Rakefile & spec_helper_acceptance 2016-01-14 13:29:09 -05:00
bindep.txt Update tox configuration 2017-05-17 09:46:35 -06:00
metadata.json Bump modules to next minor with -dev 2017-04-21 17:24:12 -06:00
setup.cfg Changed the home-page to point Openstack Puppet Homepage 2016-10-04 11:09:59 +05:30
setup.py Add basic structure for ReNo 2016-03-14 08:35:03 -04:00
test-requirements.txt Update test-requirements.txt 2017-03-23 14:53:59 +08:00
tox.ini Update tox configuration 2017-05-17 09:46:35 -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. 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