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.
Chef 11 with Ruby 1.9.x required.
- Ubuntu-12.04
- openSUSE 12.3, SLES 11 SP2
The following cookbooks are dependencies:
- database
- mysql
- openstack-common
- postgresql
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 theopenstack-db
recipe.
None
None
- database client configuration, selected by attributes
- database server configuration, selected by attributes
- calls mysql::ruby and mysql::client and installs 'mysql_python_packages'
- configures the mysql server for OpenStack
- calls postgresql::ruby and postgresql::client and installs 'postgresql_python_packages'
- configures the PostgreSQL server for OpenStack
- creates necessary tables, users, and grants for OpenStack
openstack["db"]["bind_interface"]
- bind to interfaces IPv4 addressopenstack["db"]["platform"]["mysql_python_packages"]
- platform-specific mysql python packages to install
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
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.