deprec 2.1.5 → 2.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +14 -0
- data/bin/depify +5 -0
- data/lib/deprec/recipes/app/passenger.rb +10 -54
- data/lib/deprec/recipes/deprec.rb +3 -3
- data/lib/deprec/recipes/haproxy.rb +11 -2
- data/lib/deprec/recipes/monit.rb +4 -4
- data/lib/deprec/recipes/nagios.rb +5 -4
- data/lib/deprec/recipes/ruby/ree.rb +7 -16
- data/lib/deprec/recipes/web/apache.rb +5 -5
- data/lib/deprec/templates/haproxy/haproxy.cfg.erb +4 -15
- data/lib/deprec/templates/monit/monitrc.erb +60 -37
- data/lib/deprec/templates/monit/{nothing → nothing.monitrc} +0 -0
- metadata +172 -138
data/CHANGELOG
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# deprec changelog
|
2
2
|
|
3
|
+
= 2.1.8 (Aug 26, 2010)
|
4
|
+
|
5
|
+
* nagios-3.2.1
|
6
|
+
* nagios-plugins-1.4.15
|
7
|
+
|
8
|
+
= 2.1.7 (July 4, 2010)
|
9
|
+
|
10
|
+
* ruby-enterprise-1.8.7-2010.02 [jgrevich]
|
11
|
+
|
12
|
+
= 2.1.6 (Mar 3, 2009)
|
13
|
+
|
14
|
+
* monit-5.1.1
|
15
|
+
* haproxy-1.4.0
|
16
|
+
|
3
17
|
= 2.1.5 (Dec 3, 2009)
|
4
18
|
|
5
19
|
* collectd-4.8.1
|
data/bin/depify
CHANGED
@@ -26,6 +26,11 @@ caprc = unindent(<<-FILE)
|
|
26
26
|
#
|
27
27
|
require 'deprec_minus_rails'
|
28
28
|
|
29
|
+
# This fixes the following problem on Ubuntu Lucid (and others?)
|
30
|
+
# 'sudo: no tty present and no askpass program specified'
|
31
|
+
#
|
32
|
+
default_run_options[:pty] = true
|
33
|
+
|
29
34
|
FILE
|
30
35
|
|
31
36
|
files = {
|
@@ -2,19 +2,13 @@
|
|
2
2
|
Capistrano::Configuration.instance(:must_exist).load do
|
3
3
|
namespace :deprec do
|
4
4
|
namespace :passenger do
|
5
|
-
|
6
|
-
set
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
else
|
11
|
-
'/opt/passenger'
|
12
|
-
end
|
13
|
-
}
|
14
|
-
|
5
|
+
|
6
|
+
set :passenger_version, '2.2.13'
|
7
|
+
set :passenger_install_dir, "/usr/local/lib/ruby/gems/1.8/gems/passenger-#{passenger_version}"
|
8
|
+
|
9
|
+
# Default settings for Passenger config files
|
15
10
|
set(:passenger_document_root) { "#{current_path}/public" }
|
16
11
|
set :passenger_rails_allow_mod_rewrite, 'off'
|
17
|
-
# Default settings for Passenger config files
|
18
12
|
set :passenger_log_level, 0
|
19
13
|
set(:passenger_log_dir) { "#{shared_path}/log"}
|
20
14
|
set :passenger_user_switching, 'on'
|
@@ -25,56 +19,18 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
25
19
|
set :passenger_rails_autodetect, 'on'
|
26
20
|
set :passenger_rails_spawn_method, 'smart' # smart | conservative
|
27
21
|
|
28
|
-
SRC_PACKAGES[:passenger] = {
|
29
|
-
:url => "git://github.com/FooBarWidget/passenger.git",
|
30
|
-
:download_method => :git,
|
31
|
-
:version => 'release-2.2.2', # Specify a tagged release to deploy
|
32
|
-
:configure => '',
|
33
|
-
:make => '',
|
34
|
-
:install => './bin/passenger-install-apache2-module'
|
35
|
-
}
|
36
|
-
|
37
22
|
desc "Install passenger"
|
38
23
|
task :install, :roles => :app do
|
39
24
|
install_deps
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
run "yes | #{sudo} env PATH=#{ree_install_dir}/bin:$PATH #{ree_install_dir}/bin/passenger-install-apache2-module"
|
45
|
-
else
|
46
|
-
# Non standard - passenger requires input
|
47
|
-
package_dir = File.join(src_dir, 'passenger.git')
|
48
|
-
dest_dir = passenger_install_dir + '-' + (SRC_PACKAGES[:passenger][:version] || 'trunk')
|
49
|
-
run "#{sudo} rsync -avz #{package_dir}/ #{dest_dir}"
|
50
|
-
run "cd #{dest_dir} && yes '' | #{sudo} ./bin/passenger-install-apache2-module"
|
51
|
-
run "#{sudo} unlink #{passenger_install_dir} 2>/dev/null; #{sudo} ln -sf #{dest_dir} #{passenger_install_dir}"
|
52
|
-
end
|
53
|
-
|
54
|
-
initial_config_push
|
55
|
-
activate_system
|
56
|
-
|
25
|
+
gem2.install 'passenger', passenger_version
|
26
|
+
sudo "passenger-install-apache2-module _#{passenger_version}_ -a"
|
27
|
+
config_system
|
28
|
+
activate_system
|
57
29
|
end
|
58
30
|
|
59
|
-
task :initial_config_push, :roles => :web do
|
60
|
-
# XXX Non-standard!
|
61
|
-
# We need to push out the .load and .conf files for Passenger
|
62
|
-
SYSTEM_CONFIG_FILES[:passenger].each do |file|
|
63
|
-
deprec2.render_template(:passenger, file.merge(:remote => true))
|
64
|
-
end
|
65
|
-
end
|
66
|
-
|
67
31
|
# Install dependencies for Passenger
|
68
32
|
task :install_deps, :roles => :app do
|
69
33
|
apt.install( {:base => %w(apache2-mpm-prefork apache2-prefork-dev rsync)}, :stable )
|
70
|
-
gem2.install 'fastthread'
|
71
|
-
gem2.install 'rack'
|
72
|
-
gem2.install 'rake'
|
73
|
-
# These are more Rails than Passenger - Mike
|
74
|
-
# gem2.install 'rails'
|
75
|
-
# gem2.install "mysql -- --with-mysql-config='/usr/bin/mysql_config'"
|
76
|
-
# gem2.install 'sqlite3-ruby'
|
77
|
-
# gem2.install 'postgres'
|
78
34
|
end
|
79
35
|
|
80
36
|
SYSTEM_CONFIG_FILES[:passenger] = [
|
@@ -151,7 +107,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
151
107
|
|
152
108
|
# Passenger runs Rails as the owner of this file.
|
153
109
|
task :set_owner_of_environment_rb, :roles => :app do
|
154
|
-
sudo "chown
|
110
|
+
sudo "chown #{app_user} #{current_path}/config/environment.rb"
|
155
111
|
end
|
156
112
|
|
157
113
|
task :symlink_apache_vhost, :roles => :app do
|
@@ -35,9 +35,9 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
35
35
|
#
|
36
36
|
# The defaults below are legacy values to support older deployments.
|
37
37
|
# Newly generated deploy.rb files have use apache, passenger and ree
|
38
|
-
default :ruby_vm_type, :
|
39
|
-
default :web_server_type, :
|
40
|
-
default :app_server_type, :
|
38
|
+
default :ruby_vm_type, :ree
|
39
|
+
default :web_server_type, :apache
|
40
|
+
default :app_server_type, :passenger
|
41
41
|
default :db_server_type, :mysql
|
42
42
|
#
|
43
43
|
# default(:web_server_type) do
|
@@ -4,8 +4,11 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
4
4
|
namespace :haproxy do
|
5
5
|
|
6
6
|
SRC_PACKAGES[:haproxy] = {
|
7
|
-
:md5sum => "
|
8
|
-
:url => "http://haproxy.1wt.eu/download/1.
|
7
|
+
:md5sum => "0d6019b79631048765a7dfd55f1875cd haproxy-1.4.0.tar.gz",
|
8
|
+
:url => "http://haproxy.1wt.eu/download/1.4/src/haproxy-1.4.0.tar.gz",
|
9
|
+
:configure => '',
|
10
|
+
:make => "TARGET=linux26"
|
11
|
+
|
9
12
|
}
|
10
13
|
|
11
14
|
desc "Install haproxy"
|
@@ -15,6 +18,12 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
15
18
|
deprec2.install_from_src(SRC_PACKAGES[:haproxy], src_dir)
|
16
19
|
config
|
17
20
|
activate
|
21
|
+
create_check_file
|
22
|
+
end
|
23
|
+
|
24
|
+
# default config expects this file in web root
|
25
|
+
task :create_check_file, :roles => :haproxy do
|
26
|
+
sudo "test -d /var/www && #{sudo} touch /var/www/check.txt"
|
18
27
|
end
|
19
28
|
|
20
29
|
task :install_deps, :roles => :haproxy do
|
data/lib/deprec/recipes/monit.rb
CHANGED
@@ -30,8 +30,8 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
30
30
|
# Upstream changes: http://www.tildeslash.com/monit/dist/CHANGES.txt
|
31
31
|
# Ubuntu package version = monit-4.8.1
|
32
32
|
SRC_PACKAGES[:monit] = {
|
33
|
-
:md5sum => "
|
34
|
-
:url => "http://mmonit.com/monit/dist/monit-5.
|
33
|
+
:md5sum => "4bbd3845ae1cbab13ec211824e0486dc monit-5.1.1.tar.gz",
|
34
|
+
:url => "http://mmonit.com/monit/dist/monit-5.1.1.tar.gz"
|
35
35
|
}
|
36
36
|
|
37
37
|
desc "Install monit"
|
@@ -63,8 +63,8 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
63
63
|
:mode => 0700,
|
64
64
|
:owner => 'root:root'},
|
65
65
|
|
66
|
-
{:template => 'nothing',
|
67
|
-
:path => "/etc/monit.d/nothing",
|
66
|
+
{:template => 'nothing.monitrc',
|
67
|
+
:path => "/etc/monit.d/nothing.monitrc",
|
68
68
|
:mode => 0700,
|
69
69
|
:owner => 'root:root'}
|
70
70
|
]
|
@@ -13,8 +13,8 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
13
13
|
# default :application, 'nagios'
|
14
14
|
|
15
15
|
SRC_PACKAGES[:nagios] = {
|
16
|
-
:url => "http://prdownloads.sourceforge.net/sourceforge/nagios/nagios-3.2.
|
17
|
-
:md5sum => "
|
16
|
+
:url => "http://prdownloads.sourceforge.net/sourceforge/nagios/nagios-3.2.1.tar.gz",
|
17
|
+
:md5sum => "d4655ee8c95c9679fd4fd53dac34bbe3 nagios-3.2.1.tar.gz",
|
18
18
|
:configure => "./configure --with-command-group=nagcmd;",
|
19
19
|
:make => 'make all;',
|
20
20
|
:install => 'make install install-init install-commandmode install-webconf;'
|
@@ -198,8 +198,8 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
198
198
|
end
|
199
199
|
|
200
200
|
SRC_PACKAGES[:nagios_plugins] = {
|
201
|
-
:url => "http://prdownloads.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.
|
202
|
-
:md5sum => "
|
201
|
+
:url => "http://prdownloads.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.15.tar.gz",
|
202
|
+
:md5sum => "56abd6ade8aa860b38c4ca4a6ac5ab0d nagios-plugins-1.4.15.tar.gz",
|
203
203
|
:configure => "./configure --with-nagios-user=#{nagios_user} --with-nagios-group=#{nagios_group};",
|
204
204
|
}
|
205
205
|
|
@@ -254,6 +254,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
254
254
|
# XXX currently it's run on the nagios server too
|
255
255
|
# XXX shouldn't do any harm but we should split them up later
|
256
256
|
deprec2.append_to_file_if_missing('/etc/services', 'nrpe 5666/tcp # NRPE')
|
257
|
+
config
|
257
258
|
end
|
258
259
|
|
259
260
|
task :install_deps do
|
@@ -2,38 +2,29 @@
|
|
2
2
|
Capistrano::Configuration.instance(:must_exist).load do
|
3
3
|
namespace :deprec do
|
4
4
|
namespace :ree do
|
5
|
-
|
6
|
-
set :
|
7
|
-
set :
|
5
|
+
|
6
|
+
set :ree_version, 'ruby-enterprise-1.8.7-2010.02'
|
7
|
+
set :ree_install_dir, "/usr/local"
|
8
8
|
|
9
9
|
SRC_PACKAGES[:ree] = {
|
10
|
-
:md5sum => "
|
11
|
-
:url => "http://rubyforge.org/frs/download.php/
|
10
|
+
:md5sum => "4df7b09c01adfd711b0ab76837611542 #{ree_version}.tar.gz",
|
11
|
+
:url => "http://rubyforge.org/frs/download.php/71096/#{ree_version}.tar.gz",
|
12
12
|
:configure => '',
|
13
13
|
:make => '',
|
14
|
-
:install => "./installer --auto
|
14
|
+
:install => "./installer --auto #{ree_install_dir}"
|
15
15
|
}
|
16
16
|
|
17
17
|
task :install do
|
18
18
|
install_deps
|
19
19
|
deprec2.download_src(SRC_PACKAGES[:ree], src_dir)
|
20
20
|
deprec2.install_from_src(SRC_PACKAGES[:ree], src_dir)
|
21
|
-
|
21
|
+
gem2.update_system # Install latest rubygems
|
22
22
|
end
|
23
23
|
|
24
24
|
task :install_deps do
|
25
25
|
apt.install({:base => %w(libssl-dev libmysqlclient15-dev libreadline5-dev)}, :stable)
|
26
26
|
end
|
27
27
|
|
28
|
-
task :symlink_ree do
|
29
|
-
sudo "ln -sf /opt/#{ree_version} #{ree_short_path}"
|
30
|
-
sudo "ln -fs #{ree_short_path}/bin/gem /usr/local/bin/gem"
|
31
|
-
sudo "ln -fs #{ree_short_path}/bin/irb /usr/local/bin/irb"
|
32
|
-
sudo "ln -fs #{ree_short_path}/bin/rake /usr/local/bin/rake"
|
33
|
-
sudo "ln -fs #{ree_short_path}/bin/rails /usr/local/bin/rails"
|
34
|
-
sudo "ln -fs #{ree_short_path}/bin/ruby /usr/local/bin/ruby"
|
35
|
-
end
|
36
|
-
|
37
28
|
end
|
38
29
|
|
39
30
|
end
|
@@ -9,7 +9,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
9
9
|
set :apache_ssl_ip, nil
|
10
10
|
set :apache_ssl_forward_all, apache_ssl_enabled
|
11
11
|
set :apache_ssl_chainfile, false
|
12
|
-
set :apache_modules_enabled, %w(rewrite ssl proxy_balancer proxy_http deflate headers)
|
12
|
+
set :apache_modules_enabled, %w(rewrite ssl proxy_balancer proxy_http deflate expires headers)
|
13
13
|
set :apache_log_dir, '/var/log/apache2'
|
14
14
|
|
15
15
|
desc "Install apache"
|
@@ -31,10 +31,10 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
31
31
|
:mode => 0644,
|
32
32
|
:owner => 'root:root'},
|
33
33
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
34
|
+
{ :template => 'ports.conf.erb',
|
35
|
+
:path => '/etc/apache2/ports.conf',
|
36
|
+
:mode => 0644,
|
37
|
+
:owner => 'root:root'},
|
38
38
|
|
39
39
|
{ :template => 'status.conf.erb',
|
40
40
|
:path => '/etc/apache2/mods-available/status.conf',
|
@@ -24,19 +24,8 @@ defaults
|
|
24
24
|
clitimeout 50000
|
25
25
|
srvtimeout 50000
|
26
26
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
acl host_app1 hdr_beg(host) -i intrepica.com
|
32
|
-
acl host_app1 hdr_beg(host) -i www.intrepica.com
|
33
|
-
|
34
|
-
use_backend localhost if host_xenium
|
35
|
-
use_backend app1 if host_app1
|
36
|
-
|
37
|
-
backend localhost
|
38
|
-
server LOCALHOST 127.0.0.1:81
|
39
|
-
|
40
|
-
backend app1
|
41
|
-
server APP1 192.168.0.179:80
|
27
|
+
listen example_lb *:81
|
28
|
+
option httpchk HEAD /check.txt HTTP/1.0
|
29
|
+
server web1 127.0.0.1:80 weight 6 maxconn 12 check # cookie A
|
30
|
+
server web2 127.0.0.1:80 weight 10 maxconn 12 check # cookie B
|
42
31
|
|
@@ -6,39 +6,53 @@
|
|
6
6
|
## are case insensitive. All path's MUST BE FULLY QUALIFIED, starting with '/'.
|
7
7
|
##
|
8
8
|
## Below you will find examples of some frequently used statements. For
|
9
|
-
## information about the control file
|
10
|
-
## options please have a look in the
|
9
|
+
## information about the control file and a complete list of statements and
|
10
|
+
## options, please have a look in the Monit manual.
|
11
11
|
##
|
12
12
|
##
|
13
13
|
###############################################################################
|
14
14
|
## Global section
|
15
15
|
###############################################################################
|
16
16
|
##
|
17
|
-
## Start
|
18
|
-
## 2-minute intervals.
|
17
|
+
## Start Monit in the background (run as a daemon):
|
19
18
|
#
|
20
|
-
set daemon <%= monit_check_interval %>
|
19
|
+
set daemon <%= monit_check_interval %> # check services at 2-minute intervals
|
20
|
+
# with start delay 240 # optional: delay the first check by 4-minutes (by
|
21
|
+
# # default Monit check immediately after Monit start)
|
21
22
|
#
|
22
23
|
#
|
23
24
|
## Set syslog logging with the 'daemon' facility. If the FACILITY option is
|
24
|
-
## omitted,
|
25
|
-
## a
|
25
|
+
## omitted, Monit will use 'user' facility by default. If you want to log to
|
26
|
+
## a standalone log file instead, specify the full path to the log file
|
26
27
|
#
|
27
|
-
set logfile <%= monit_log %>
|
28
|
+
set logfile <%= monit_log %>
|
28
29
|
#
|
29
30
|
#
|
31
|
+
### Set the location of the Monit id file which stores the unique id for the
|
32
|
+
### Monit instance. The id is generated and stored on first Monit start. By
|
33
|
+
### default the file is placed in $HOME/.monit.id.
|
34
|
+
#
|
35
|
+
# set idfile /var/.monit.id
|
36
|
+
#
|
37
|
+
### Set the location of the Monit state file which saves monitoring states
|
38
|
+
### on each cycle. By default the file is placed in $HOME/.monit.state. If
|
39
|
+
### the state file is stored on a persistent filesystem, Monit will recover
|
40
|
+
### the monitoring state across reboots. If it is on temporary filesystem, the
|
41
|
+
### state will be lost on reboot which may be convenient in some situations.
|
42
|
+
#
|
43
|
+
# set statefile /var/.monit.state
|
44
|
+
#
|
30
45
|
## Set the list of mail servers for alert delivery. Multiple servers may be
|
31
|
-
## specified using comma separator. By default
|
32
|
-
##
|
46
|
+
## specified using a comma separator. By default Monit uses port 25 - it is
|
47
|
+
## possible to override this with the PORT option.
|
33
48
|
#
|
34
|
-
<%= '# ' unless monit_mailserver %>set mailserver <%= monit_mailserver || '
|
35
|
-
# # to this line if you add more.)
|
49
|
+
<%= '# ' unless monit_mailserver %>set mailserver <%= monit_mailserver || 'mail.bar.baz' %> # primary mailserver
|
36
50
|
# backup.bar.baz port 10025, # backup mailserver on port 10025
|
37
51
|
# localhost # fallback relay
|
38
52
|
#
|
39
53
|
#
|
40
|
-
## By default
|
41
|
-
## If you want to keep the alerts for
|
54
|
+
## By default Monit will drop alert events if no mail servers are available.
|
55
|
+
## If you want to keep the alerts for later delivery retry, you can use the
|
42
56
|
## EVENTQUEUE statement. The base directory where undelivered alerts will be
|
43
57
|
## stored is specified by the BASEDIR option. You can limit the maximal queue
|
44
58
|
## size using the SLOTS option (if omitted, the queue is limited by space
|
@@ -46,7 +60,13 @@ set logfile <%= monit_log %>
|
|
46
60
|
#
|
47
61
|
# set eventqueue
|
48
62
|
# basedir /var/monit # set the base directory where events will be stored
|
49
|
-
# slots 100 #
|
63
|
+
# slots 100 # optionally limit the queue size
|
64
|
+
#
|
65
|
+
#
|
66
|
+
## Send status and events to M/Monit (for more informations about M/Monit
|
67
|
+
## see http://mmonit.com/).
|
68
|
+
#
|
69
|
+
# set mmonit http://monit:monit@192.168.1.10:8080/collector
|
50
70
|
#
|
51
71
|
#
|
52
72
|
## Monit by default uses the following alert mail format:
|
@@ -63,33 +83,33 @@ set logfile <%= monit_log %>
|
|
63
83
|
## Description: $DESCRIPTION #
|
64
84
|
## #
|
65
85
|
## Your faithful employee, #
|
66
|
-
##
|
86
|
+
## Monit #
|
67
87
|
## --8<--
|
68
88
|
##
|
69
89
|
## You can override this message format or parts of it, such as subject
|
70
90
|
## or sender using the MAIL-FORMAT statement. Macros such as $DATE, etc.
|
71
|
-
## are expanded at runtime. For example, to override the sender:
|
91
|
+
## are expanded at runtime. For example, to override the sender, use:
|
72
92
|
#
|
73
93
|
<%= '# ' unless monit_mailserver %>set mail-format { from: <%= monit_mail_from %> }
|
74
94
|
#
|
75
95
|
#
|
76
|
-
## You can set alert recipients
|
96
|
+
## You can set alert recipients whom will receive alerts if/when a
|
77
97
|
## service defined in this file has errors. Alerts may be restricted on
|
78
98
|
## events by using a filter as in the second example below.
|
79
|
-
#
|
80
99
|
<% monit_alert_recipients.each do |recipient| %>
|
81
100
|
<%= '# ' unless monit_mailserver %>set alert <%= recipient %> # receive all alerts
|
82
101
|
<% end %>
|
83
102
|
<% monit_timeout_recipients.each do |recipient| %>
|
84
103
|
<%= '# ' unless monit_mailserver %>set alert <%= recipient %> only on { timeout } # receive just service-
|
85
|
-
|
104
|
+
# timeout alert
|
86
105
|
<% end %>
|
87
106
|
|
107
|
+
#
|
88
108
|
#
|
89
109
|
#
|
90
110
|
## Monit has an embedded web server which can be used to view status of
|
91
|
-
## services monitored
|
92
|
-
##
|
111
|
+
## services monitored and manage services from a web interface. See the
|
112
|
+
## Monit Wiki if you want to enable SSL for the web server.
|
93
113
|
#
|
94
114
|
<% if monit_webserver_enabled %>
|
95
115
|
set httpd port <%= monit_webserver_port %> and
|
@@ -98,7 +118,10 @@ set httpd port <%= monit_webserver_port %> and
|
|
98
118
|
allow <%= host %> # allow <%= host %> to connect to the server
|
99
119
|
<% end %>
|
100
120
|
allow <%= monit_webserver_auth_user %>:<%= monit_webserver_auth_pass %> # require user <%= monit_webserver_auth_user %> with password <%= monit_webserver_auth_pass %>
|
121
|
+
# allow @monit # allow users of group 'monit' to connect (rw)
|
122
|
+
# allow @users readonly # allow users of group 'users' to connect readonly
|
101
123
|
<% end %>
|
124
|
+
|
102
125
|
#
|
103
126
|
#
|
104
127
|
###############################################################################
|
@@ -119,9 +142,10 @@ set httpd port <%= monit_webserver_port %> and
|
|
119
142
|
#
|
120
143
|
#
|
121
144
|
## Check a file for existence, checksum, permissions, uid and gid. In addition
|
122
|
-
## to alert recipients in the global section, customized alert
|
145
|
+
## to alert recipients in the global section, customized alert can be sent to
|
123
146
|
## additional recipients by specifying a local alert handler. The service may
|
124
|
-
## be grouped using the GROUP option.
|
147
|
+
## be grouped using the GROUP option. More than one group can be specified by
|
148
|
+
## repeating the 'group name' statement.
|
125
149
|
#
|
126
150
|
# check file apache_bin with path /usr/local/apache/bin/httpd
|
127
151
|
# if failed checksum and
|
@@ -137,14 +161,14 @@ set httpd port <%= monit_webserver_port %> and
|
|
137
161
|
#
|
138
162
|
## Check that a process is running, in this case Apache, and that it respond
|
139
163
|
## to HTTP and HTTPS requests. Check its resource usage such as cpu and memory,
|
140
|
-
## and number of children. If the process is not running,
|
141
|
-
## it by default. In case the service
|
164
|
+
## and number of children. If the process is not running, Monit will restart
|
165
|
+
## it by default. In case the service is restarted very often and the
|
142
166
|
## problem remains, it is possible to disable monitoring using the TIMEOUT
|
143
167
|
## statement. This service depends on another service (apache_bin) which
|
144
168
|
## is defined above.
|
145
169
|
#
|
146
170
|
# check process apache with pidfile /usr/local/apache/logs/httpd.pid
|
147
|
-
# start program = "/etc/init.d/httpd start"
|
171
|
+
# start program = "/etc/init.d/httpd start" with timeout 60 seconds
|
148
172
|
# stop program = "/etc/init.d/httpd stop"
|
149
173
|
# if cpu > 60% for 2 cycles then alert
|
150
174
|
# if cpu > 80% for 5 cycles then restart
|
@@ -152,7 +176,7 @@ set httpd port <%= monit_webserver_port %> and
|
|
152
176
|
# if children > 250 then restart
|
153
177
|
# if loadavg(5min) greater than 10 for 8 cycles then stop
|
154
178
|
# if failed host www.tildeslash.com port 80 protocol http
|
155
|
-
# and request "/
|
179
|
+
# and request "/somefile.html"
|
156
180
|
# then restart
|
157
181
|
# if failed port 443 type tcpssl protocol http
|
158
182
|
# with timeout 15 seconds
|
@@ -162,12 +186,12 @@ set httpd port <%= monit_webserver_port %> and
|
|
162
186
|
# group server
|
163
187
|
#
|
164
188
|
#
|
165
|
-
## Check
|
189
|
+
## Check filesystem permissions, uid, gid, space and inode usage. Other services,
|
166
190
|
## such as databases, may depend on this resource and an automatically graceful
|
167
191
|
## stop may be cascaded to them before the filesystem will become full and data
|
168
192
|
## lost.
|
169
193
|
#
|
170
|
-
# check
|
194
|
+
# check filesystem datafs with path /dev/sdb1
|
171
195
|
# start program = "/bin/mount /data"
|
172
196
|
# stop program = "/bin/umount /data"
|
173
197
|
# if failed permission 660 then unmonitor
|
@@ -189,7 +213,7 @@ set httpd port <%= monit_webserver_port %> and
|
|
189
213
|
# if failed uid data then alert
|
190
214
|
# if failed gid data then alert
|
191
215
|
# if timestamp > 15 minutes then alert
|
192
|
-
# if size > 100 MB then exec "/my/cleanup/script"
|
216
|
+
# if size > 100 MB then exec "/my/cleanup/script" as uid dba and gid dba
|
193
217
|
#
|
194
218
|
#
|
195
219
|
## Check directory permission, uid and gid. An event is triggered if the
|
@@ -202,15 +226,14 @@ set httpd port <%= monit_webserver_port %> and
|
|
202
226
|
# if failed gid 0 then unmonitor
|
203
227
|
#
|
204
228
|
#
|
205
|
-
## Check a remote host
|
206
|
-
##
|
207
|
-
## connection to a port and
|
229
|
+
## Check a remote host availability by issuing a ping test and check the
|
230
|
+
## content of a response from a web server. Up to three pings are sent and
|
231
|
+
## connection to a port and an application level network check is performed.
|
208
232
|
#
|
209
233
|
# check host myserver with address 192.168.1.1
|
210
234
|
# if failed icmp type echo count 3 with timeout 3 seconds then alert
|
211
235
|
# if failed port 3306 protocol mysql with timeout 15 seconds then alert
|
212
|
-
# if failed url
|
213
|
-
# http://user:password@www.foo.bar:8080/?querystring
|
236
|
+
# if failed url http://user:password@www.foo.bar:8080/?querystring
|
214
237
|
# and content == 'action="j_security_check"'
|
215
238
|
# then alert
|
216
239
|
#
|
@@ -222,6 +245,6 @@ set httpd port <%= monit_webserver_port %> and
|
|
222
245
|
## It is possible to include additional configuration parts from other files or
|
223
246
|
## directories.
|
224
247
|
#
|
225
|
-
include /etc/monit.d
|
248
|
+
include /etc/monit.d/*.monitrc
|
226
249
|
#
|
227
250
|
#
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deprec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 27
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 2
|
8
|
+
- 1
|
9
|
+
- 8
|
10
|
+
version: 2.1.8
|
5
11
|
platform: ruby
|
6
12
|
authors:
|
7
13
|
- Mike Bailey
|
@@ -9,19 +15,41 @@ autorequire:
|
|
9
15
|
bindir: bin
|
10
16
|
cert_chain: []
|
11
17
|
|
12
|
-
date:
|
18
|
+
date: 2010-08-26 00:00:00 +10:00
|
13
19
|
default_executable: depify
|
14
20
|
dependencies:
|
15
21
|
- !ruby/object:Gem::Dependency
|
16
22
|
name: capistrano
|
17
|
-
|
18
|
-
|
19
|
-
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
20
26
|
requirements:
|
21
27
|
- - ">"
|
22
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 27
|
30
|
+
segments:
|
31
|
+
- 2
|
32
|
+
- 5
|
33
|
+
- 0
|
23
34
|
version: 2.5.0
|
24
|
-
|
35
|
+
type: :runtime
|
36
|
+
version_requirements: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: capistrano-ext
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 29
|
46
|
+
segments:
|
47
|
+
- 1
|
48
|
+
- 2
|
49
|
+
- 1
|
50
|
+
version: 1.2.1
|
51
|
+
type: :runtime
|
52
|
+
version_requirements: *id002
|
25
53
|
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
54
|
email: mike@bailey.net.au
|
27
55
|
executables:
|
@@ -32,180 +60,180 @@ extra_rdoc_files: []
|
|
32
60
|
|
33
61
|
files:
|
34
62
|
- bin/depify
|
63
|
+
- docs/README.rails
|
35
64
|
- docs/config_gen_explained.txt
|
65
|
+
- docs/old/deprec_banner.gif
|
36
66
|
- docs/deprec-1.x/deprec-1.x.quickstart
|
37
67
|
- docs/deprec-1.x/notes.txt
|
38
|
-
- docs/EXAMPLE-installing_tracks.txt
|
39
|
-
- docs/old/deprec_banner.gif
|
40
68
|
- docs/README.nagios
|
41
|
-
- docs/README.rails
|
42
69
|
- docs/windows_linux.txt
|
43
|
-
- docs/
|
70
|
+
- docs/EXAMPLE-installing_tracks.txt
|
44
71
|
- docs/xen/xen-tools-notes.txt
|
45
72
|
- docs/xen/xen_on_hardy.txt
|
73
|
+
- docs/xen/traffic_monitoring_with_vnstat.txt
|
74
|
+
- lib/deprec_cmd_completion.sh
|
75
|
+
- lib/deprec_minus_rails.rb
|
76
|
+
- lib/deprec/recipes.rb
|
46
77
|
- lib/deprec/capistrano_extensions.rb
|
47
|
-
- lib/deprec/recipes/
|
48
|
-
- lib/deprec/recipes/
|
49
|
-
- lib/deprec/recipes/
|
50
|
-
- lib/deprec/recipes/
|
51
|
-
- lib/deprec/recipes/canonical.rb
|
52
|
-
- lib/deprec/recipes/chef.rb
|
78
|
+
- lib/deprec/recipes/deprecated.rb
|
79
|
+
- lib/deprec/recipes/example.rb
|
80
|
+
- lib/deprec/recipes/ddclient.rb
|
81
|
+
- lib/deprec/recipes/wpmu.rb
|
53
82
|
- lib/deprec/recipes/collectd.rb
|
54
83
|
- lib/deprec/recipes/db/couchdb.rb
|
84
|
+
- lib/deprec/recipes/db/sqlite.rb
|
55
85
|
- lib/deprec/recipes/db/mysql.rb
|
56
86
|
- lib/deprec/recipes/db/postgresql.rb
|
57
|
-
- lib/deprec/recipes/
|
58
|
-
- lib/deprec/recipes/
|
59
|
-
- lib/deprec/recipes/deprec.rb
|
60
|
-
- lib/deprec/recipes/deprecated.rb
|
61
|
-
- lib/deprec/recipes/example.rb
|
62
|
-
- lib/deprec/recipes/git.rb
|
63
|
-
- lib/deprec/recipes/gitosis.rb
|
64
|
-
- lib/deprec/recipes/haproxy.rb
|
65
|
-
- lib/deprec/recipes/heartbeat.rb
|
66
|
-
- lib/deprec/recipes/integrity.rb
|
87
|
+
- lib/deprec/recipes/ntp.rb
|
88
|
+
- lib/deprec/recipes/ssh.rb
|
67
89
|
- lib/deprec/recipes/logrotate.rb
|
90
|
+
- lib/deprec/recipes/starling.rb
|
68
91
|
- lib/deprec/recipes/lvm.rb
|
69
|
-
- lib/deprec/recipes/
|
70
|
-
- lib/deprec/recipes/
|
71
|
-
- lib/deprec/recipes/
|
72
|
-
- lib/deprec/recipes/
|
73
|
-
- lib/deprec/recipes/ntp.rb
|
92
|
+
- lib/deprec/recipes/app/mongrel.rb
|
93
|
+
- lib/deprec/recipes/app/passenger.rb
|
94
|
+
- lib/deprec/recipes/syslog.rb
|
95
|
+
- lib/deprec/recipes/utils.rb
|
74
96
|
- lib/deprec/recipes/php.rb
|
75
|
-
- lib/deprec/recipes/
|
76
|
-
- lib/deprec/recipes/rails.rb
|
77
|
-
- lib/deprec/recipes/ruby/mri.rb
|
97
|
+
- lib/deprec/recipes/canonical.rb
|
78
98
|
- lib/deprec/recipes/ruby/ree.rb
|
99
|
+
- lib/deprec/recipes/ruby/mri.rb
|
100
|
+
- lib/deprec/recipes/heartbeat.rb
|
101
|
+
- lib/deprec/recipes/ar_sendmail.rb
|
102
|
+
- lib/deprec/recipes/trac.rb
|
103
|
+
- lib/deprec/recipes/web/nginx.rb
|
104
|
+
- lib/deprec/recipes/web/apache.rb
|
105
|
+
- lib/deprec/recipes/rails.rb
|
106
|
+
- lib/deprec/recipes/memcache.rb
|
107
|
+
- lib/deprec/recipes/xen.rb
|
108
|
+
- lib/deprec/recipes/vnstat.rb
|
109
|
+
- lib/deprec/recipes/ubuntu.rb
|
79
110
|
- lib/deprec/recipes/sphinx.rb
|
80
|
-
- lib/deprec/recipes/
|
111
|
+
- lib/deprec/recipes/monit.rb
|
81
112
|
- lib/deprec/recipes/ssl.rb
|
82
|
-
- lib/deprec/recipes/
|
113
|
+
- lib/deprec/recipes/gitosis.rb
|
114
|
+
- lib/deprec/recipes/git.rb
|
115
|
+
- lib/deprec/recipes/nagios.rb
|
83
116
|
- lib/deprec/recipes/svn.rb
|
84
|
-
- lib/deprec/recipes/syslog.rb
|
85
|
-
- lib/deprec/recipes/trac.rb
|
86
|
-
- lib/deprec/recipes/ubuntu.rb
|
87
117
|
- lib/deprec/recipes/users.rb
|
88
|
-
- lib/deprec/recipes/utils.rb
|
89
|
-
- lib/deprec/recipes/vnstat.rb
|
90
|
-
- lib/deprec/recipes/web/apache.rb
|
91
|
-
- lib/deprec/recipes/web/nginx.rb
|
92
118
|
- lib/deprec/recipes/wordpress.rb
|
93
|
-
- lib/deprec/recipes/
|
94
|
-
- lib/deprec/recipes/
|
119
|
+
- lib/deprec/recipes/postfix.rb
|
120
|
+
- lib/deprec/recipes/haproxy.rb
|
95
121
|
- lib/deprec/recipes/xentools.rb
|
96
|
-
- lib/deprec/recipes.rb
|
97
|
-
- lib/deprec/
|
98
|
-
- lib/deprec/
|
99
|
-
- lib/deprec/
|
100
|
-
- lib/deprec/
|
101
|
-
- lib/deprec/templates/apache/ports.conf.erb
|
102
|
-
- lib/deprec/templates/apache/status.conf.erb
|
103
|
-
- lib/deprec/templates/ar_sendmail/logrotate.conf.erb
|
104
|
-
- lib/deprec/templates/ar_sendmail/monit.conf.erb
|
105
|
-
- lib/deprec/templates/chef/chef.json.erb
|
106
|
-
- lib/deprec/templates/chef/solo.rb
|
107
|
-
- lib/deprec/templates/collectd/collectd-init.d
|
108
|
-
- lib/deprec/templates/collectd/collectd.conf.erb
|
109
|
-
- lib/deprec/templates/ddclient/ddclient.conf.erb
|
110
|
-
- lib/deprec/templates/ddclient/ddclient.erb
|
111
|
-
- lib/deprec/templates/deprec/caprc.erb
|
112
|
-
- lib/deprec/templates/haproxy/haproxy-init.d
|
113
|
-
- lib/deprec/templates/haproxy/haproxy.cfg.erb
|
114
|
-
- lib/deprec/templates/heartbeat/authkeys.erb
|
115
|
-
- lib/deprec/templates/heartbeat/ha.cf.erb
|
116
|
-
- lib/deprec/templates/heartbeat/haresources.erb
|
117
|
-
- lib/deprec/templates/integrity/apache_vhost.erb
|
118
|
-
- lib/deprec/templates/integrity/config.ru.erb
|
119
|
-
- lib/deprec/templates/integrity/config.yml.erb
|
122
|
+
- lib/deprec/recipes/aoe.rb
|
123
|
+
- lib/deprec/recipes/integrity.rb
|
124
|
+
- lib/deprec/recipes/chef.rb
|
125
|
+
- lib/deprec/recipes/deprec.rb
|
126
|
+
- lib/deprec/recipes/network.rb
|
120
127
|
- lib/deprec/templates/logrotate/logrotate.conf.erb
|
121
|
-
- lib/deprec/templates/
|
122
|
-
- lib/deprec/templates/
|
128
|
+
- lib/deprec/templates/postfix/dynamicmaps.cf.erb
|
129
|
+
- lib/deprec/templates/postfix/master.cf.erb
|
130
|
+
- lib/deprec/templates/postfix/aliases.erb
|
131
|
+
- lib/deprec/templates/postfix/main.cf.erb
|
123
132
|
- lib/deprec/templates/mongrel/mongrel_cluster-init-script
|
133
|
+
- lib/deprec/templates/mongrel/logrotate.conf.erb
|
134
|
+
- lib/deprec/templates/mongrel/apache_vhost.conf.erb
|
124
135
|
- lib/deprec/templates/mongrel/mongrel_cluster.yml.erb
|
125
136
|
- lib/deprec/templates/mongrel/monit.conf.erb
|
126
137
|
- lib/deprec/templates/mongrel/nginx_vhost.conf.erb
|
127
|
-
- lib/deprec/templates/
|
128
|
-
- lib/deprec/templates/
|
129
|
-
- lib/deprec/templates/monit/nothing
|
130
|
-
- lib/deprec/templates/mysql/create_databases.sql
|
131
|
-
- lib/deprec/templates/mysql/database.yml.prod
|
132
|
-
- lib/deprec/templates/mysql/database.yml.stage
|
133
|
-
- lib/deprec/templates/mysql/my.cnf.erb
|
134
|
-
- lib/deprec/templates/mysql/sphinx.conf.prod
|
135
|
-
- lib/deprec/templates/mysql/sphinx.conf.stage
|
136
|
-
- lib/deprec/templates/nagios/cgi.cfg.erb
|
137
|
-
- lib/deprec/templates/nagios/check_linux_free_memory.pl
|
138
|
-
- lib/deprec/templates/nagios/check_mongrel_cluster.rb
|
139
|
-
- lib/deprec/templates/nagios/htpasswd.users
|
140
|
-
- lib/deprec/templates/nagios/mrtg.cfg
|
141
|
-
- lib/deprec/templates/nagios/nagios.cfg.erb
|
142
|
-
- lib/deprec/templates/nagios/nrpe.cfg.erb
|
143
|
-
- lib/deprec/templates/nagios/nrpe.xinetd.erb
|
144
|
-
- lib/deprec/templates/nagios/objects/commands.cfg.erb
|
145
|
-
- lib/deprec/templates/nagios/objects/contacts.cfg.erb
|
146
|
-
- lib/deprec/templates/nagios/objects/hosts.cfg.erb
|
147
|
-
- lib/deprec/templates/nagios/objects/localhost.cfg.erb
|
148
|
-
- lib/deprec/templates/nagios/objects/services.cfg.erb
|
149
|
-
- lib/deprec/templates/nagios/objects/timeperiods.cfg.erb
|
150
|
-
- lib/deprec/templates/nagios/README
|
151
|
-
- lib/deprec/templates/nagios/resource.cfg.erb
|
152
|
-
- lib/deprec/templates/network/hostname.erb
|
153
|
-
- lib/deprec/templates/network/hosts.erb
|
154
|
-
- lib/deprec/templates/network/interfaces.erb
|
155
|
-
- lib/deprec/templates/network/resolv.conf.erb
|
156
|
-
- lib/deprec/templates/nginx/logrotate.conf.erb
|
157
|
-
- lib/deprec/templates/nginx/mime.types.erb
|
158
|
-
- lib/deprec/templates/nginx/nginx-init-script
|
159
|
-
- lib/deprec/templates/nginx/nginx.conf.erb
|
160
|
-
- lib/deprec/templates/nginx/nginx.logrotate.d
|
161
|
-
- lib/deprec/templates/nginx/nothing.conf
|
162
|
-
- lib/deprec/templates/nginx/rails_nginx_vhost.conf.erb
|
163
|
-
- lib/deprec/templates/ntp/ntp.conf.erb
|
164
|
-
- lib/deprec/templates/passenger/apache_vhost.erb
|
138
|
+
- lib/deprec/templates/wordpress/wp-config.php.erb
|
139
|
+
- lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb
|
165
140
|
- lib/deprec/templates/passenger/logrotate.conf.erb
|
166
141
|
- lib/deprec/templates/passenger/passenger.conf.erb
|
142
|
+
- lib/deprec/templates/passenger/apache_vhost.erb
|
167
143
|
- lib/deprec/templates/passenger/passenger.load.erb
|
168
|
-
- lib/deprec/templates/
|
169
|
-
- lib/deprec/templates/
|
170
|
-
- lib/deprec/templates/
|
171
|
-
- lib/deprec/templates/
|
144
|
+
- lib/deprec/templates/nginx/logrotate.conf.erb
|
145
|
+
- lib/deprec/templates/nginx/rails_nginx_vhost.conf.erb
|
146
|
+
- lib/deprec/templates/nginx/nginx.logrotate.d
|
147
|
+
- lib/deprec/templates/nginx/nothing.conf
|
148
|
+
- lib/deprec/templates/nginx/nginx-init-script
|
149
|
+
- lib/deprec/templates/nginx/nginx.conf.erb
|
150
|
+
- lib/deprec/templates/nginx/mime.types.erb
|
151
|
+
- lib/deprec/templates/chef/solo.rb
|
152
|
+
- lib/deprec/templates/chef/chef.json.erb
|
172
153
|
- lib/deprec/templates/sphinx/monit.conf.erb
|
173
|
-
- lib/deprec/templates/ssh/ssh_config.erb
|
174
|
-
- lib/deprec/templates/ssh/sshd_config.erb
|
175
|
-
- lib/deprec/templates/ssl/make-ssl-cert
|
176
|
-
- lib/deprec/templates/ssl/ssl-cert-snakeoil.key
|
177
|
-
- lib/deprec/templates/ssl/ssl-cert-snakeoil.pem
|
178
154
|
- lib/deprec/templates/starling/monit.conf.erb
|
179
155
|
- lib/deprec/templates/starling/starling-init-script.erb
|
180
|
-
- lib/deprec/templates/
|
181
|
-
- lib/deprec/templates/
|
182
|
-
- lib/deprec/templates/
|
183
|
-
- lib/deprec/templates/
|
184
|
-
- lib/deprec/templates/
|
156
|
+
- lib/deprec/templates/network/hosts.erb
|
157
|
+
- lib/deprec/templates/network/interfaces.erb
|
158
|
+
- lib/deprec/templates/network/resolv.conf.erb
|
159
|
+
- lib/deprec/templates/network/hostname.erb
|
160
|
+
- lib/deprec/templates/monit/monitrc.erb
|
161
|
+
- lib/deprec/templates/monit/nothing.monitrc
|
162
|
+
- lib/deprec/templates/monit/monit-init-script
|
163
|
+
- lib/deprec/templates/trac/tracd-init.erb
|
185
164
|
- lib/deprec/templates/trac/trac.ini.erb
|
165
|
+
- lib/deprec/templates/trac/apache_vhost.conf.erb
|
186
166
|
- lib/deprec/templates/trac/trac_deprec.png
|
187
|
-
- lib/deprec/templates/trac/tracd-init.erb
|
188
167
|
- lib/deprec/templates/trac/users.htdigest.erb
|
168
|
+
- lib/deprec/templates/trac/nginx_vhost.conf.erb
|
169
|
+
- lib/deprec/templates/ssl/make-ssl-cert
|
170
|
+
- lib/deprec/templates/ssl/ssl-cert-snakeoil.pem
|
171
|
+
- lib/deprec/templates/ssl/ssl-cert-snakeoil.key
|
172
|
+
- lib/deprec/templates/heartbeat/haresources.erb
|
173
|
+
- lib/deprec/templates/heartbeat/ha.cf.erb
|
174
|
+
- lib/deprec/templates/heartbeat/authkeys.erb
|
175
|
+
- lib/deprec/templates/haproxy/haproxy-init.d
|
176
|
+
- lib/deprec/templates/haproxy/haproxy.cfg.erb
|
177
|
+
- lib/deprec/templates/ntp/ntp.conf.erb
|
189
178
|
- lib/deprec/templates/vnstat/config.php
|
190
|
-
- lib/deprec/templates/
|
191
|
-
- lib/deprec/templates/
|
179
|
+
- lib/deprec/templates/syslog/syslog.conf.erb
|
180
|
+
- lib/deprec/templates/syslog/syslogd.erb
|
181
|
+
- lib/deprec/templates/xentools/xm.tmpl.erb
|
182
|
+
- lib/deprec/templates/xentools/15-disable-hwclock
|
183
|
+
- lib/deprec/templates/xentools/40-setup-networking
|
184
|
+
- lib/deprec/templates/xentools/xen-tools.conf.erb
|
185
|
+
- lib/deprec/templates/ar_sendmail/logrotate.conf.erb
|
186
|
+
- lib/deprec/templates/ar_sendmail/monit.conf.erb
|
187
|
+
- lib/deprec/templates/aoe/fence_aoemask
|
188
|
+
- lib/deprec/templates/aoe/aoe-init
|
189
|
+
- lib/deprec/templates/integrity/config.ru.erb
|
190
|
+
- lib/deprec/templates/integrity/config.yml.erb
|
191
|
+
- lib/deprec/templates/integrity/apache_vhost.erb
|
192
192
|
- lib/deprec/templates/wpmu/apache_vhost.conf.erb
|
193
|
+
- lib/deprec/templates/subversion/svn.apache.vhost.erb
|
194
|
+
- lib/deprec/templates/apache/status.conf.erb
|
195
|
+
- lib/deprec/templates/apache/ports.conf.erb
|
196
|
+
- lib/deprec/templates/apache/namevirtualhosts.conf
|
197
|
+
- lib/deprec/templates/deprec/caprc.erb
|
198
|
+
- lib/deprec/templates/collectd/collectd.conf.erb
|
199
|
+
- lib/deprec/templates/collectd/collectd-init.d
|
193
200
|
- lib/deprec/templates/xen/network-bridge-wrapper
|
194
|
-
- lib/deprec/templates/xen/xend-config.sxp.erb
|
195
201
|
- lib/deprec/templates/xen/xend-init.erb
|
202
|
+
- lib/deprec/templates/xen/xend-config.sxp.erb
|
196
203
|
- lib/deprec/templates/xen/xendomains.erb
|
197
|
-
- lib/deprec/templates/
|
198
|
-
- lib/deprec/templates/
|
199
|
-
- lib/deprec/templates/
|
200
|
-
- lib/deprec/templates/
|
201
|
-
- lib/deprec.
|
202
|
-
- lib/
|
203
|
-
- lib/
|
204
|
+
- lib/deprec/templates/ssh/sshd_config.erb
|
205
|
+
- lib/deprec/templates/ssh/ssh_config.erb
|
206
|
+
- lib/deprec/templates/nagios/README
|
207
|
+
- lib/deprec/templates/nagios/cgi.cfg.erb
|
208
|
+
- lib/deprec/templates/nagios/resource.cfg.erb
|
209
|
+
- lib/deprec/templates/nagios/htpasswd.users
|
210
|
+
- lib/deprec/templates/nagios/nagios.cfg.erb
|
211
|
+
- lib/deprec/templates/nagios/check_mongrel_cluster.rb
|
212
|
+
- lib/deprec/templates/nagios/nrpe.cfg.erb
|
213
|
+
- lib/deprec/templates/nagios/check_linux_free_memory.pl
|
214
|
+
- lib/deprec/templates/nagios/objects/timeperiods.cfg.erb
|
215
|
+
- lib/deprec/templates/nagios/objects/services.cfg.erb
|
216
|
+
- lib/deprec/templates/nagios/objects/localhost.cfg.erb
|
217
|
+
- lib/deprec/templates/nagios/objects/commands.cfg.erb
|
218
|
+
- lib/deprec/templates/nagios/objects/hosts.cfg.erb
|
219
|
+
- lib/deprec/templates/nagios/objects/contacts.cfg.erb
|
220
|
+
- lib/deprec/templates/nagios/mrtg.cfg
|
221
|
+
- lib/deprec/templates/nagios/nrpe.xinetd.erb
|
222
|
+
- lib/deprec/templates/mysql/create_databases.sql
|
223
|
+
- lib/deprec/templates/mysql/sphinx.conf.stage
|
224
|
+
- lib/deprec/templates/mysql/database.yml.prod
|
225
|
+
- lib/deprec/templates/mysql/database.yml.stage
|
226
|
+
- lib/deprec/templates/mysql/my.cnf.erb
|
227
|
+
- lib/deprec/templates/mysql/sphinx.conf.prod
|
228
|
+
- lib/deprec/templates/ddclient/ddclient.erb
|
229
|
+
- lib/deprec/templates/ddclient/ddclient.conf.erb
|
230
|
+
- lib/deprec/recipes_minus_rails.rb
|
204
231
|
- lib/vmbuilder_plugins/all.rb
|
205
232
|
- lib/vmbuilder_plugins/apt.rb
|
206
233
|
- lib/vmbuilder_plugins/emerge.rb
|
207
|
-
- lib/vmbuilder_plugins/gem.rb
|
208
234
|
- lib/vmbuilder_plugins/std.rb
|
235
|
+
- lib/vmbuilder_plugins/gem.rb
|
236
|
+
- lib/deprec.rb
|
209
237
|
- CHANGELOG
|
210
238
|
- COPYING
|
211
239
|
- LICENSE
|
@@ -221,21 +249,27 @@ rdoc_options: []
|
|
221
249
|
require_paths:
|
222
250
|
- lib
|
223
251
|
required_ruby_version: !ruby/object:Gem::Requirement
|
252
|
+
none: false
|
224
253
|
requirements:
|
225
254
|
- - ">="
|
226
255
|
- !ruby/object:Gem::Version
|
256
|
+
hash: 3
|
257
|
+
segments:
|
258
|
+
- 0
|
227
259
|
version: "0"
|
228
|
-
version:
|
229
260
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
261
|
+
none: false
|
230
262
|
requirements:
|
231
263
|
- - ">="
|
232
264
|
- !ruby/object:Gem::Version
|
265
|
+
hash: 3
|
266
|
+
segments:
|
267
|
+
- 0
|
233
268
|
version: "0"
|
234
|
-
version:
|
235
269
|
requirements: []
|
236
270
|
|
237
271
|
rubyforge_project: deprec
|
238
|
-
rubygems_version: 1.3.
|
272
|
+
rubygems_version: 1.3.7
|
239
273
|
signing_key:
|
240
274
|
specification_version: 3
|
241
275
|
summary: deployment recipes for capistrano
|