RETIRED, OpenStack Sahara Puppet Module
Go to file
Takashi Kajinami 743331c9f4 Remove usage of deleted manifest_dir
Recent update in rspec-puppet removed some of the config interfaces for
old puppet versions[1]. This drops usage of these interfaces to resolve
the following error in unit tests.

```
An error occurred while loading ./spec/unit/provider/manila_spec.rb.
Failure/Error: c.manifest_dir = File.join(fixture_path, 'manifests')

NoMethodError:
  undefined method `manifest_dir='...
```

This also removes explicit setting of mock module. The definition is
no longer required since we bumped puppetlabs_spec_helper to v 5.0.0.

[1] 316d95923c

Change-Id: I026d047d4b11be70b871dea18d39f58ab09bd2e0
2023-10-11 12:09:20 +09:00
doc Update openstackdocstheme to the latest version 2021-09-29 16:06:51 +08:00
examples Replace legacy facts and use fact hash 2023-03-02 13:30:31 +09:00
lib/puppet Switch provider to manage paste.ini file 2022-07-09 23:38:04 +09:00
manifests Merge "RabbitMQ: Add support for quorum queue options" 2023-09-15 16:02:27 +00:00
releasenotes RabbitMQ: Add support for quorum queue options 2023-09-15 14:11:31 +09:00
spec Remove usage of deleted manifest_dir 2023-10-11 12:09:20 +09: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
.pdkignore Exclude release note files 2023-08-11 17:59:26 +09:00
.zuul.yaml Add Puppet Litmus 2020-09-11 11:55:26 +00:00
bindep.txt modulesync: sync and add nodepool-bionic for beaker 2018-07-23 12:22:54 +00:00
CHANGELOG.md Updated links in documentation to be safe links 2023-09-08 16:21:13 +08:00
CONTRIBUTING.rst [ussuri][goal] Add CONTRIBUTING.rst 2020-05-10 22:52:04 +02:00
Gemfile Use openstack_spec_helper from zuul checkout 2020-08-30 23:04:47 +02:00
LICENSE Update LICENSE 2018-04-06 20:15:07 +08:00
metadata.json Merge "Prepare 2023.2 release" 2023-10-03 17:19:32 +00:00
Rakefile Use puppet-openstack_spec_helper for Rakefile & spec_helper_acceptance 2016-01-14 13:29:09 -05:00
README.md Updated links in documentation to be safe links 2023-09-08 16:21:13 +08:00
setup.cfg Add information technology in the setup.cfg 2021-10-01 06:54:50 +08:00
setup.py setuptools: Disable auto discovery 2022-03-29 10:42:02 +02:00
tox.ini Stop configuring install_command in tox. 2021-09-29 18:18:48 +09:00

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
  8. Release Notes - Release notes for the project
  9. 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.

Development

Developer documentation for the entire puppet-openstack project.

Contributors

Release Notes

Repository