centostrano 0.1 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/docs/offline_installation.txt +16 -0
- data/lib/deprec/capistrano_extensions.rb +60 -16
- data/lib/deprec/recipes.rb +1 -0
- data/lib/deprec/recipes/apache.rb +8 -6
- data/lib/deprec/recipes/gitosis.rb +21 -1
- data/lib/deprec/recipes/merb.rb +2 -2
- data/lib/deprec/recipes/mongrel.rb +11 -6
- data/lib/deprec/recipes/mysql.rb +5 -5
- data/lib/deprec/recipes/nginx.rb +23 -19
- data/lib/deprec/recipes/passenger.rb +127 -0
- data/lib/deprec/recipes/rails.rb +15 -25
- data/lib/deprec/recipes/ruby.rb +8 -8
- data/lib/deprec/recipes/sphinx.rb +3 -0
- data/lib/deprec/recipes/svn.rb +1 -1
- data/lib/deprec/templates/mongrel/logrotate.conf.erb +1 -1
- data/lib/deprec/templates/nagios/check_linux_free_memory.pl +118 -0
- data/lib/deprec/templates/nagios/check_mongrel_cluster.rb +82 -0
- data/lib/deprec/templates/nginx/logrotate.conf.erb +1 -1
- data/lib/deprec/templates/nginx/nginx.conf.erb +14 -4
- data/lib/deprec/templates/passenger/apache_vhost.erb +10 -0
- data/lib/deprec/templates/passenger/passenger.erb +20 -0
- data/lib/deprec/templates/ssh/ssh_config.erb +1 -1
- metadata +121 -117
- data/lib/deprec/templates/coraid/aoe-init +0 -55
- data/lib/deprec/templates/mongrel/mongrel_cluster.logrotate.d +0 -14
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: centostrano
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: "0.
|
4
|
+
version: "0.2"
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Saulius Grigaitis
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2009-01-25 00:00:00 +02:00
|
13
13
|
default_executable: centify
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -32,153 +32,157 @@ extra_rdoc_files: []
|
|
32
32
|
|
33
33
|
files:
|
34
34
|
- bin/centify
|
35
|
+
- docs/offline_installation.txt
|
36
|
+
- docs/ROADMAP.txt
|
37
|
+
- docs/README.nagios
|
35
38
|
- docs/deprec-1.x
|
36
39
|
- docs/deprec-1.x/deprec-1.x.quickstart
|
37
40
|
- docs/deprec-1.x/notes.txt
|
38
|
-
- docs/README.install
|
39
|
-
- docs/README.nagios
|
40
|
-
- docs/README.rails
|
41
41
|
- docs/README.svn
|
42
|
-
- docs/ROADMAP.txt
|
43
42
|
- docs/ANNOUNCE.deprec2
|
43
|
+
- docs/README.install
|
44
|
+
- docs/README.rails
|
44
45
|
- docs/deprec_banner.gif
|
46
|
+
- lib/vmbuilder_plugins
|
47
|
+
- lib/vmbuilder_plugins/std.rb
|
48
|
+
- lib/vmbuilder_plugins/gem.rb
|
49
|
+
- lib/vmbuilder_plugins/all.rb
|
50
|
+
- lib/vmbuilder_plugins/emerge.rb
|
51
|
+
- lib/vmbuilder_plugins/apt.rb
|
52
|
+
- lib/deprec_cmd_completion.sh
|
53
|
+
- lib/centostrano.rb
|
45
54
|
- lib/deprec
|
46
|
-
- lib/deprec/recipes
|
47
|
-
- lib/deprec/
|
48
|
-
- lib/deprec/
|
49
|
-
- lib/deprec/recipes/deprec.rb
|
50
|
-
- lib/deprec/recipes/deprecated.rb
|
51
|
-
- lib/deprec/recipes/example.rb
|
52
|
-
- lib/deprec/recipes/memcache.rb
|
53
|
-
- lib/deprec/recipes/mongrel.rb
|
54
|
-
- lib/deprec/recipes/monit.rb
|
55
|
-
- lib/deprec/recipes/mysql.rb
|
56
|
-
- lib/deprec/recipes/rails.rb
|
57
|
-
- lib/deprec/recipes/nginx.rb
|
58
|
-
- lib/deprec/recipes/svn.rb
|
59
|
-
- lib/deprec/recipes/ruby.rb
|
60
|
-
- lib/deprec/recipes/ssh.rb
|
61
|
-
- lib/deprec/recipes/git.rb
|
62
|
-
- lib/deprec/recipes/users.rb
|
63
|
-
- lib/deprec/recipes/apache.rb
|
64
|
-
- lib/deprec/recipes/logrotate.rb
|
65
|
-
- lib/deprec/recipes/merb.rb
|
66
|
-
- lib/deprec/recipes/gitosis.rb
|
67
|
-
- lib/deprec/recipes/sphinx.rb
|
55
|
+
- lib/deprec/recipes.rb
|
56
|
+
- lib/deprec/capistrano_extensions.rb
|
57
|
+
- lib/deprec/centostrano.rb
|
68
58
|
- lib/deprec/templates
|
59
|
+
- lib/deprec/templates/postgresql
|
60
|
+
- lib/deprec/templates/postgresql/pg_hba.conf.erb
|
61
|
+
- lib/deprec/templates/xen
|
62
|
+
- lib/deprec/templates/xen/network-bridge-wrapper
|
63
|
+
- lib/deprec/templates/xen/xend-init.erb
|
64
|
+
- lib/deprec/templates/xen/xend-config.sxp.erb
|
65
|
+
- lib/deprec/templates/xen/xen-tools.conf.erb
|
66
|
+
- lib/deprec/templates/xen/15-disable-hwclock
|
67
|
+
- lib/deprec/templates/xen/xm.tmpl.erb
|
68
|
+
- lib/deprec/templates/xen/xendomains.erb
|
69
|
+
- lib/deprec/templates/ntp
|
70
|
+
- lib/deprec/templates/ntp/ntp.conf.erb
|
71
|
+
- lib/deprec/templates/aoe
|
72
|
+
- lib/deprec/templates/aoe/aoe-init
|
73
|
+
- lib/deprec/templates/aoe/fence_aoemask
|
74
|
+
- lib/deprec/templates/mongrel
|
75
|
+
- lib/deprec/templates/mongrel/monit.conf.erb
|
76
|
+
- lib/deprec/templates/mongrel/logrotate.erb
|
77
|
+
- lib/deprec/templates/mongrel/logrotate.conf.erb
|
78
|
+
- lib/deprec/templates/mongrel/mongrel_cluster-init-script
|
79
|
+
- lib/deprec/templates/mongrel/mongrel_cluster.yml.erb
|
69
80
|
- lib/deprec/templates/network
|
70
81
|
- lib/deprec/templates/network/hostname.erb
|
71
82
|
- lib/deprec/templates/network/hosts.erb
|
72
83
|
- lib/deprec/templates/network/interfaces.erb
|
73
|
-
- lib/deprec/templates/apache
|
74
|
-
- lib/deprec/templates/apache/httpd-vhost-app.conf.erb
|
75
|
-
- lib/deprec/templates/apache/httpd.conf
|
76
|
-
- lib/deprec/templates/apache/index.html.erb
|
77
|
-
- lib/deprec/templates/apache/master.css
|
78
|
-
- lib/deprec/templates/coraid
|
79
|
-
- lib/deprec/templates/coraid/aoe-init
|
80
|
-
- lib/deprec/templates/deprec
|
81
|
-
- lib/deprec/templates/deprec/caprc.erb
|
82
|
-
- lib/deprec/templates/heartbeat
|
83
|
-
- lib/deprec/templates/heartbeat/authkeys.erb
|
84
|
-
- lib/deprec/templates/heartbeat/ha.cf.erb
|
85
|
-
- lib/deprec/templates/heartbeat/haresources.erb
|
86
|
-
- lib/deprec/templates/mongrel
|
87
|
-
- lib/deprec/templates/mongrel/mongrel_cluster-init-script
|
88
|
-
- lib/deprec/templates/mongrel/mongrel_cluster.logrotate.d
|
89
|
-
- lib/deprec/templates/mongrel/mongrel_cluster.yml.erb
|
90
|
-
- lib/deprec/templates/mongrel/monit.conf.erb
|
91
|
-
- lib/deprec/templates/mongrel/logrotate.conf.erb
|
92
|
-
- lib/deprec/templates/mongrel/logrotate.erb
|
93
84
|
- lib/deprec/templates/monit
|
94
|
-
- lib/deprec/templates/monit/monit-init-script
|
95
85
|
- lib/deprec/templates/monit/monitrc.erb
|
86
|
+
- lib/deprec/templates/monit/monit-init-script
|
96
87
|
- lib/deprec/templates/monit/nothing
|
97
88
|
- lib/deprec/templates/mysql
|
98
|
-
- lib/deprec/templates/mysql/create_databases.sql
|
99
89
|
- lib/deprec/templates/mysql/database.yml.prod
|
100
|
-
- lib/deprec/templates/mysql/
|
90
|
+
- lib/deprec/templates/mysql/sphinx.conf.stage
|
101
91
|
- lib/deprec/templates/mysql/my.cnf.erb
|
102
92
|
- lib/deprec/templates/mysql/sphinx.conf.prod
|
103
|
-
- lib/deprec/templates/mysql/
|
104
|
-
- lib/deprec/templates/
|
105
|
-
- lib/deprec/templates/nagios/timeperiods.cfg.erb
|
106
|
-
- lib/deprec/templates/nagios/commands.cfg.erb
|
107
|
-
- lib/deprec/templates/nagios/contacts.cfg.erb
|
108
|
-
- lib/deprec/templates/nagios/hosts.cfg.erb
|
109
|
-
- lib/deprec/templates/nagios/htpasswd.users
|
110
|
-
- lib/deprec/templates/nagios/localhost.cfg.erb
|
111
|
-
- lib/deprec/templates/nagios/nagios.cfg.erb
|
112
|
-
- lib/deprec/templates/nagios/nagios_apache_vhost.conf.erb
|
113
|
-
- lib/deprec/templates/nagios/nrpe.cfg.erb
|
114
|
-
- lib/deprec/templates/nagios/nrpe.xinetd.erb
|
115
|
-
- lib/deprec/templates/nagios/resource.cfg.erb
|
116
|
-
- lib/deprec/templates/nagios/services.cfg.erb
|
117
|
-
- lib/deprec/templates/nagios/templates.cfg.erb
|
118
|
-
- lib/deprec/templates/nagios/cgi.cfg.erb
|
119
|
-
- lib/deprec/templates/aoe
|
120
|
-
- lib/deprec/templates/aoe/aoe-init
|
121
|
-
- lib/deprec/templates/aoe/fence_aoemask
|
122
|
-
- lib/deprec/templates/nginx
|
123
|
-
- lib/deprec/templates/nginx/mime.types.erb
|
124
|
-
- lib/deprec/templates/nginx/nginx-init-script
|
125
|
-
- lib/deprec/templates/nginx/nginx.conf.erb
|
126
|
-
- lib/deprec/templates/nginx/nginx.logrotate.d
|
127
|
-
- lib/deprec/templates/nginx/nothing.conf
|
128
|
-
- lib/deprec/templates/nginx/rails_nginx_vhost.conf.erb
|
129
|
-
- lib/deprec/templates/nginx/logrotate.conf.erb
|
130
|
-
- lib/deprec/templates/nginx/logrotate.erb
|
131
|
-
- lib/deprec/templates/ntp
|
132
|
-
- lib/deprec/templates/ntp/ntp.conf.erb
|
133
|
-
- lib/deprec/templates/postfix
|
134
|
-
- lib/deprec/templates/postfix/aliases.erb
|
135
|
-
- lib/deprec/templates/postfix/dynamicmaps.cf.erb
|
136
|
-
- lib/deprec/templates/postfix/main.cf.erb
|
137
|
-
- lib/deprec/templates/postfix/master.cf.erb
|
93
|
+
- lib/deprec/templates/mysql/database.yml.stage
|
94
|
+
- lib/deprec/templates/mysql/create_databases.sql
|
138
95
|
- lib/deprec/templates/ssh
|
139
96
|
- lib/deprec/templates/ssh/ssh_config.erb
|
140
97
|
- lib/deprec/templates/ssh/sshd_config.erb
|
141
|
-
- lib/deprec/templates/
|
142
|
-
- lib/deprec/templates/
|
98
|
+
- lib/deprec/templates/centos
|
99
|
+
- lib/deprec/templates/centos/repository.erb
|
100
|
+
- lib/deprec/templates/deprec
|
101
|
+
- lib/deprec/templates/deprec/caprc.erb
|
143
102
|
- lib/deprec/templates/trac
|
103
|
+
- lib/deprec/templates/trac/tracd-init.erb
|
144
104
|
- lib/deprec/templates/trac/apache_vhost.conf.erb
|
145
|
-
- lib/deprec/templates/trac/trac.ini.erb
|
146
105
|
- lib/deprec/templates/trac/trac_deprec.png
|
147
|
-
- lib/deprec/templates/trac/
|
148
|
-
- lib/deprec/templates/
|
149
|
-
- lib/deprec/templates/
|
150
|
-
- lib/deprec/templates/
|
151
|
-
- lib/deprec/templates/
|
152
|
-
- lib/deprec/templates/
|
153
|
-
- lib/deprec/templates/
|
154
|
-
- lib/deprec/templates/
|
155
|
-
- lib/deprec/templates/
|
156
|
-
- lib/deprec/templates/
|
157
|
-
- lib/deprec/templates/
|
158
|
-
- lib/deprec/templates/
|
159
|
-
- lib/deprec/templates/
|
160
|
-
- lib/deprec/templates/
|
161
|
-
- lib/deprec/templates/
|
106
|
+
- lib/deprec/templates/trac/trac.ini.erb
|
107
|
+
- lib/deprec/templates/heartbeat
|
108
|
+
- lib/deprec/templates/heartbeat/authkeys.erb
|
109
|
+
- lib/deprec/templates/heartbeat/haresources.erb
|
110
|
+
- lib/deprec/templates/heartbeat/ha.cf.erb
|
111
|
+
- lib/deprec/templates/passenger
|
112
|
+
- lib/deprec/templates/passenger/apache_vhost.erb
|
113
|
+
- lib/deprec/templates/passenger/passenger.erb
|
114
|
+
- lib/deprec/templates/subversion
|
115
|
+
- lib/deprec/templates/subversion/svn.apache.vhost.erb
|
116
|
+
- lib/deprec/templates/postfix
|
117
|
+
- lib/deprec/templates/postfix/dynamicmaps.cf.erb
|
118
|
+
- lib/deprec/templates/postfix/main.cf.erb
|
119
|
+
- lib/deprec/templates/postfix/aliases.erb
|
120
|
+
- lib/deprec/templates/postfix/master.cf.erb
|
162
121
|
- lib/deprec/templates/sphinx
|
163
122
|
- lib/deprec/templates/sphinx/monit.conf.erb
|
164
|
-
- lib/deprec/
|
165
|
-
- lib/deprec/
|
166
|
-
- lib/deprec/
|
167
|
-
- lib/
|
168
|
-
- lib/
|
169
|
-
- lib/
|
170
|
-
- lib/
|
171
|
-
- lib/
|
172
|
-
- lib/
|
173
|
-
- lib/
|
174
|
-
- lib/
|
123
|
+
- lib/deprec/templates/logrotate
|
124
|
+
- lib/deprec/templates/logrotate/logrotate.conf.erb
|
125
|
+
- lib/deprec/templates/apache
|
126
|
+
- lib/deprec/templates/apache/httpd.conf
|
127
|
+
- lib/deprec/templates/apache/master.css
|
128
|
+
- lib/deprec/templates/apache/httpd-vhost-app.conf.erb
|
129
|
+
- lib/deprec/templates/apache/index.html.erb
|
130
|
+
- lib/deprec/templates/nginx
|
131
|
+
- lib/deprec/templates/nginx/mime.types.erb
|
132
|
+
- lib/deprec/templates/nginx/logrotate.erb
|
133
|
+
- lib/deprec/templates/nginx/rails_nginx_vhost.conf.erb
|
134
|
+
- lib/deprec/templates/nginx/logrotate.conf.erb
|
135
|
+
- lib/deprec/templates/nginx/nginx-init-script
|
136
|
+
- lib/deprec/templates/nginx/nginx.conf.erb
|
137
|
+
- lib/deprec/templates/nginx/nothing.conf
|
138
|
+
- lib/deprec/templates/nginx/nginx.logrotate.d
|
139
|
+
- lib/deprec/templates/nagios
|
140
|
+
- lib/deprec/templates/nagios/check_mongrel_cluster.rb
|
141
|
+
- lib/deprec/templates/nagios/cgi.cfg.erb
|
142
|
+
- lib/deprec/templates/nagios/commands.cfg.erb
|
143
|
+
- lib/deprec/templates/nagios/nagios_apache_vhost.conf.erb
|
144
|
+
- lib/deprec/templates/nagios/services.cfg.erb
|
145
|
+
- lib/deprec/templates/nagios/templates.cfg.erb
|
146
|
+
- lib/deprec/templates/nagios/htpasswd.users
|
147
|
+
- lib/deprec/templates/nagios/resource.cfg.erb
|
148
|
+
- lib/deprec/templates/nagios/hosts.cfg.erb
|
149
|
+
- lib/deprec/templates/nagios/timeperiods.cfg.erb
|
150
|
+
- lib/deprec/templates/nagios/localhost.cfg.erb
|
151
|
+
- lib/deprec/templates/nagios/nagios.cfg.erb
|
152
|
+
- lib/deprec/templates/nagios/contacts.cfg.erb
|
153
|
+
- lib/deprec/templates/nagios/check_linux_free_memory.pl
|
154
|
+
- lib/deprec/templates/nagios/nrpe.xinetd.erb
|
155
|
+
- lib/deprec/templates/nagios/nrpe.cfg.erb
|
156
|
+
- lib/deprec/recipes
|
157
|
+
- lib/deprec/recipes/svn.rb
|
158
|
+
- lib/deprec/recipes/logrotate.rb
|
159
|
+
- lib/deprec/recipes/memcache.rb
|
160
|
+
- lib/deprec/recipes/deprec.rb
|
161
|
+
- lib/deprec/recipes/mongrel.rb
|
162
|
+
- lib/deprec/recipes/ruby.rb
|
163
|
+
- lib/deprec/recipes/apache.rb
|
164
|
+
- lib/deprec/recipes/canonical.rb
|
165
|
+
- lib/deprec/recipes/passenger.rb
|
166
|
+
- lib/deprec/recipes/rails.rb
|
167
|
+
- lib/deprec/recipes/git.rb
|
168
|
+
- lib/deprec/recipes/example.rb
|
169
|
+
- lib/deprec/recipes/monit.rb
|
170
|
+
- lib/deprec/recipes/nginx.rb
|
171
|
+
- lib/deprec/recipes/ssh.rb
|
172
|
+
- lib/deprec/recipes/sphinx.rb
|
173
|
+
- lib/deprec/recipes/gitosis.rb
|
174
|
+
- lib/deprec/recipes/merb.rb
|
175
|
+
- lib/deprec/recipes/deprecated.rb
|
176
|
+
- lib/deprec/recipes/postgresql.rb
|
177
|
+
- lib/deprec/recipes/users.rb
|
178
|
+
- lib/deprec/recipes/mysql.rb
|
175
179
|
- CHANGELOG
|
176
180
|
- COPYING
|
177
181
|
- LICENSE
|
178
182
|
- README
|
179
183
|
- THANKS
|
180
184
|
has_rdoc: false
|
181
|
-
homepage: http://www.rubyonrails.lt
|
185
|
+
homepage: http://www.rubyonrails.lt
|
182
186
|
post_install_message:
|
183
187
|
rdoc_options: []
|
184
188
|
|
@@ -199,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
199
203
|
requirements: []
|
200
204
|
|
201
205
|
rubyforge_project: centostrano
|
202
|
-
rubygems_version: 1.
|
206
|
+
rubygems_version: 1.3.1
|
203
207
|
signing_key:
|
204
208
|
specification_version: 2
|
205
209
|
summary: CentOS deployment recipes for capistrano
|
@@ -1,55 +0,0 @@
|
|
1
|
-
#! /bin/sh
|
2
|
-
# aoe-init - example init script for ATA over Ethernet storage
|
3
|
-
#
|
4
|
-
# Edit this script for your purposes. (Changing "eth1" to the
|
5
|
-
# appropriate interface name, adding commands, etc.) You might
|
6
|
-
# need to tune the sleep times.
|
7
|
-
#
|
8
|
-
# Install this script in /etc/init.d with the other init scripts.
|
9
|
-
#
|
10
|
-
# Make it executable:
|
11
|
-
# chmod 755 /etc/init.d/aoe-init
|
12
|
-
#
|
13
|
-
# Install symlinks for boot time:
|
14
|
-
# cd /etc/rc3.d && ln -s ../init.d/aoe-init S99aoe-init
|
15
|
-
# cd /etc/rc5.d && ln -s ../init.d/aoe-init S99aoe-init
|
16
|
-
#
|
17
|
-
# Install symlinks for shutdown time:
|
18
|
-
# cd /etc/rc0.d && ln -s ../init.d/aoe-init K01aoe-init
|
19
|
-
# cd /etc/rc1.d && ln -s ../init.d/aoe-init K01aoe-init
|
20
|
-
# cd /etc/rc2.d && ln -s ../init.d/aoe-init K01aoe-init
|
21
|
-
# cd /etc/rc6.d && ln -s ../init.d/aoe-init K01aoe-init
|
22
|
-
#
|
23
|
-
|
24
|
-
case "$1" in
|
25
|
-
"start")
|
26
|
-
# load any needed network drivers here
|
27
|
-
|
28
|
-
# replace "eth1" with your aoe network interface
|
29
|
-
ifconfig eth1 up
|
30
|
-
|
31
|
-
# time for network interface to come up
|
32
|
-
sleep 4
|
33
|
-
|
34
|
-
modprobe aoe
|
35
|
-
|
36
|
-
# time for AoE discovery and udev
|
37
|
-
sleep 7
|
38
|
-
|
39
|
-
# add your raid assemble commands here
|
40
|
-
# add any LVM commands if needed (e.g. vgchange)
|
41
|
-
# add your filesystem mount commands here
|
42
|
-
|
43
|
-
test -d /var/lock/subsys && touch /var/lock/subsys/aoe-init
|
44
|
-
;;
|
45
|
-
"stop")
|
46
|
-
# add your filesystem umount commands here
|
47
|
-
# deactivate LVM volume groups if needed
|
48
|
-
# add your raid stop commands here
|
49
|
-
rmmod aoe
|
50
|
-
rm -f /var/lock/subsys/aoe-init
|
51
|
-
;;
|
52
|
-
*)
|
53
|
-
echo "usage: `basename $0` {start|stop}" 1>&2
|
54
|
-
;;
|
55
|
-
esac
|
@@ -1,14 +0,0 @@
|
|
1
|
-
/var/log/mongrel/<%= application %>/*.log {
|
2
|
-
daily
|
3
|
-
missingok
|
4
|
-
rotate 28
|
5
|
-
compress
|
6
|
-
notifempty
|
7
|
-
sharedscripts
|
8
|
-
extension gz
|
9
|
-
postrotate
|
10
|
-
for i in `ls /data/<%= @username %>/shared/log/*.pid`; do
|
11
|
-
kill -USR2 `cat $i`
|
12
|
-
done
|
13
|
-
endscript
|
14
|
-
}
|