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 73e8c639a8 Fix client spec test 14 hours ago
doc Follow the new PTI for document build 1 year ago
examples Deprecate the sahara-all service 3 months ago
lib/puppet Deprecate the sahara-all service 3 months ago
manifests Add openstackclient installation to the client class 3 days ago
releasenotes Add openstackclient installation to the client class 3 days ago
spec Fix client spec test 14 hours ago
.gitignore Dissuade .gitignore references to personal tools 7 months ago
.gitreview OpenDev Migration Patch 1 month ago
.zuul.yaml switch documentation job to new PTI 8 months ago Release 8.0.0 3 years ago
Gemfile Move to opendev 4 weeks ago
LICENSE Update LICENSE 1 year ago Fix Repository 4 weeks ago
Rakefile Use puppet-openstack_spec_helper for Rakefile & spec_helper_acceptance 3 years ago
bindep.txt modulesync: sync and add nodepool-bionic for beaker 10 months ago
metadata.json Bump version for the start of Train 1 month ago
setup.cfg Change openstack-dev to openstack-discuss 5 months ago Add basic structure for ReNo 3 years ago
tox.ini Move to opendev 4 weeks 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