Skip to content

Commit

Permalink
database, v1.0.0
Browse files Browse the repository at this point in the history
* [COOK-683] added `database` and `database_user` resources
* [COOK-684] MySQL providers
* [COOK-685] SQL Server providers
* refactored `database::master` and `database::snapshot` recipes to leverage new resources
  • Loading branch information
schisamo committed Aug 22, 2011
1 parent 445ef75 commit e47e2d3
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 12 deletions.
25 changes: 18 additions & 7 deletions database/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@ The main highlight of this cookbook is the `database` and `database_user` resour

This cookbook also contains recipes to configure mysql database masters and slaves and uses EBS for storage, integrating together with the application cookbook utilizing data bags for application related information. These recipes are written primarily to use MySQL and the Opscode mysql cookbook. Other RDBMS may be supported at a later date. This cookbook does not automatically restore database dumps, but does install tools to help with that.

Changes
=======

## v0.99.1

* Use Chef 0.10's `node.chef_environment` instead of `node['app_environment']`.

Requirements
============

Expand Down Expand Up @@ -326,6 +319,24 @@ Create a `production` environment. This is also used in the `application` cookbo

The cookbook `my_app_database` is recommended to set up any application specific database resources such as configuration templates, trending monitors, etc. It is not required, but you would need to create it separately in `site-cookbooks`. Add it to the `my_app_database_master` role.

Changes/Roadmap
===============

## Future

* update `database::master` to work with any RDBMS provider (most likely keying off database adapter)

## v1.0.0

* [COOK-683] added `database` and `database_user` resources
* [COOK-684] MySQL providers
* [COOK-685] SQL Server providers
* refactored `database::master` and `database::snapshot` recipes to leverage new resources

## v0.99.1

* Use Chef 0.10's `node.chef_environment` instead of `node['app_environment']`.

License and Author
==================

Expand Down
10 changes: 5 additions & 5 deletions database/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
license "Apache 2.0"
description "Sets up the database master or slave"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "0.99.1"
version "1.0.0"

recipe "database", "Empty placeholder"
recipe "database::ebs_backup", "Considered deprecated, older way of backing up EBS volumes"
recipe "database::ebs_volume", "Sets up an EBS volume in EC2 for the database"
recipe "database::master", "Creates application specific user and database"
recipe "database::snapshot", "Locks tables and freezes XFS filesystem for replication, assumes EC2 + EBS"

depends "mysql", ">= 1.2.0"
depends "aws"
depends "xfs"

%w{ debian ubuntu centos suse fedora redhat }.each do |os|
supports os
end

%w{ mysql aws xfs }.each do |cb|
depends cb
end

0 comments on commit e47e2d3

Please sign in to comment.