OpenStack Mistral Puppet Module
Go to file
Emilien Macchi 3787106ef8 Add group to policy management
The move of policy.json into code means the file may not exist. We've
added support to ensure that the file exists in the openstacklib but we
need to make sure the permissions are right for each service. This adds
the group information to the policies so it works right.

Depends-On: I26e8b1384f4f69712da9d06a4c565dfd1f17c9ed
Change-Id: I09942143b037a65627da17b8ffdaffc1e72a8c79
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
2018-01-10 14:23:17 -08:00
lib/puppet Reflect provider change in puppet-openstacklib 2016-01-04 10:23:20 -05:00
manifests Add group to policy management 2018-01-10 14:23:17 -08:00
releasenotes Expose use_json logging option 2017-11-27 14:35:53 +02:00
spec Add group to policy management 2018-01-10 14:23:17 -08:00
tests puppet-mistral: initial commit 2015-08-09 10:00:45 +00:00
.gitignore Update tox configuration 2017-05-17 08:27:32 -06:00
.gitreview Added .gitreview 2015-07-24 11:07:53 +00:00
.zuul.yaml Run puppet-openstack-beaker-jobs 2017-12-21 18:57:38 -08:00
CHANGELOG.md Release 8.0.0 2016-03-23 16:07:26 -04:00
Gemfile Update tox configuration 2017-05-17 08:27:32 -06:00
LICENSE puppet-mistral: initial commit 2015-08-09 10:00:45 +00:00
README.md Update to the latest address in README 2017-09-21 11:57:01 +08:00
Rakefile Use puppet-openstack_spec_helper for Rakefile & spec_helper_acceptance 2016-01-21 14:08:58 +00:00
bindep.txt Add Puppet package to bindep, for module build 2017-10-27 13:13:51 -07:00
metadata.json Prepare for Queens Milestone 2 2017-11-28 16:18:38 -07:00
setup.cfg Update URLs in documents according to document migration 2017-07-14 08:52:50 +08:00
setup.py Add basic structure for ReNo 2016-03-14 08:30:46 -04:00
test-requirements.txt Update openstackdocstheme to latest version 2017-09-20 10:56:54 +08:00
tox.ini Add environment variable 2017-06-12 15:55:43 +08:00

README.md

Team and repository tags

Team and repository tags

mistral

Table of Contents

  1. Overview - What is the mistral module?
  2. Module Description - What does the module do?
  3. Setup - The basics of getting started with mistral
  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 Mistral module itself is a workflow service for OpenStack cloud.

Module Description

The mistral module is an attempt to make Puppet capable of managing the entirety of mistral.

Setup

Beginning with mistral

To use the mistral 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.

Implementation

Mistral

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

Types

mistral_config

The mistral_config provider is a children of the ini_setting provider. It allows one to write an entry in the /etc/mistral/mistral.conf file.

mistral_config { 'DEFAULT/use_syslog' :
  value => false,
}

This will write use_syslog=false in the [DEFAULT] section.

name

Section/setting name to manage from mistral.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>

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