deprec 2.0.9 → 2.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +7 -0
- data/README +2 -0
- data/lib/deprec/recipes.rb +2 -51
- data/lib/deprec/recipes/app/passenger.rb +5 -6
- data/lib/deprec/recipes/chef.rb +82 -0
- data/lib/deprec/recipes/db/couchdb.rb +107 -0
- data/lib/deprec/recipes/integrity.rb +2 -2
- data/lib/deprec/recipes/monit.rb +2 -2
- data/lib/deprec/recipes/ruby/mri.rb +2 -2
- data/lib/deprec/recipes/ruby/ree.rb +4 -5
- data/lib/deprec/recipes/web/nginx.rb +2 -2
- data/lib/deprec/recipes_minus_rails.rb +3 -1
- data/lib/deprec/templates/chef/chef.json +1 -0
- data/lib/deprec/templates/chef/solo.rb +2 -0
- metadata +12 -47
data/CHANGELOG
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
== git
|
2
2
|
|
3
|
+
== 2.0.10 (June 14, 2009)
|
4
|
+
|
5
|
+
* Added CouchDB
|
6
|
+
* Added Chef
|
7
|
+
* Fixed Passenger gem version problem (permanently!) [gfairbrother]
|
8
|
+
* Updated ree version to ruby-enterprise-1.8.6-20090610
|
9
|
+
|
3
10
|
== 2.0.9 (April 14, 2009)
|
4
11
|
|
5
12
|
* Use passenger-2.1.3
|
data/README
CHANGED
data/lib/deprec/recipes.rb
CHANGED
@@ -2,55 +2,6 @@
|
|
2
2
|
unless Capistrano::Configuration.respond_to?(:instance)
|
3
3
|
abort "deprec2 requires Capistrano 2"
|
4
4
|
end
|
5
|
-
require "#{File.dirname(__FILE__)}/recipes/canonical"
|
6
|
-
require "#{File.dirname(__FILE__)}/recipes/deprec"
|
7
|
-
require "#{File.dirname(__FILE__)}/recipes/deprecated"
|
8
5
|
|
9
|
-
require "#{File.dirname(__FILE__)}/
|
10
|
-
require "#{File.dirname(__FILE__)}/recipes/
|
11
|
-
require "#{File.dirname(__FILE__)}/recipes/db/mysql"
|
12
|
-
require "#{File.dirname(__FILE__)}/recipes/db/postgresql"
|
13
|
-
require "#{File.dirname(__FILE__)}/recipes/db/sqlite"
|
14
|
-
require "#{File.dirname(__FILE__)}/recipes/ruby/mri"
|
15
|
-
require "#{File.dirname(__FILE__)}/recipes/ruby/ree"
|
16
|
-
require "#{File.dirname(__FILE__)}/recipes/web/apache"
|
17
|
-
require "#{File.dirname(__FILE__)}/recipes/web/nginx"
|
18
|
-
|
19
|
-
require "#{File.dirname(__FILE__)}/recipes/git"
|
20
|
-
require "#{File.dirname(__FILE__)}/recipes/gitosis"
|
21
|
-
require "#{File.dirname(__FILE__)}/recipes/svn"
|
22
|
-
require "#{File.dirname(__FILE__)}/recipes/integrity"
|
23
|
-
|
24
|
-
require "#{File.dirname(__FILE__)}/recipes/users"
|
25
|
-
require "#{File.dirname(__FILE__)}/recipes/ssh"
|
26
|
-
require "#{File.dirname(__FILE__)}/recipes/php"
|
27
|
-
# require "#{File.dirname(__FILE__)}/recipes/scm/trac"
|
28
|
-
|
29
|
-
require "#{File.dirname(__FILE__)}/recipes/aoe"
|
30
|
-
|
31
|
-
require "#{File.dirname(__FILE__)}/recipes/xen"
|
32
|
-
require "#{File.dirname(__FILE__)}/recipes/xentools"
|
33
|
-
|
34
|
-
require "#{File.dirname(__FILE__)}/recipes/ddclient"
|
35
|
-
require "#{File.dirname(__FILE__)}/recipes/ntp"
|
36
|
-
require "#{File.dirname(__FILE__)}/recipes/logrotate"
|
37
|
-
require "#{File.dirname(__FILE__)}/recipes/ssl"
|
38
|
-
|
39
|
-
require "#{File.dirname(__FILE__)}/recipes/rails"
|
40
|
-
require "#{File.dirname(__FILE__)}/recipes/postfix"
|
41
|
-
require "#{File.dirname(__FILE__)}/recipes/memcache"
|
42
|
-
require "#{File.dirname(__FILE__)}/recipes/monit"
|
43
|
-
require "#{File.dirname(__FILE__)}/recipes/network"
|
44
|
-
require "#{File.dirname(__FILE__)}/recipes/nagios"
|
45
|
-
require "#{File.dirname(__FILE__)}/recipes/heartbeat"
|
46
|
-
|
47
|
-
require "#{File.dirname(__FILE__)}/recipes/ubuntu"
|
48
|
-
require "#{File.dirname(__FILE__)}/recipes/lvm"
|
49
|
-
require "#{File.dirname(__FILE__)}/recipes/vnstat"
|
50
|
-
require "#{File.dirname(__FILE__)}/recipes/sphinx"
|
51
|
-
require "#{File.dirname(__FILE__)}/recipes/utils"
|
52
|
-
require "#{File.dirname(__FILE__)}/recipes/apt_mirror"
|
53
|
-
# require "#{File.dirname(__FILE__)}/recipes/wordpress" Not working
|
54
|
-
require "#{File.dirname(__FILE__)}/recipes/wpmu"
|
55
|
-
require "#{File.dirname(__FILE__)}/recipes/ar_sendmail"
|
56
|
-
require "#{File.dirname(__FILE__)}/recipes/starling"
|
6
|
+
require "#{File.dirname(__FILE__)}/recipes_minus_rails"
|
7
|
+
require "#{File.dirname(__FILE__)}/recipes/rails"
|
@@ -3,11 +3,10 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
3
3
|
namespace :deprec do
|
4
4
|
namespace :passenger do
|
5
5
|
|
6
|
-
set(:passenger_install_dir) {
|
6
|
+
set(:passenger_install_dir) {
|
7
7
|
if ruby_vm_type == :ree
|
8
|
-
|
9
|
-
|
10
|
-
"#{ree_install_dir}/lib/ruby/gems/1.8/gems/passenger-2.1.3"
|
8
|
+
base_dir = "#{ree_install_dir}/lib/ruby/gems/1.8/gems/"
|
9
|
+
latest_passenger_version = capture("ls -d #{base_dir + 'passenger-*'} | tail -1").chomp
|
11
10
|
else
|
12
11
|
'/opt/passenger'
|
13
12
|
end
|
@@ -28,7 +27,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
28
27
|
SRC_PACKAGES[:passenger] = {
|
29
28
|
:url => "git://github.com/FooBarWidget/passenger.git",
|
30
29
|
:download_method => :git,
|
31
|
-
:version => 'release-2.
|
30
|
+
:version => 'release-2.2.2', # Specify a tagged release to deploy
|
32
31
|
:configure => '',
|
33
32
|
:make => '',
|
34
33
|
:install => './bin/passenger-install-apache2-module'
|
@@ -202,4 +201,4 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
202
201
|
end
|
203
202
|
|
204
203
|
end
|
205
|
-
end
|
204
|
+
end
|
@@ -0,0 +1,82 @@
|
|
1
|
+
# Copyright 2006-2009 by Mike Bailey. All rights reserved.
|
2
|
+
Capistrano::Configuration.instance(:must_exist).load do
|
3
|
+
namespace :deprec do
|
4
|
+
namespace :chef do
|
5
|
+
|
6
|
+
desc "Install Chef"
|
7
|
+
task :install do
|
8
|
+
install_deps
|
9
|
+
sudo "gem sources -a http://gems.opscode.com"
|
10
|
+
sudo "gem install ohai chef --no-rdoc --no-ri"
|
11
|
+
config
|
12
|
+
sudo "sudo chef-solo -c /etc/chef/solo.rb -j /etc/chef/solo/chef.json -r http://s3.amazonaws.com/chef-solo/bootstrap-latest.tar.gz"
|
13
|
+
end
|
14
|
+
|
15
|
+
# Install dependencies for Chef
|
16
|
+
task :install_deps, :roles => :chef do
|
17
|
+
top.deprec.couchdb.install
|
18
|
+
# top.deprec.ruby.install # XXX can we put this back in?
|
19
|
+
apt.install( {:base => %w(ruby ruby1.8-dev libopenssl-ruby1.8 rdoc ri irb)}, :stable )
|
20
|
+
top.deprec.rubygems.install
|
21
|
+
end
|
22
|
+
|
23
|
+
SYSTEM_CONFIG_FILES[:chef] = [
|
24
|
+
|
25
|
+
{:template => "solo.rb",
|
26
|
+
:path => '/etc/chef/solo.rb',
|
27
|
+
:mode => 0644,
|
28
|
+
:owner => 'root:root'},
|
29
|
+
|
30
|
+
{:template => "chef.json",
|
31
|
+
:path => '/etc/chef/solo/chef.json',
|
32
|
+
:mode => 0644,
|
33
|
+
:owner => 'root:root'}
|
34
|
+
|
35
|
+
]
|
36
|
+
|
37
|
+
desc "Generate Chef configs (system & project level)."
|
38
|
+
task :config_gen do
|
39
|
+
SYSTEM_CONFIG_FILES[:chef].each do |file|
|
40
|
+
deprec2.render_template(:chef, file)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
desc "Push Chef config files (system & project level) to server"
|
45
|
+
task :config, :roles => :chef do
|
46
|
+
deprec2.push_configs(:chef, SYSTEM_CONFIG_FILES[:chef])
|
47
|
+
end
|
48
|
+
|
49
|
+
# desc "Set Chef to start on boot"
|
50
|
+
# task :activate, :roles => :chef do
|
51
|
+
# send(run_method, "update-rc.d chef defaults")
|
52
|
+
# end
|
53
|
+
#
|
54
|
+
# desc "Set Chef to not start on boot"
|
55
|
+
# task :deactivate, :roles => :chef do
|
56
|
+
# send(run_method, "update-rc.d -f chef remove")
|
57
|
+
# end
|
58
|
+
#
|
59
|
+
# desc "Start Chef"
|
60
|
+
# task :start, :roles => :web do
|
61
|
+
# send(run_method, "/etc/init.d/chef start")
|
62
|
+
# end
|
63
|
+
#
|
64
|
+
# desc "Stop Chef"
|
65
|
+
# task :stop, :roles => :web do
|
66
|
+
# send(run_method, "/etc/init.d/chef stop")
|
67
|
+
# end
|
68
|
+
#
|
69
|
+
# desc "Restart Chef"
|
70
|
+
# task :restart, :roles => :web do
|
71
|
+
# send(run_method, "/etc/init.d/chef restart")
|
72
|
+
# end
|
73
|
+
#
|
74
|
+
# desc "Reload Chef"
|
75
|
+
# task :reload, :roles => :web do
|
76
|
+
# send(run_method, "/etc/init.d/chef force-reload")
|
77
|
+
# end
|
78
|
+
|
79
|
+
end
|
80
|
+
|
81
|
+
end
|
82
|
+
end
|
@@ -0,0 +1,107 @@
|
|
1
|
+
# Copyright 2006-2009 by Mike Bailey. All rights reserved.
|
2
|
+
Capistrano::Configuration.instance(:must_exist).load do
|
3
|
+
namespace :deprec do
|
4
|
+
namespace :couchdb do
|
5
|
+
|
6
|
+
set :couchdb_user, 'couchdb'
|
7
|
+
|
8
|
+
SRC_PACKAGES[:couchdb] = {
|
9
|
+
:url => "http://mirror.public-internet.co.uk/ftp/apache/incubator/couchdb/0.8.0-incubating/apache-couchdb-0.8.0-incubating.tar.gz",
|
10
|
+
:md5sum => "1f915929d4f54a2e0449a4a08f093118 git-1.6.1.tar.gz"
|
11
|
+
}
|
12
|
+
|
13
|
+
desc "Install CouchDB"
|
14
|
+
task :install do
|
15
|
+
install_deps
|
16
|
+
deprec2.download_src(SRC_PACKAGES[:couchdb], src_dir)
|
17
|
+
deprec2.install_from_src(SRC_PACKAGES[:couchdb], src_dir)
|
18
|
+
create_user
|
19
|
+
setup_filepaths
|
20
|
+
activate
|
21
|
+
start
|
22
|
+
end
|
23
|
+
|
24
|
+
task :create_user, :roles => :couchdb do
|
25
|
+
deprec2.useradd(couchdb_user)
|
26
|
+
end
|
27
|
+
|
28
|
+
task :setup_filepaths, :roles => :couchdb do
|
29
|
+
sudo "mkdir -p /usr/local/var/lib/couchdb"
|
30
|
+
sudo "chown -R couchdb /usr/local/var/lib/couchdb"
|
31
|
+
sudo "mkdir -p /usr/local/var/log/couchdb"
|
32
|
+
sudo "chown -R couchdb /usr/local/var/log/couchdb"
|
33
|
+
sudo "mkdir -p /usr/local/var/run"
|
34
|
+
sudo "chown -R couchdb /usr/local/var/run"
|
35
|
+
sudo "cp /usr/local/etc/init.d/couchdb /etc/init.d/"
|
36
|
+
end
|
37
|
+
|
38
|
+
# Install dependencies for CouchDB
|
39
|
+
task :install_deps, :roles => :couchdb do
|
40
|
+
apt.install( {:base => %w(automake autoconf libtool subversion-tools help2man erlang libicu38 libicu-dev libreadline5-dev checkinstall libmozjs-dev)}, :stable )
|
41
|
+
end
|
42
|
+
|
43
|
+
SYSTEM_CONFIG_FILES[:couchdb] = []
|
44
|
+
|
45
|
+
desc "Generate CouchDB configs (system & project level)."
|
46
|
+
task :config_gen do
|
47
|
+
SYSTEM_CONFIG_FILES[:couchdb].each do |file|
|
48
|
+
deprec2.render_template(:couchdb, file)
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
desc "Push CouchDB config files (system & project level) to server"
|
53
|
+
task :config, :roles => :couchdb do
|
54
|
+
deprec2.push_configs(:couchdb, SYSTEM_CONFIG_FILES[:couchdb])
|
55
|
+
end
|
56
|
+
|
57
|
+
desc "Set CouchDB to start on boot"
|
58
|
+
task :activate, :roles => :couchdb do
|
59
|
+
send(run_method, "update-rc.d couchdb defaults")
|
60
|
+
end
|
61
|
+
|
62
|
+
desc "Set CouchDB to not start on boot"
|
63
|
+
task :deactivate, :roles => :couchdb do
|
64
|
+
send(run_method, "update-rc.d -f couchdb remove")
|
65
|
+
end
|
66
|
+
|
67
|
+
desc "Start CouchDB"
|
68
|
+
task :start, :roles => :web do
|
69
|
+
send(run_method, "/etc/init.d/couchdb start")
|
70
|
+
end
|
71
|
+
|
72
|
+
desc "Stop CouchDB"
|
73
|
+
task :stop, :roles => :web do
|
74
|
+
send(run_method, "/etc/init.d/couchdb stop")
|
75
|
+
end
|
76
|
+
|
77
|
+
desc "Restart CouchDB"
|
78
|
+
task :restart, :roles => :web do
|
79
|
+
send(run_method, "/etc/init.d/couchdb restart")
|
80
|
+
end
|
81
|
+
|
82
|
+
desc "Reload CouchDB"
|
83
|
+
task :reload, :roles => :web do
|
84
|
+
send(run_method, "/etc/init.d/couchdb force-reload")
|
85
|
+
end
|
86
|
+
|
87
|
+
end
|
88
|
+
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
# sudo apt-get install automake autoconf libtool subversion-tools help2man build-essential erlang libicu38 libicu-dev libreadline5-dev checkinstall libmozjs-dev wget
|
93
|
+
# wget http://mirror.public-internet.co.uk/ftp/apache/incubator/couchdb/0.8.0-incubating/apache-couchdb-0.8.0-incubating.tar.gz
|
94
|
+
# tar -xzvf apache-couchdb-0.8.0-incubating.tar.gz
|
95
|
+
# cd apache-couchdb-0.8.0-incubating
|
96
|
+
# ./configure
|
97
|
+
# make && sudo make install
|
98
|
+
# sudo useradd couchdb
|
99
|
+
# sudo mkdir -p /usr/local/var/lib/couchdb
|
100
|
+
# sudo chown -R couchdb /usr/local/var/lib/couchdb
|
101
|
+
# sudo mkdir -p /usr/local/var/log/couchdb
|
102
|
+
# sudo chown -R couchdb /usr/local/var/log/couchdb
|
103
|
+
# sudo mkdir -p /usr/local/var/run
|
104
|
+
# sudo chown -R couchdb /usr/local/var/run
|
105
|
+
# sudo cp /usr/local/etc/init.d/couchdb /etc/init.d/
|
106
|
+
# sudo update-rc.d couchdb defaults
|
107
|
+
# sudo /etc/init.d/couchdb start
|
@@ -26,7 +26,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
26
26
|
task :install, :roles => :ci do
|
27
27
|
install_deps
|
28
28
|
sudo 'gem sources -a http://gems.github.com'
|
29
|
-
gem2.install '
|
29
|
+
gem2.install 'integrity'
|
30
30
|
|
31
31
|
sudo "integrity install --passenger #{integrity_install_dir}"
|
32
32
|
deprec2.useradd 'integrity'
|
@@ -105,4 +105,4 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
105
105
|
end
|
106
106
|
|
107
107
|
end
|
108
|
-
end
|
108
|
+
end
|
data/lib/deprec/recipes/monit.rb
CHANGED
@@ -79,7 +79,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
79
79
|
]
|
80
80
|
|
81
81
|
desc <<-DESC
|
82
|
-
Generate
|
82
|
+
Generate monit config from template. Note that this does not
|
83
83
|
push the config to the server, it merely generates required
|
84
84
|
configuration files. These should be kept under source control.
|
85
85
|
The can be pushed to the server with the :config task.
|
@@ -140,4 +140,4 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
140
140
|
end
|
141
141
|
|
142
142
|
end end
|
143
|
-
end
|
143
|
+
end
|
@@ -30,8 +30,8 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
30
30
|
namespace :rubygems do
|
31
31
|
|
32
32
|
SRC_PACKAGES[:rubygems] = {
|
33
|
-
:md5sum => "
|
34
|
-
:url => "http://rubyforge.org/frs/download.php/
|
33
|
+
:md5sum => "b17b398503253bf36a101c58f02a226f rubygems-1.3.4.tgz",
|
34
|
+
:url => "http://rubyforge.org/frs/download.php/57643/rubygems-1.3.4.tgz",
|
35
35
|
:configure => "",
|
36
36
|
:make => "",
|
37
37
|
:install => 'ruby setup.rb;'
|
@@ -2,14 +2,13 @@
|
|
2
2
|
Capistrano::Configuration.instance(:must_exist).load do
|
3
3
|
namespace :deprec do
|
4
4
|
namespace :ree do
|
5
|
-
|
6
|
-
set :ree_version, 'ruby-enterprise-1.8.6-20090201'
|
5
|
+
set :ree_version, 'ruby-enterprise-1.8.6-20090610'
|
7
6
|
set :ree_install_dir, "/opt/#{ree_version}"
|
8
7
|
set :ree_short_path, '/opt/ruby-enterprise'
|
9
8
|
|
10
9
|
SRC_PACKAGES[:ree] = {
|
11
|
-
:md5sum => "
|
12
|
-
:url => "http://
|
10
|
+
:md5sum => "0bf66ee626918464a6eccdd83c99d63a #{ree_version}.tar.gz",
|
11
|
+
:url => "http://www.rubyenterpriseedition.com/#{ree_version}.tar.gz",
|
13
12
|
:configure => '',
|
14
13
|
:make => '',
|
15
14
|
:install => "./installer --auto /opt/#{ree_version}"
|
@@ -38,4 +37,4 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
38
37
|
end
|
39
38
|
|
40
39
|
end
|
41
|
-
end
|
40
|
+
end
|
@@ -11,8 +11,8 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
11
11
|
set :nginx_worker_processes, 4
|
12
12
|
|
13
13
|
SRC_PACKAGES[:nginx] = {
|
14
|
-
:url => "http://sysoev.ru/nginx/nginx-0.
|
15
|
-
:md5sum => "
|
14
|
+
:url => "http://sysoev.ru/nginx/nginx-0.7.59.tar.gz",
|
15
|
+
:md5sum => "d981b03b4c3ba43de580553355608b63 nginx-0.7.59.tar.gz",
|
16
16
|
:configure => './configure --sbin-path=/usr/local/sbin --with-http_ssl_module;'
|
17
17
|
}
|
18
18
|
|
@@ -6,11 +6,14 @@ require "#{File.dirname(__FILE__)}/recipes/canonical"
|
|
6
6
|
require "#{File.dirname(__FILE__)}/recipes/deprec"
|
7
7
|
require "#{File.dirname(__FILE__)}/recipes/deprecated"
|
8
8
|
|
9
|
+
require "#{File.dirname(__FILE__)}/recipes/chef"
|
10
|
+
|
9
11
|
require "#{File.dirname(__FILE__)}/recipes/app/mongrel"
|
10
12
|
require "#{File.dirname(__FILE__)}/recipes/app/passenger"
|
11
13
|
require "#{File.dirname(__FILE__)}/recipes/db/mysql"
|
12
14
|
require "#{File.dirname(__FILE__)}/recipes/db/postgresql"
|
13
15
|
require "#{File.dirname(__FILE__)}/recipes/db/sqlite"
|
16
|
+
require "#{File.dirname(__FILE__)}/recipes/db/couchdb"
|
14
17
|
require "#{File.dirname(__FILE__)}/recipes/ruby/mri"
|
15
18
|
require "#{File.dirname(__FILE__)}/recipes/ruby/ree"
|
16
19
|
require "#{File.dirname(__FILE__)}/recipes/web/apache"
|
@@ -36,7 +39,6 @@ require "#{File.dirname(__FILE__)}/recipes/ntp"
|
|
36
39
|
require "#{File.dirname(__FILE__)}/recipes/logrotate"
|
37
40
|
require "#{File.dirname(__FILE__)}/recipes/ssl"
|
38
41
|
|
39
|
-
# require "#{File.dirname(__FILE__)}/recipes/rails"
|
40
42
|
require "#{File.dirname(__FILE__)}/recipes/postfix"
|
41
43
|
require "#{File.dirname(__FILE__)}/recipes/memcache"
|
42
44
|
require "#{File.dirname(__FILE__)}/recipes/monit"
|
@@ -0,0 +1 @@
|
|
1
|
+
{ "recipes": "chef::server" }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deprec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Bailey
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-06-15 00:00:00 +10:00
|
13
13
|
default_executable: depify
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -22,7 +22,7 @@ dependencies:
|
|
22
22
|
- !ruby/object:Gem::Version
|
23
23
|
version: 2.5.0
|
24
24
|
version:
|
25
|
-
description: This project provides libraries of Capistrano tasks and extensions to
|
25
|
+
description: " This project provides libraries of Capistrano tasks and extensions to \n remove the repetative manual work associated with installing services \n on linux servers.\n"
|
26
26
|
email: mike@bailey.net.au
|
27
27
|
executables:
|
28
28
|
- depify
|
@@ -33,30 +33,25 @@ extra_rdoc_files: []
|
|
33
33
|
files:
|
34
34
|
- bin/depify
|
35
35
|
- docs/config_gen_explained.txt
|
36
|
-
- docs/deprec-1.x
|
37
36
|
- docs/deprec-1.x/deprec-1.x.quickstart
|
38
37
|
- docs/deprec-1.x/notes.txt
|
39
38
|
- docs/EXAMPLE-installing_tracks.txt
|
40
|
-
- docs/old
|
41
39
|
- docs/old/deprec_banner.gif
|
42
40
|
- docs/README.nagios
|
43
41
|
- docs/README.rails
|
44
42
|
- docs/windows_linux.txt
|
45
|
-
- docs/xen
|
46
43
|
- docs/xen/traffic_monitoring_with_vnstat.txt
|
47
44
|
- docs/xen/xen-tools-notes.txt
|
48
45
|
- docs/xen/xen_on_hardy.txt
|
49
|
-
- lib/deprec
|
50
46
|
- lib/deprec/capistrano_extensions.rb
|
51
|
-
- lib/deprec/recipes
|
52
47
|
- lib/deprec/recipes/aoe.rb
|
53
|
-
- lib/deprec/recipes/app
|
54
48
|
- lib/deprec/recipes/app/mongrel.rb
|
55
49
|
- lib/deprec/recipes/app/passenger.rb
|
56
50
|
- lib/deprec/recipes/apt_mirror.rb
|
57
51
|
- lib/deprec/recipes/ar_sendmail.rb
|
58
52
|
- lib/deprec/recipes/canonical.rb
|
59
|
-
- lib/deprec/recipes/
|
53
|
+
- lib/deprec/recipes/chef.rb
|
54
|
+
- lib/deprec/recipes/db/couchdb.rb
|
60
55
|
- lib/deprec/recipes/db/mysql.rb
|
61
56
|
- lib/deprec/recipes/db/postgresql.rb
|
62
57
|
- lib/deprec/recipes/db/sqlite.rb
|
@@ -78,7 +73,6 @@ files:
|
|
78
73
|
- lib/deprec/recipes/php.rb
|
79
74
|
- lib/deprec/recipes/postfix.rb
|
80
75
|
- lib/deprec/recipes/rails.rb
|
81
|
-
- lib/deprec/recipes/ruby
|
82
76
|
- lib/deprec/recipes/ruby/mri.rb
|
83
77
|
- lib/deprec/recipes/ruby/ree.rb
|
84
78
|
- lib/deprec/recipes/sphinx.rb
|
@@ -91,7 +85,6 @@ files:
|
|
91
85
|
- lib/deprec/recipes/users.rb
|
92
86
|
- lib/deprec/recipes/utils.rb
|
93
87
|
- lib/deprec/recipes/vnstat.rb
|
94
|
-
- lib/deprec/recipes/web
|
95
88
|
- lib/deprec/recipes/web/apache.rb
|
96
89
|
- lib/deprec/recipes/web/nginx.rb
|
97
90
|
- lib/deprec/recipes/wordpress.rb
|
@@ -100,54 +93,41 @@ files:
|
|
100
93
|
- lib/deprec/recipes/xentools.rb
|
101
94
|
- lib/deprec/recipes.rb
|
102
95
|
- lib/deprec/recipes_minus_rails.rb
|
103
|
-
- lib/deprec/templates
|
104
|
-
- lib/deprec/templates/aoe
|
105
96
|
- lib/deprec/templates/aoe/aoe-init
|
106
97
|
- lib/deprec/templates/aoe/fence_aoemask
|
107
|
-
- lib/deprec/templates/apache
|
108
98
|
- lib/deprec/templates/apache/namevirtualhosts.conf
|
109
|
-
- lib/deprec/templates/apt
|
110
99
|
- lib/deprec/templates/apt/sources.list
|
111
|
-
- lib/deprec/templates/apt_mirror
|
112
100
|
- lib/deprec/templates/apt_mirror/apt-mirror-cron
|
113
101
|
- lib/deprec/templates/apt_mirror/mirror.list
|
114
|
-
- lib/deprec/templates/ar_sendmail
|
115
102
|
- lib/deprec/templates/ar_sendmail/logrotate.conf.erb
|
116
103
|
- lib/deprec/templates/ar_sendmail/monit.conf.erb
|
117
|
-
- lib/deprec/templates/
|
104
|
+
- lib/deprec/templates/chef/chef.json
|
105
|
+
- lib/deprec/templates/chef/solo.rb
|
118
106
|
- lib/deprec/templates/ddclient/ddclient.conf.erb
|
119
107
|
- lib/deprec/templates/ddclient/ddclient.erb
|
120
|
-
- lib/deprec/templates/deprec
|
121
108
|
- lib/deprec/templates/deprec/caprc.erb
|
122
|
-
- lib/deprec/templates/heartbeat
|
123
109
|
- lib/deprec/templates/heartbeat/authkeys.erb
|
124
110
|
- lib/deprec/templates/heartbeat/ha.cf.erb
|
125
111
|
- lib/deprec/templates/heartbeat/haresources.erb
|
126
|
-
- lib/deprec/templates/integrity
|
127
112
|
- lib/deprec/templates/integrity/apache_vhost.erb
|
128
113
|
- lib/deprec/templates/integrity/config.ru.erb
|
129
114
|
- lib/deprec/templates/integrity/config.yml.erb
|
130
|
-
- lib/deprec/templates/logrotate
|
131
115
|
- lib/deprec/templates/logrotate/logrotate.conf.erb
|
132
|
-
- lib/deprec/templates/mongrel
|
133
116
|
- lib/deprec/templates/mongrel/apache_vhost.conf.erb
|
134
117
|
- lib/deprec/templates/mongrel/logrotate.conf.erb
|
135
118
|
- lib/deprec/templates/mongrel/mongrel_cluster-init-script
|
136
119
|
- lib/deprec/templates/mongrel/mongrel_cluster.yml.erb
|
137
120
|
- lib/deprec/templates/mongrel/monit.conf.erb
|
138
121
|
- lib/deprec/templates/mongrel/nginx_vhost.conf.erb
|
139
|
-
- lib/deprec/templates/monit
|
140
122
|
- lib/deprec/templates/monit/monit-init-script
|
141
123
|
- lib/deprec/templates/monit/monitrc.erb
|
142
124
|
- lib/deprec/templates/monit/nothing
|
143
|
-
- lib/deprec/templates/mysql
|
144
125
|
- lib/deprec/templates/mysql/create_databases.sql
|
145
126
|
- lib/deprec/templates/mysql/database.yml.prod
|
146
127
|
- lib/deprec/templates/mysql/database.yml.stage
|
147
128
|
- lib/deprec/templates/mysql/my.cnf.erb
|
148
129
|
- lib/deprec/templates/mysql/sphinx.conf.prod
|
149
130
|
- lib/deprec/templates/mysql/sphinx.conf.stage
|
150
|
-
- lib/deprec/templates/nagios
|
151
131
|
- lib/deprec/templates/nagios/cgi.cfg.erb
|
152
132
|
- lib/deprec/templates/nagios/check_linux_free_memory.pl
|
153
133
|
- lib/deprec/templates/nagios/check_mongrel_cluster.rb
|
@@ -164,12 +144,10 @@ files:
|
|
164
144
|
- lib/deprec/templates/nagios/services.cfg.erb
|
165
145
|
- lib/deprec/templates/nagios/templates.cfg.erb
|
166
146
|
- lib/deprec/templates/nagios/timeperiods.cfg.erb
|
167
|
-
- lib/deprec/templates/network
|
168
147
|
- lib/deprec/templates/network/hostname.erb
|
169
148
|
- lib/deprec/templates/network/hosts.erb
|
170
149
|
- lib/deprec/templates/network/interfaces.erb
|
171
150
|
- lib/deprec/templates/network/resolv.conf.erb
|
172
|
-
- lib/deprec/templates/nginx
|
173
151
|
- lib/deprec/templates/nginx/logrotate.conf.erb
|
174
152
|
- lib/deprec/templates/nginx/mime.types.erb
|
175
153
|
- lib/deprec/templates/nginx/nginx-init-script
|
@@ -177,51 +155,37 @@ files:
|
|
177
155
|
- lib/deprec/templates/nginx/nginx.logrotate.d
|
178
156
|
- lib/deprec/templates/nginx/nothing.conf
|
179
157
|
- lib/deprec/templates/nginx/rails_nginx_vhost.conf.erb
|
180
|
-
- lib/deprec/templates/ntp
|
181
158
|
- lib/deprec/templates/ntp/ntp.conf.erb
|
182
|
-
- lib/deprec/templates/passenger
|
183
159
|
- lib/deprec/templates/passenger/apache_vhost.erb
|
184
160
|
- lib/deprec/templates/passenger/passenger.conf.erb
|
185
161
|
- lib/deprec/templates/passenger/passenger.load.erb
|
186
|
-
- lib/deprec/templates/postfix
|
187
162
|
- lib/deprec/templates/postfix/aliases.erb
|
188
163
|
- lib/deprec/templates/postfix/dynamicmaps.cf.erb
|
189
164
|
- lib/deprec/templates/postfix/main.cf.erb
|
190
165
|
- lib/deprec/templates/postfix/master.cf.erb
|
191
|
-
- lib/deprec/templates/sphinx
|
192
166
|
- lib/deprec/templates/sphinx/monit.conf.erb
|
193
|
-
- lib/deprec/templates/ssh
|
194
167
|
- lib/deprec/templates/ssh/ssh_config.erb
|
195
168
|
- lib/deprec/templates/ssh/sshd_config.erb
|
196
|
-
- lib/deprec/templates/ssl
|
197
169
|
- lib/deprec/templates/ssl/make-ssl-cert
|
198
170
|
- lib/deprec/templates/ssl/ssl-cert-snakeoil.key
|
199
171
|
- lib/deprec/templates/ssl/ssl-cert-snakeoil.pem
|
200
|
-
- lib/deprec/templates/starling
|
201
172
|
- lib/deprec/templates/starling/monit.conf.erb
|
202
173
|
- lib/deprec/templates/starling/starling-init-script.erb
|
203
|
-
- lib/deprec/templates/subversion
|
204
174
|
- lib/deprec/templates/subversion/svn.apache.vhost.erb
|
205
|
-
- lib/deprec/templates/trac
|
206
175
|
- lib/deprec/templates/trac/apache_vhost.conf.erb
|
207
176
|
- lib/deprec/templates/trac/nginx_vhost.conf.erb
|
208
177
|
- lib/deprec/templates/trac/trac.ini.erb
|
209
178
|
- lib/deprec/templates/trac/trac_deprec.png
|
210
179
|
- lib/deprec/templates/trac/tracd-init.erb
|
211
180
|
- lib/deprec/templates/trac/users.htdigest.erb
|
212
|
-
- lib/deprec/templates/vnstat
|
213
181
|
- lib/deprec/templates/vnstat/config.php
|
214
|
-
- lib/deprec/templates/wordpress
|
215
182
|
- lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
|
216
183
|
- lib/deprec/templates/wordpress/wp-config.php.erb
|
217
|
-
- lib/deprec/templates/wpmu
|
218
184
|
- lib/deprec/templates/wpmu/apache_vhost.conf.erb
|
219
|
-
- lib/deprec/templates/xen
|
220
185
|
- lib/deprec/templates/xen/network-bridge-wrapper
|
221
186
|
- lib/deprec/templates/xen/xend-config.sxp.erb
|
222
187
|
- lib/deprec/templates/xen/xend-init.erb
|
223
188
|
- lib/deprec/templates/xen/xendomains.erb
|
224
|
-
- lib/deprec/templates/xentools
|
225
189
|
- lib/deprec/templates/xentools/15-disable-hwclock
|
226
190
|
- lib/deprec/templates/xentools/40-setup-networking
|
227
191
|
- lib/deprec/templates/xentools/xen-tools.conf.erb
|
@@ -229,7 +193,6 @@ files:
|
|
229
193
|
- lib/deprec.rb
|
230
194
|
- lib/deprec_cmd_completion.sh
|
231
195
|
- lib/deprec_minus_rails.rb
|
232
|
-
- lib/vmbuilder_plugins
|
233
196
|
- lib/vmbuilder_plugins/all.rb
|
234
197
|
- lib/vmbuilder_plugins/apt.rb
|
235
198
|
- lib/vmbuilder_plugins/emerge.rb
|
@@ -240,8 +203,10 @@ files:
|
|
240
203
|
- LICENSE
|
241
204
|
- README
|
242
205
|
- THANKS
|
243
|
-
has_rdoc:
|
206
|
+
has_rdoc: true
|
244
207
|
homepage: http://www.deprec.org/
|
208
|
+
licenses: []
|
209
|
+
|
245
210
|
post_install_message:
|
246
211
|
rdoc_options: []
|
247
212
|
|
@@ -262,9 +227,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
262
227
|
requirements: []
|
263
228
|
|
264
229
|
rubyforge_project: deprec
|
265
|
-
rubygems_version: 1.3.
|
230
|
+
rubygems_version: 1.3.3
|
266
231
|
signing_key:
|
267
|
-
specification_version:
|
232
|
+
specification_version: 3
|
268
233
|
summary: deployment recipes for capistrano
|
269
234
|
test_files: []
|
270
235
|
|