OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins as a part of the Git hosting and code review systems migration detailed in these mailing list posts: http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html Attempts have been made to correct repository namespaces and hostnames based on simple pattern matching, but it's possible some were updated incorrectly or missed entirely. Please reach out to us via the contact information listed at https://opendev.org/ with any questions you may have.
|1 month ago|
|.delivery||1 year ago|
|attributes||1 year ago|
|files/default||1 year ago|
|recipes||5 months ago|
|spec||5 months ago|
|templates/default||4 years ago|
|.gitignore||4 years ago|
|.gitreview||1 month ago|
|.rubocop.yml||9 months ago|
|.rubocop_todo.yml||9 months ago|
|.zuul.yaml||9 months ago|
|Berksfile||1 year ago|
|CONTRIBUTING.md||4 years ago|
|LICENSE||1 year ago|
|README.md||2 years ago|
|Rakefile||1 year ago|
|TESTING.md||3 years ago|
|bootstrap.sh||3 years ago|
|metadata.rb||5 months ago|
This cookbook provides a reference example of database configuration for the OpenStack deployment provided by Chef for OpenStack. It currently supports MySQL and PostgreSQL.
ChefDK 0.15.15 with Ruby 2.1.x required.
The following cookbooks are dependencies:
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:
The following attributes are defined in attributes/database.rb of the common cookbook, but are documented here due to their relevance:
openstack["endpoints"]["db"]["host"]- The IP address to bind the database service to
openstack["endpoints"]["db"]["scheme"]- Unused at this time
openstack["endpoints"]["db"]["port"]- The port to bind the database service to
openstack["endpoints"]["db"]["path"]- Unused at this time
openstack["endpoints"]["db"]["bind_interface"]- The interface name to bind the database service to
openstack["db"]["root_user_key"]- The key used to retrieve the root user password; the key is both the name of the data-bag item and name of the key containing the password value within the data-bag item. This is defined in Common.
If the value of the “bind_interface” attribute is non-nil, then the database service will be bound to the first IP address on that interface. If the value of the “bind_interface” attribute is nil, then the database service will be bound to the IP address specified in the host attribute.
See the attributes mysql.rb file for the mysql specific attributes that are available.
For more information see: http://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html
Please refer to the TESTING.md for instructions for testing the cookbook.
Berks will resolve version requirements and dependencies on first run and
store these in Berksfile.lock. If new cookbooks become available you can run
berks update to update the references in Berksfile.lock. Berksfile.lock will
be included in stable branches to provide a known good set of dependencies.
Berksfile.lock will not be included in development branches to encourage
development against the latest cookbooks.
|Author||Justin Shepherd (email@example.com)|
|Author||Jason Cannavale (firstname.lastname@example.org)|
|Author||Ron Pedde (email@example.com)|
|Author||Joseph Breu (firstname.lastname@example.org)|
|Author||William Kelly (email@example.com)|
|Author||Darren Birkett (firstname.lastname@example.org)|
|Author||Evan Callicoat (email@example.com)|
|Author||Matt Thompson (firstname.lastname@example.org)|
|Author||Matt Ray (email@example.com)|
|Author||Sean Gallagher (sean.gallagher@.att.com)|
|Author||John Dewey (firstname.lastname@example.org)|
|Author||Ionut Artarisi (email@example.com)|
|Author||Mark Vanderwiel (firstname.lastname@example.org)|
|Author||Jan Klare (email@example.com)|
|Copyright||Copyright © 2012-2013, Rackspace US, Inc.|
|Copyright||Copyright © 2012-2013, Opscode, Inc.|
|Copyright||Copyright © 2013, AT&T Services, Inc.|
|Copyright||Copyright © 2013-2014, SUSE Linux GmbH|
|Copyright||Copyright © 2014-2015, IBM, Corp.|
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
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.