fedora 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/recipes/base/python.rb +12 -0
- data/lib/templates/phpPgAdmin.conf.erb +1 -0
- data/readme.markdown +2 -3
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
data/lib/recipes/base/python.rb
CHANGED
@@ -6,5 +6,17 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
6
6
|
'python-imaging', 'python-imaging-devel']
|
7
7
|
yum_install packages
|
8
8
|
end
|
9
|
+
|
10
|
+
desc "Setup up python w/PostgreSQL"
|
11
|
+
task :postgresql, :roles => :app do
|
12
|
+
packages = ['python-psycopg','python-psycopg2','postgresql-python','python-pgsql']
|
13
|
+
yum_install packages
|
14
|
+
end
|
15
|
+
|
16
|
+
desc "Setup up python w/MySQL"
|
17
|
+
task :mysql, :roles => :app do
|
18
|
+
packages = ['MySQL-python']
|
19
|
+
yum_install packages
|
20
|
+
end
|
9
21
|
end
|
10
22
|
end
|
data/readme.markdown
CHANGED
@@ -22,6 +22,8 @@ Fedora is based off the idea from Ubuntu Machine. Fedora is a set of capistrano
|
|
22
22
|
* Tasks to start/stop/reload and turn on/off the postgresql service
|
23
23
|
* Python
|
24
24
|
* Setup: Install python and common python packages.
|
25
|
+
* PostgreSQL: Configure PostgreSQL support. Setup PostgreSQL before running this task
|
26
|
+
* MySQL: Configure MySQL support. Setup MySQL before running this task.
|
25
27
|
* Ruby
|
26
28
|
* Setup: Install Ruby and Ruby Gems. Configures gems and installs a few common gems.
|
27
29
|
* PostgreSQL: Configure the PostgreSQL gems. Setup PostgreSQL before running this task
|
@@ -44,10 +46,7 @@ Fedora is based off the idea from Ubuntu Machine. Fedora is a set of capistrano
|
|
44
46
|
|
45
47
|
# Using Fedora in Your CapFile
|
46
48
|
To use the gem, first require RubyGems, then require this gem.
|
47
|
-
|
48
|
-
require 'rubygems'
|
49
49
|
require 'fedora'
|
50
|
-
|
51
50
|
|
52
51
|
# Using the Recipies to Work Quickly
|
53
52
|
You should use the tasks in order to construct the server you need. For example, if you need to deploy Rails with PostgreSQL run:
|