centostrano 0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +215 -0
- data/COPYING +19 -0
- data/LICENSE +339 -0
- data/README +166 -0
- data/THANKS +5 -0
- data/bin/centify +137 -0
- data/docs/ANNOUNCE.deprec2 +47 -0
- data/docs/README.install +88 -0
- data/docs/README.nagios +28 -0
- data/docs/README.rails +20 -0
- data/docs/README.svn +31 -0
- data/docs/ROADMAP.txt +74 -0
- data/docs/deprec-1.x/deprec-1.x.quickstart +50 -0
- data/docs/deprec-1.x/notes.txt +12 -0
- data/docs/deprec_banner.gif +0 -0
- data/lib/centostrano.rb +9 -0
- data/lib/deprec/capistrano_extensions.rb +391 -0
- data/lib/deprec/centostrano.rb +46 -0
- data/lib/deprec/recipes/apache.rb +188 -0
- data/lib/deprec/recipes/canonical.rb +57 -0
- data/lib/deprec/recipes/deprec.rb +188 -0
- data/lib/deprec/recipes/deprecated.rb +71 -0
- data/lib/deprec/recipes/example.rb +115 -0
- data/lib/deprec/recipes/git.rb +106 -0
- data/lib/deprec/recipes/gitosis.rb +134 -0
- data/lib/deprec/recipes/logrotate.rb +54 -0
- data/lib/deprec/recipes/memcache.rb +53 -0
- data/lib/deprec/recipes/merb.rb +57 -0
- data/lib/deprec/recipes/mongrel.rb +220 -0
- data/lib/deprec/recipes/monit.rb +139 -0
- data/lib/deprec/recipes/mysql.rb +147 -0
- data/lib/deprec/recipes/nginx.rb +172 -0
- data/lib/deprec/recipes/postgresql.rb +132 -0
- data/lib/deprec/recipes/rails.rb +297 -0
- data/lib/deprec/recipes/ruby.rb +71 -0
- data/lib/deprec/recipes/sphinx.rb +89 -0
- data/lib/deprec/recipes/ssh.rb +93 -0
- data/lib/deprec/recipes/svn.rb +167 -0
- data/lib/deprec/recipes/users.rb +90 -0
- data/lib/deprec/recipes.rb +33 -0
- data/lib/deprec/templates/aoe/aoe-init +55 -0
- data/lib/deprec/templates/aoe/fence_aoemask +351 -0
- data/lib/deprec/templates/apache/httpd-vhost-app.conf.erb +144 -0
- data/lib/deprec/templates/apache/httpd.conf +465 -0
- data/lib/deprec/templates/apache/index.html.erb +37 -0
- data/lib/deprec/templates/apache/master.css +72 -0
- data/lib/deprec/templates/centos/repository.erb +6 -0
- data/lib/deprec/templates/coraid/aoe-init +55 -0
- data/lib/deprec/templates/deprec/caprc.erb +14 -0
- data/lib/deprec/templates/heartbeat/authkeys.erb +2 -0
- data/lib/deprec/templates/heartbeat/ha.cf.erb +15 -0
- data/lib/deprec/templates/heartbeat/haresources.erb +1 -0
- data/lib/deprec/templates/logrotate/logrotate.conf.erb +32 -0
- data/lib/deprec/templates/mongrel/logrotate.conf.erb +11 -0
- data/lib/deprec/templates/mongrel/logrotate.erb +0 -0
- data/lib/deprec/templates/mongrel/mongrel_cluster-init-script +54 -0
- data/lib/deprec/templates/mongrel/mongrel_cluster.logrotate.d +14 -0
- data/lib/deprec/templates/mongrel/mongrel_cluster.yml.erb +10 -0
- data/lib/deprec/templates/mongrel/monit.conf.erb +17 -0
- data/lib/deprec/templates/monit/monit-init-script +104 -0
- data/lib/deprec/templates/monit/monitrc.erb +227 -0
- data/lib/deprec/templates/monit/nothing +0 -0
- data/lib/deprec/templates/mysql/create_databases.sql +20 -0
- data/lib/deprec/templates/mysql/database.yml.prod +6 -0
- data/lib/deprec/templates/mysql/database.yml.stage +6 -0
- data/lib/deprec/templates/mysql/my.cnf.erb +140 -0
- data/lib/deprec/templates/mysql/sphinx.conf.prod +542 -0
- data/lib/deprec/templates/mysql/sphinx.conf.stage +542 -0
- data/lib/deprec/templates/nagios/cgi.cfg.erb +321 -0
- data/lib/deprec/templates/nagios/commands.cfg.erb +240 -0
- data/lib/deprec/templates/nagios/contacts.cfg.erb +57 -0
- data/lib/deprec/templates/nagios/hosts.cfg.erb +143 -0
- data/lib/deprec/templates/nagios/htpasswd.users +1 -0
- data/lib/deprec/templates/nagios/localhost.cfg.erb +157 -0
- data/lib/deprec/templates/nagios/nagios.cfg.erb +1274 -0
- data/lib/deprec/templates/nagios/nagios_apache_vhost.conf.erb +45 -0
- data/lib/deprec/templates/nagios/nrpe.cfg.erb +210 -0
- data/lib/deprec/templates/nagios/nrpe.xinetd.erb +16 -0
- data/lib/deprec/templates/nagios/resource.cfg.erb +34 -0
- data/lib/deprec/templates/nagios/services.cfg.erb +79 -0
- data/lib/deprec/templates/nagios/templates.cfg.erb +9 -0
- data/lib/deprec/templates/nagios/timeperiods.cfg.erb +94 -0
- data/lib/deprec/templates/network/hostname.erb +1 -0
- data/lib/deprec/templates/network/hosts.erb +2 -0
- data/lib/deprec/templates/network/interfaces.erb +22 -0
- data/lib/deprec/templates/nginx/logrotate.conf.erb +13 -0
- data/lib/deprec/templates/nginx/logrotate.erb +0 -0
- data/lib/deprec/templates/nginx/mime.types.erb +70 -0
- data/lib/deprec/templates/nginx/nginx-init-script +109 -0
- data/lib/deprec/templates/nginx/nginx.conf.erb +120 -0
- data/lib/deprec/templates/nginx/nginx.logrotate.d +12 -0
- data/lib/deprec/templates/nginx/nothing.conf +1 -0
- data/lib/deprec/templates/nginx/rails_nginx_vhost.conf.erb +41 -0
- data/lib/deprec/templates/ntp/ntp.conf.erb +42 -0
- data/lib/deprec/templates/postfix/aliases.erb +3 -0
- data/lib/deprec/templates/postfix/dynamicmaps.cf.erb +8 -0
- data/lib/deprec/templates/postfix/main.cf.erb +41 -0
- data/lib/deprec/templates/postfix/master.cf.erb +77 -0
- data/lib/deprec/templates/postgresql/pg_hba.conf.erb +76 -0
- data/lib/deprec/templates/sphinx/monit.conf.erb +5 -0
- data/lib/deprec/templates/ssh/ssh_config.erb +50 -0
- data/lib/deprec/templates/ssh/sshd_config.erb +78 -0
- data/lib/deprec/templates/subversion/svn.apache.vhost.erb +43 -0
- data/lib/deprec/templates/trac/apache_vhost.conf.erb +24 -0
- data/lib/deprec/templates/trac/trac.ini.erb +106 -0
- data/lib/deprec/templates/trac/trac_deprec.png +0 -0
- data/lib/deprec/templates/trac/tracd-init.erb +43 -0
- data/lib/deprec/templates/xen/15-disable-hwclock +40 -0
- data/lib/deprec/templates/xen/network-bridge-wrapper +3 -0
- data/lib/deprec/templates/xen/xen-tools.conf.erb +220 -0
- data/lib/deprec/templates/xen/xend-config.sxp.erb +195 -0
- data/lib/deprec/templates/xen/xend-init.erb +69 -0
- data/lib/deprec/templates/xen/xendomains.erb +137 -0
- data/lib/deprec/templates/xen/xm.tmpl.erb +85 -0
- data/lib/deprec_cmd_completion.sh +26 -0
- data/lib/vmbuilder_plugins/all.rb +20 -0
- data/lib/vmbuilder_plugins/apt.rb +93 -0
- data/lib/vmbuilder_plugins/emerge.rb +76 -0
- data/lib/vmbuilder_plugins/gem.rb +90 -0
- data/lib/vmbuilder_plugins/std.rb +203 -0
- metadata +207 -0
@@ -0,0 +1,90 @@
|
|
1
|
+
# =gem.rb: Gem Installer library
|
2
|
+
# Capistrano library to install and manage Ruby Gems.
|
3
|
+
#
|
4
|
+
# ----
|
5
|
+
# Copyright (c) 2007 Neil Wilson, Aldur Systems Ltd
|
6
|
+
#
|
7
|
+
# Licensed under the GNU Public License v2. No warranty is provided.
|
8
|
+
|
9
|
+
require 'capistrano'
|
10
|
+
|
11
|
+
# = Purpose
|
12
|
+
# Gem is a Capistrano plugin module providing a set of methods
|
13
|
+
# that invoke the *gem* package manager.
|
14
|
+
#
|
15
|
+
# Installs within Capistrano as the plugin _gem_.
|
16
|
+
#
|
17
|
+
# =Usage
|
18
|
+
#
|
19
|
+
# require 'vmbuilder_plugins/gem'
|
20
|
+
#
|
21
|
+
# Prefix all calls to the library with <tt>gem.</tt>
|
22
|
+
#
|
23
|
+
module Gem
|
24
|
+
|
25
|
+
# Default install command
|
26
|
+
#
|
27
|
+
# * doesn't install documentation
|
28
|
+
# * installs all required dependencies automatically.
|
29
|
+
#
|
30
|
+
GEM_INSTALL="gem install --no-rdoc --no-ri"
|
31
|
+
GEM_UPDATE=GEM_INSTALL.sub("install", "update")
|
32
|
+
|
33
|
+
# Upgrade the *gem* system to the latest version. Runs via *sudo*
|
34
|
+
def update_system
|
35
|
+
send(run_method, "#{GEM_UPDATE} --system")
|
36
|
+
end
|
37
|
+
|
38
|
+
# Updates all the installed gems to the latest version. Runs via *sudo*.
|
39
|
+
# Don't use this command if any of the gems require a version selection.
|
40
|
+
def upgrade
|
41
|
+
send(run_method, GEM_UPDATE)
|
42
|
+
end
|
43
|
+
|
44
|
+
# Removes old versions of gems from installation area.
|
45
|
+
def cleanup
|
46
|
+
send(run_method, "gem cleanup")
|
47
|
+
end
|
48
|
+
|
49
|
+
# Installs the gems detailed in +packages+, selecting version +version+ if
|
50
|
+
# specified.
|
51
|
+
#
|
52
|
+
# +packages+ can be a single string or an array of strings.
|
53
|
+
#
|
54
|
+
def install(packages, version=nil)
|
55
|
+
send(run_method,"#{GEM_INSTALL} #{if version then '-v '+version.to_s end} #{packages.to_a.join(' ')}")
|
56
|
+
end
|
57
|
+
|
58
|
+
# Auto selects a gem from a list and installs it.
|
59
|
+
#
|
60
|
+
# *gem* has no mechanism on the command line of disambiguating builds for
|
61
|
+
# different platforms, and instead asks the user. This method has the necessary
|
62
|
+
# conversation to select the +version+ relevant to +platform+ (or the one nearest
|
63
|
+
# the top of the list if you don't specify +version+).
|
64
|
+
def select(package, version=nil, platform='ruby')
|
65
|
+
selections={}
|
66
|
+
cmd="#{GEM_INSTALL} #{if version then '-v '+version.to_s end} #{package}"
|
67
|
+
send run_method, cmd do |channel, stream, data|
|
68
|
+
data.each_line do | line |
|
69
|
+
case line
|
70
|
+
when /\s(\d+).*\(#{platform}\)/
|
71
|
+
if selections[channel[:host]].nil?
|
72
|
+
selections[channel[:host]]=$1.dup+"\n"
|
73
|
+
logger.info "Selecting #$&", "#{stream} :: #{channel[:host]}"
|
74
|
+
end
|
75
|
+
when /\s\d+\./
|
76
|
+
# Discard other selections from data stream
|
77
|
+
when /^>/
|
78
|
+
channel.send_data selections[channel[:host]]
|
79
|
+
logger.debug line, "#{stream} :: #{channel[:host]}"
|
80
|
+
else
|
81
|
+
logger.info line, "#{stream} :: #{channel[:host]}"
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
end
|
88
|
+
|
89
|
+
Capistrano.plugin :gem2, Gem
|
90
|
+
# vim: nowrap sw=2 sts=2 ts=8 ff=unix ft=ruby:
|
@@ -0,0 +1,203 @@
|
|
1
|
+
# =std.rb: Capistrano Standard Methods
|
2
|
+
# Standard library of procedures and functions that you can use with Capistrano.
|
3
|
+
#
|
4
|
+
# ----
|
5
|
+
# Copyright (c) 2007 Neil Wilson, Aldur Systems Ltd
|
6
|
+
#
|
7
|
+
# Licensed under the GNU Public License v2. No warranty is provided.
|
8
|
+
|
9
|
+
require 'capistrano'
|
10
|
+
|
11
|
+
# = Purpose
|
12
|
+
# Std is a Capistrano plugin that provides a set of standard methods refactored
|
13
|
+
# out of several Capistrano task libraries.
|
14
|
+
#
|
15
|
+
# Installs within Capistrano as the plugin _std_
|
16
|
+
#
|
17
|
+
# = Usage
|
18
|
+
#
|
19
|
+
# require 'vmbuilder_plugins/std'
|
20
|
+
#
|
21
|
+
# Prefix all calls to the library with <tt>std.</tt>
|
22
|
+
module Std
|
23
|
+
|
24
|
+
begin
|
25
|
+
# Use the Mmap class if it is available
|
26
|
+
# http://moulon.inra.fr/ruby/mmap.html
|
27
|
+
require 'mmap'
|
28
|
+
MMAP=true #:nodoc:
|
29
|
+
rescue LoadError
|
30
|
+
# no MMAP class, use normal reads instead
|
31
|
+
MMAP=false #:nodoc:
|
32
|
+
end
|
33
|
+
|
34
|
+
# Copies the files specified by +file_pattern+ to +destination+
|
35
|
+
#
|
36
|
+
# Error checking is minimal - a pattern onto a single file will result in +destination+
|
37
|
+
# containing the data from the last file only.
|
38
|
+
#
|
39
|
+
# Installs via *sudo*, +options+ are as for *put*.
|
40
|
+
def fput(file_pattern, destination, options={})
|
41
|
+
logger.info file_pattern
|
42
|
+
Dir.glob(file_pattern) do |fname|
|
43
|
+
if File.readable?(fname) then
|
44
|
+
if MMAP
|
45
|
+
logger.debug "Using Memory Mapped File Upload"
|
46
|
+
fdata=Mmap.new(fname,"r", Mmap::MAP_SHARED, :advice => Mmap::MADV_SEQUENTIAL)
|
47
|
+
else
|
48
|
+
fdata=File.open(fname).read
|
49
|
+
end
|
50
|
+
su_put(fdata, destination, File.join('/tmp',File.basename(fname)), options)
|
51
|
+
else
|
52
|
+
logger.error "Unable to read file #{fname}"
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
# Upload +data+ to +temporary_area+ before installing it in
|
58
|
+
# +destination+ using sudo.
|
59
|
+
#
|
60
|
+
# +options+ are as for *put*
|
61
|
+
#
|
62
|
+
def su_put(data, destination, temporary_area='/tmp', options={})
|
63
|
+
temporary_area = File.join(temporary_area,"#{File.basename(destination)}-$CAPISTRANO:HOST$")
|
64
|
+
put(data, temporary_area, options)
|
65
|
+
send run_method, <<-CMD
|
66
|
+
sh -c "install -m#{sprintf("%3o",options[:mode]||0755)} #{temporary_area} #{destination} &&
|
67
|
+
rm -f #{temporary_area}"
|
68
|
+
CMD
|
69
|
+
end
|
70
|
+
|
71
|
+
# Copies the +file_pattern+, which is assumed to be a tar
|
72
|
+
# file of some description (gzipped or plain), and unpacks it into
|
73
|
+
# +destination+.
|
74
|
+
def unzip(file_pattern, destination, options={})
|
75
|
+
Dir.glob(file_pattern) do |fname|
|
76
|
+
if File.readable?(fname) then
|
77
|
+
target="/tmp/#{File.basename(fname)}"
|
78
|
+
if MMAP
|
79
|
+
logger.debug "Using Memory Mapped File Upload"
|
80
|
+
fdata=Mmap.new(fname,"r", Mmap::MAP_SHARED, :advice => Mmap::MADV_SEQUENTIAL)
|
81
|
+
else
|
82
|
+
fdata=File.open(fname).read
|
83
|
+
end
|
84
|
+
put(fdata, target, options)
|
85
|
+
send run_method, <<-CMD
|
86
|
+
sh -c "cd #{destination} &&
|
87
|
+
zcat -f #{target} | tar xvf - &&
|
88
|
+
rm -f #{target}"
|
89
|
+
CMD
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
# Wrap this around your task calls to catch the no servers error and
|
95
|
+
# ignore it
|
96
|
+
#
|
97
|
+
# std.ignore_no_servers_error do
|
98
|
+
# activate_mysql
|
99
|
+
# end
|
100
|
+
#
|
101
|
+
def ignore_no_servers_error (&block)
|
102
|
+
begin
|
103
|
+
yield
|
104
|
+
rescue RuntimeError => failure
|
105
|
+
if failure.message =~ /no servers matched/
|
106
|
+
logger.debug "Ignoring 'no servers matched' error in task #{current_task.name}"
|
107
|
+
else
|
108
|
+
raise
|
109
|
+
end
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
# Wrap this around your task to force a connection as root.
|
114
|
+
# Flushes the session cache before and after the connection.
|
115
|
+
#
|
116
|
+
# std.connect_as_root do
|
117
|
+
# install_sudo
|
118
|
+
# end
|
119
|
+
#
|
120
|
+
def connect_as_root (&block)
|
121
|
+
begin
|
122
|
+
tempuser = user
|
123
|
+
set :user, "root"
|
124
|
+
actor.sessions.delete_if { true }
|
125
|
+
yield tempuser
|
126
|
+
ensure
|
127
|
+
set :user, tempuser if tempuser
|
128
|
+
actor.sessions.delete_if { true }
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
#Returns a random string of alphanumeric characters of size +size+
|
133
|
+
#Useful for passwords, usernames and the like.
|
134
|
+
def random_string(size=10)
|
135
|
+
s = ""
|
136
|
+
size.times { s << (i = rand(62); i += ((i < 10) ? 48 : ((i < 36) ? 55 : 61 ))).chr }
|
137
|
+
s
|
138
|
+
end
|
139
|
+
|
140
|
+
|
141
|
+
# Return a relative path from the destination directory +from_str+
|
142
|
+
# to the target file/directory +to_str+. Used to create relative
|
143
|
+
# symbolic link paths.
|
144
|
+
def relative_path (from_str, to_str)
|
145
|
+
require 'pathname'
|
146
|
+
Pathname.new(to_str).relative_path_from(Pathname.new(from_str)).to_s
|
147
|
+
end
|
148
|
+
|
149
|
+
# Run a ruby command file on the servers
|
150
|
+
#
|
151
|
+
def ruby(cmd, options={}, &block)
|
152
|
+
temp_name = random_string + ".rb"
|
153
|
+
begin
|
154
|
+
put(cmd, temp_name, :mode => 0700)
|
155
|
+
send(run_method, "ruby #{temp_name}", options, &block)
|
156
|
+
ensure
|
157
|
+
delete temp_name
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
161
|
+
# Run a patchfile on the servers
|
162
|
+
# Ignores reverses and rejects.
|
163
|
+
#
|
164
|
+
def patch(patchfile, level = '0', where = '/')
|
165
|
+
temp_name = random_string
|
166
|
+
begin
|
167
|
+
fput(patchfile, temp_name, :mode => 0600)
|
168
|
+
send(run_method, %{
|
169
|
+
patch -p#{level} -tNd #{where} -r /dev/null < #{temp_name} || true
|
170
|
+
})
|
171
|
+
ensure
|
172
|
+
delete temp_name
|
173
|
+
end
|
174
|
+
end
|
175
|
+
|
176
|
+
# Deletes the given file(s) from all servers targetted by the current
|
177
|
+
# task, but runs the +delete+ command according to the current setting
|
178
|
+
# of <tt>:use_sudo</tt>.
|
179
|
+
#
|
180
|
+
# If <tt>:recursive => true</tt> is specified, it may be used to remove
|
181
|
+
# directories.
|
182
|
+
def su_delete(path, options={})
|
183
|
+
cmd = "rm -%sf #{path}" % (options[:recursive] ? "r" : "")
|
184
|
+
send(run_method, cmd, options)
|
185
|
+
end
|
186
|
+
|
187
|
+
# Render a template file and upload it to the servers
|
188
|
+
#
|
189
|
+
def put_template(template, destination, options={})
|
190
|
+
if MMAP
|
191
|
+
logger.debug "Using Memory Mapped File Upload"
|
192
|
+
fdata=Mmap.new(template,"r", Mmap::MAP_SHARED, :advice => Mmap::MADV_SEQUENTIAL)
|
193
|
+
else
|
194
|
+
fdata=File.read(template)
|
195
|
+
end
|
196
|
+
put(render(:template => fdata), destination, options)
|
197
|
+
end
|
198
|
+
|
199
|
+
end
|
200
|
+
|
201
|
+
Capistrano.plugin :std, Std
|
202
|
+
#
|
203
|
+
# vim: nowrap sw=2 sts=2 ts=8 ff=unix ft=ruby:
|
metadata
ADDED
@@ -0,0 +1,207 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: centostrano
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: "0.1"
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Saulius Grigaitis
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-07-15 00:00:00 +03:00
|
13
|
+
default_executable: centify
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: capistrano
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 2.0.0
|
24
|
+
version:
|
25
|
+
description: This project is port of deprec2 for CentOS. Centostrano provides libraries of Capistrano tasks and extensions to remove the repetative manual work associated with installing services on linux servers.
|
26
|
+
email: saulius.grigaitis@mif.vu.lt
|
27
|
+
executables:
|
28
|
+
- centify
|
29
|
+
extensions: []
|
30
|
+
|
31
|
+
extra_rdoc_files: []
|
32
|
+
|
33
|
+
files:
|
34
|
+
- bin/centify
|
35
|
+
- docs/deprec-1.x
|
36
|
+
- docs/deprec-1.x/deprec-1.x.quickstart
|
37
|
+
- docs/deprec-1.x/notes.txt
|
38
|
+
- docs/README.install
|
39
|
+
- docs/README.nagios
|
40
|
+
- docs/README.rails
|
41
|
+
- docs/README.svn
|
42
|
+
- docs/ROADMAP.txt
|
43
|
+
- docs/ANNOUNCE.deprec2
|
44
|
+
- docs/deprec_banner.gif
|
45
|
+
- lib/deprec
|
46
|
+
- lib/deprec/recipes
|
47
|
+
- lib/deprec/recipes/postgresql.rb
|
48
|
+
- lib/deprec/recipes/canonical.rb
|
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
|
68
|
+
- lib/deprec/templates
|
69
|
+
- lib/deprec/templates/network
|
70
|
+
- lib/deprec/templates/network/hostname.erb
|
71
|
+
- lib/deprec/templates/network/hosts.erb
|
72
|
+
- 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
|
+
- lib/deprec/templates/monit
|
94
|
+
- lib/deprec/templates/monit/monit-init-script
|
95
|
+
- lib/deprec/templates/monit/monitrc.erb
|
96
|
+
- lib/deprec/templates/monit/nothing
|
97
|
+
- lib/deprec/templates/mysql
|
98
|
+
- lib/deprec/templates/mysql/create_databases.sql
|
99
|
+
- lib/deprec/templates/mysql/database.yml.prod
|
100
|
+
- lib/deprec/templates/mysql/database.yml.stage
|
101
|
+
- lib/deprec/templates/mysql/my.cnf.erb
|
102
|
+
- lib/deprec/templates/mysql/sphinx.conf.prod
|
103
|
+
- lib/deprec/templates/mysql/sphinx.conf.stage
|
104
|
+
- lib/deprec/templates/nagios
|
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
|
138
|
+
- lib/deprec/templates/ssh
|
139
|
+
- lib/deprec/templates/ssh/ssh_config.erb
|
140
|
+
- lib/deprec/templates/ssh/sshd_config.erb
|
141
|
+
- lib/deprec/templates/subversion
|
142
|
+
- lib/deprec/templates/subversion/svn.apache.vhost.erb
|
143
|
+
- lib/deprec/templates/trac
|
144
|
+
- lib/deprec/templates/trac/apache_vhost.conf.erb
|
145
|
+
- lib/deprec/templates/trac/trac.ini.erb
|
146
|
+
- lib/deprec/templates/trac/trac_deprec.png
|
147
|
+
- lib/deprec/templates/trac/tracd-init.erb
|
148
|
+
- lib/deprec/templates/xen
|
149
|
+
- lib/deprec/templates/xen/xend-config.sxp.erb
|
150
|
+
- lib/deprec/templates/xen/network-bridge-wrapper
|
151
|
+
- lib/deprec/templates/xen/xen-tools.conf.erb
|
152
|
+
- lib/deprec/templates/xen/15-disable-hwclock
|
153
|
+
- lib/deprec/templates/xen/xend-init.erb
|
154
|
+
- lib/deprec/templates/xen/xendomains.erb
|
155
|
+
- lib/deprec/templates/xen/xm.tmpl.erb
|
156
|
+
- lib/deprec/templates/centos
|
157
|
+
- lib/deprec/templates/centos/repository.erb
|
158
|
+
- lib/deprec/templates/postgresql
|
159
|
+
- lib/deprec/templates/postgresql/pg_hba.conf.erb
|
160
|
+
- lib/deprec/templates/logrotate
|
161
|
+
- lib/deprec/templates/logrotate/logrotate.conf.erb
|
162
|
+
- lib/deprec/templates/sphinx
|
163
|
+
- lib/deprec/templates/sphinx/monit.conf.erb
|
164
|
+
- lib/deprec/capistrano_extensions.rb
|
165
|
+
- lib/deprec/recipes.rb
|
166
|
+
- lib/deprec/centostrano.rb
|
167
|
+
- lib/vmbuilder_plugins
|
168
|
+
- lib/vmbuilder_plugins/all.rb
|
169
|
+
- lib/vmbuilder_plugins/apt.rb
|
170
|
+
- lib/vmbuilder_plugins/emerge.rb
|
171
|
+
- lib/vmbuilder_plugins/gem.rb
|
172
|
+
- lib/vmbuilder_plugins/std.rb
|
173
|
+
- lib/centostrano.rb
|
174
|
+
- lib/deprec_cmd_completion.sh
|
175
|
+
- CHANGELOG
|
176
|
+
- COPYING
|
177
|
+
- LICENSE
|
178
|
+
- README
|
179
|
+
- THANKS
|
180
|
+
has_rdoc: false
|
181
|
+
homepage: http://www.rubyonrails.lt/centostrano
|
182
|
+
post_install_message:
|
183
|
+
rdoc_options: []
|
184
|
+
|
185
|
+
require_paths:
|
186
|
+
- lib
|
187
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
188
|
+
requirements:
|
189
|
+
- - ">="
|
190
|
+
- !ruby/object:Gem::Version
|
191
|
+
version: "0"
|
192
|
+
version:
|
193
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
194
|
+
requirements:
|
195
|
+
- - ">="
|
196
|
+
- !ruby/object:Gem::Version
|
197
|
+
version: "0"
|
198
|
+
version:
|
199
|
+
requirements: []
|
200
|
+
|
201
|
+
rubyforge_project: centostrano
|
202
|
+
rubygems_version: 1.2.0
|
203
|
+
signing_key:
|
204
|
+
specification_version: 2
|
205
|
+
summary: CentOS deployment recipes for capistrano
|
206
|
+
test_files: []
|
207
|
+
|