Git Product home page Git Product logo

chef-openstack-mistral's Introduction

DEPRECATED!
Mistral is deprecated since StackStormv3.3.0 in favor of Orquesta, a self-grown StackStorm workflow Engine.

OpenStack Mistral chef cookbook

Sets up and configures Mistral Workflow Service on a Chef node.

Compatibility

Use version <0.2.3 of this cookbook with chef <12.4.0.

As of version 0.3.0, Mistral will be installed using Stackstorm's Packagecloud packages.

Supported Platforms

There are no restrictions for platforms, cookbook should support major debian, fedora and rhel platforms. Tested to work on ubuntu, debian and centos.

Cookbook dependencies

Cookbook depends on other cookbooks: apt, packagecloud, database, postgresql.

Attributes

Key Type Description Default
['openstack-mistral']['etc_dir'] String Specifies the configuration directory where mistral configuration files are placed. '/opt/openstack/etc'
['openstack-mistral']['db_initialize']['enabled'] Boolean If enabled, cookbook will try to create database for mistral. false
['openstack-mistral']['db_initialize']['upgrade] Boolean If enabled, cookbook will try to upgrade database for mistral once. false
['openstack-mistral']['db_initialize']['populate] Boolean If enabled, cookbook will try to populate database for mistral once. false
['openstack-mistral']['db_initialize']['db_name] String Database name. 'mistral
['openstack-mistral']['db_initialize']['db_username] String Database user which own db_name database . 'mistral
['openstack-mistral']['db_initialize']['db_superuser] String User which create role and databases. 'postgres
['postgres]['db_initialize']['db_superuser_password] String Superuser password. 'ilikerandompasswords'
['openstack-mistral']['db_initialize']['allowed_hosts'] String Hosts which will be allowed to access mistral database. 'localhost'
['openstack-mistral']['config'] Hash Configurations to be overwritten in mistral.conf. {}

Usage

Cookbook install st2mistral package, overwrite its configuration with node['openstack-mistral']['config'] attributes and start it up. st2mistral package also install a default mistral user and setup logging. Related services like: RabbitMQ are neither installed nor configured by this cookbook.

Include this cookbook from other cookbooks or directly from runlist:

include_recipe 'openstack-mistral::default'

In case db_initialize.enabled is provided, _database.rb recipe will try to install postgresql, create user mistral and create database mistral. Default this is set to false.

include_recipe 'openstack-mistral::_database'

Initial schema upgrade and populate of database can also be done once if upgrade or *populate are set.

Development

Setup development environment using ChefDK. This is to ensure development and testing infrastructure (TravisCI) are using the same Ruby and libraries.

License and Authors

License:: Apache 2.0

Contributors

chef-openstack-mistral's People

Contributors

armab avatar bigmstone avatar dennybaa avatar lakshmi-kannan avatar lindsayhill avatar sysbot avatar veetow avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.