Giter Site home page Giter Site logo

mohitsethi / cookbook-openstack-ops-database Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openstack-archive/cookbook-openstack-ops-database

0.0 2.0 0.0 315 KB

Chef Cookbook - Support Cookbook for Database

Home Page: http://openstack.org

License: Apache License 2.0

cookbook-openstack-ops-database's Introduction

Description

This cookbook provides a reference example of database configuration for the OpenStack Grizzly reference deployment provided by Chef for OpenStack. It currently supports MySQL and will soon support PostgreSQL.

Requirements

Chef 11 with Ruby 1.9.x required.

Platforms

  • Ubuntu-12.04
  • openSUSE 12.3, SLES 11 SP2

Cookbooks

The following cookbooks are dependencies:

  • database
  • mysql
  • openstack-common
  • postgresql

Usage

The usage of this cookbook is optional, you may choose to set up your own databases without using this cookbook. If you choose to do so, you will need to do the following:

  • create the schema specified by the openstack-db recipe.
  • create and upload encrypted data bags into your chef environment, as specified by #db_password in the openstack-db recipe.

Resources/Providers

None

Templates

None

Recipes

client

  • database client configuration, selected by attributes

server

  • database server configuration, selected by attributes

mysql-client

  • calls mysql::ruby and mysql::client and installs 'mysql_python_packages'

mysql-server

  • configures the mysql server for OpenStack

postgresql-client

  • calls postgresql::ruby and postgresql::client and installs 'postgresql_python_packages'

postgresql-server

  • configures the PostgreSQL server for OpenStack

openstack-db

  • creates necessary tables, users, and grants for OpenStack

Attributes

  • openstack["db"]["bind_interface"] - bind to interfaces IPv4 address
  • openstack["db"]["platform"]["mysql_python_packages"] - platform-specific mysql python packages to install

Testing

This cookbook uses bundler, berkshelf, and strainer to isolate dependencies and run tests.

Tests are defined in Strainerfile.

To run tests:

$ bundle install # install gem dependencies
$ bundle exec berks install # install cookbook dependencies
$ bundle exec strainer test # run tests

License and Author

Author Justin Shepherd ([email protected])
Author Jason Cannavale ([email protected])
Author Ron Pedde ([email protected])
Author Joseph Breu ([email protected])
Author William Kelly ([email protected])
Author Darren Birkett ([email protected])
Author Evan Callicoat ([email protected])
Author Matt Thompson ([email protected])
Author Matt Ray ([email protected])
Author Sean Gallagher (<[email protected]>)
Author John Dewey ([email protected])
Author Ionut Artarisi ([email protected])
Copyright Copyright (c) 2012-2013, Rackspace US, Inc.
Copyright Copyright (c) 2012-2013, Opscode, Inc.
Copyright Copyright (c) 2013, AT&T Services, Inc.
Copyright Copyright (c) 2013, SUSE Linux GmbH

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

cookbook-openstack-ops-database's People

Contributors

retr0h avatar jaypipes avatar torandu avatar iartarisi avatar mattray avatar hyunsun avatar paulczar avatar

Watchers

James Cloos avatar Mohit Sethi 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.