Permalink
Browse files

SQL databases

  • Loading branch information...
1 parent 7dda89e commit 4fd7fb2ab3d2533a068c1e1777a82f6f710f929e @jferris jferris committed Mar 25, 2011
Showing with 13 additions and 2 deletions.
  1. +4 −0 main.rb
  2. +4 −0 packages/mysql.rb
  3. +5 −0 packages/postgres.rb
  4. +0 −2 packages/ruby.rb
View
@@ -2,6 +2,8 @@
require 'packages/apache'
require 'packages/hudson'
require 'packages/ruby'
+require 'packages/mysql'
+require 'packages/postgres'
deployment do
delivery :capistrano do
@@ -19,5 +21,7 @@
requires :hudson
requires :ruby
requires :rubygems
+ requires :mysql
+ requires :postgres
end
View
@@ -0,0 +1,4 @@
+package :mysql do
+ description "MySQL Database"
+ apt %w(mysql-server mysql-client libmysqlclient15-dev)
+end
@@ -0,0 +1,5 @@
+package :postgres do
+ description "Postgresql Database"
+ apt %w(postgresql postgresql-client postgresql-contrib)
+end
+
View
@@ -1,5 +1,3 @@
-## Defines available packages
-
package :ruby do
description 'Ruby Virtual Machine'
version '1.8.7'

0 comments on commit 4fd7fb2

Please sign in to comment.