OpenStack Sahara Puppet Module
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ZhongShengping 11fdff966e Prepare Victoria M2 5 months ago
doc Switch to newer openstackdocstheme and reno versions 7 months ago
examples Convert all class usage to relative names 1 year ago
lib/puppet Use anchor to require necessary packages/services 8 months ago
manifests Add support for the interface parameter in authtoken middleware 6 months ago
releasenotes Add support for the interface parameter in authtoken middleware 6 months ago
spec Add support for the interface parameter in authtoken middleware 6 months ago
.gitignore Dissuade .gitignore references to personal tools 2 years ago
.gitreview OpenDev Migration Patch 1 year ago
.zuul.yaml switch documentation job to new PTI 2 years ago Release 8.0.0 4 years ago
CONTRIBUTING.rst [ussuri][goal] Add CONTRIBUTING.rst 8 months ago
Gemfile Move to opendev 1 year ago
LICENSE Update LICENSE 2 years ago Change rpsec to rspec 8 months ago
Rakefile Use puppet-openstack_spec_helper for Rakefile & spec_helper_acceptance 5 years ago
bindep.txt modulesync: sync and add nodepool-bionic for beaker 2 years ago
metadata.json Prepare Victoria M2 5 months ago
setup.cfg Change openstack-dev to openstack-discuss 2 years ago Add basic structure for ReNo 4 years ago
tox.ini [ussuri][goal] Cleanup for python 2.7 drop 11 months ago

Team and repository tags

Team and repository tags


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


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.


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.



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



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.


Section/setting name to manage from sahara.conf


The value of the setting to be defined.


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


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




This module has beaker-rspec tests

To run:

bundle install
bundle exec rspec spec/acceptance


Developer documentation for the entire puppet-openstack project.


Release Notes