le1t0-deprec 2.1.6.001
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +444 -0
- data/COPYING +19 -0
- data/LICENSE +339 -0
- data/README +154 -0
- data/THANKS +17 -0
- data/bin/depify +139 -0
- data/docs/EXAMPLE-installing_tracks.txt +41 -0
- data/docs/README.nagios +22 -0
- data/docs/README.rails +17 -0
- data/docs/config_gen_explained.txt +39 -0
- data/docs/deprec-1.x/deprec-1.x.quickstart +50 -0
- data/docs/deprec-1.x/notes.txt +12 -0
- data/docs/old/deprec_banner.gif +0 -0
- data/docs/windows_linux.txt +350 -0
- data/docs/xen/traffic_monitoring_with_vnstat.txt +95 -0
- data/docs/xen/xen-tools-notes.txt +31 -0
- data/docs/xen/xen_on_hardy.txt +39 -0
- data/lib/deprec.rb +42 -0
- data/lib/deprec/capistrano_extensions.rb +446 -0
- data/lib/deprec/recipes.rb +7 -0
- data/lib/deprec/recipes/aoe.rb +79 -0
- data/lib/deprec/recipes/app/mongrel.rb +213 -0
- data/lib/deprec/recipes/app/passenger.rb +190 -0
- data/lib/deprec/recipes/ar_sendmail.rb +67 -0
- data/lib/deprec/recipes/aspell.rb +22 -0
- data/lib/deprec/recipes/canonical.rb +68 -0
- data/lib/deprec/recipes/cap.rb +39 -0
- data/lib/deprec/recipes/chef.rb +68 -0
- data/lib/deprec/recipes/collectd.rb +112 -0
- data/lib/deprec/recipes/db/couchdb.rb +107 -0
- data/lib/deprec/recipes/db/mysql.rb +194 -0
- data/lib/deprec/recipes/db/postgresql.rb +104 -0
- data/lib/deprec/recipes/db/sqlite.rb +37 -0
- data/lib/deprec/recipes/ddclient.rb +51 -0
- data/lib/deprec/recipes/deprec.rb +167 -0
- data/lib/deprec/recipes/deprecated.rb +71 -0
- data/lib/deprec/recipes/drbd.rb +137 -0
- data/lib/deprec/recipes/dummy.rb +22 -0
- data/lib/deprec/recipes/example.rb +115 -0
- data/lib/deprec/recipes/git.rb +97 -0
- data/lib/deprec/recipes/gitosis.rb.disabled +55 -0
- data/lib/deprec/recipes/glusterfs.rb +176 -0
- data/lib/deprec/recipes/god.rb +70 -0
- data/lib/deprec/recipes/haproxy.rb +115 -0
- data/lib/deprec/recipes/heartbeat.rb +138 -0
- data/lib/deprec/recipes/imagemagick/imagemagick_bin.rb +24 -0
- data/lib/deprec/recipes/imagemagick/imagemagick_src.rb +39 -0
- data/lib/deprec/recipes/integrity.rb +108 -0
- data/lib/deprec/recipes/iptables.rb +94 -0
- data/lib/deprec/recipes/java.rb +23 -0
- data/lib/deprec/recipes/keepalived.rb +78 -0
- data/lib/deprec/recipes/ldap.rb +52 -0
- data/lib/deprec/recipes/logrotate.rb +56 -0
- data/lib/deprec/recipes/lvm.rb +20 -0
- data/lib/deprec/recipes/memcache.rb +49 -0
- data/lib/deprec/recipes/mongodb.rb +94 -0
- data/lib/deprec/recipes/monit.rb +135 -0
- data/lib/deprec/recipes/mysql_proxy.rb +67 -0
- data/lib/deprec/recipes/nagios.rb +361 -0
- data/lib/deprec/recipes/network.rb +116 -0
- data/lib/deprec/recipes/ntp.rb +103 -0
- data/lib/deprec/recipes/php.rb +58 -0
- data/lib/deprec/recipes/postfix.rb +115 -0
- data/lib/deprec/recipes/profiles.rb +125 -0
- data/lib/deprec/recipes/raid/amcc_3ware.rb +21 -0
- data/lib/deprec/recipes/rails.rb +330 -0
- data/lib/deprec/recipes/redhat_cluster.rb +228 -0
- data/lib/deprec/recipes/redis.rb +90 -0
- data/lib/deprec/recipes/ruby/mri.rb +55 -0
- data/lib/deprec/recipes/ruby/ree.rb +40 -0
- data/lib/deprec/recipes/rvm.rb +32 -0
- data/lib/deprec/recipes/s3utils.rb +63 -0
- data/lib/deprec/recipes/sphinx/thinking_sphinx.rb +105 -0
- data/lib/deprec/recipes/sphinx/ultrasphinx.rb +86 -0
- data/lib/deprec/recipes/ssh.rb +147 -0
- data/lib/deprec/recipes/ssl.rb +56 -0
- data/lib/deprec/recipes/starling.rb +119 -0
- data/lib/deprec/recipes/svn.rb +171 -0
- data/lib/deprec/recipes/syslog.rb +63 -0
- data/lib/deprec/recipes/trac.rb.disabled +277 -0
- data/lib/deprec/recipes/tsung.rb +74 -0
- data/lib/deprec/recipes/ubuntu.rb +90 -0
- data/lib/deprec/recipes/users.rb +90 -0
- data/lib/deprec/recipes/utils.rb +58 -0
- data/lib/deprec/recipes/vnstat.rb +85 -0
- data/lib/deprec/recipes/web/apache.rb +143 -0
- data/lib/deprec/recipes/web/nginx.rb +172 -0
- data/lib/deprec/recipes/wordpress.rb.notworking +96 -0
- data/lib/deprec/recipes/wpmu.rb +103 -0
- data/lib/deprec/recipes/xen.rb +364 -0
- data/lib/deprec/recipes/xentools.rb +101 -0
- data/lib/deprec/recipes_minus_rails.rb +125 -0
- data/lib/deprec/templates/aoe/aoe-init +55 -0
- data/lib/deprec/templates/aoe/fence_aoemask +351 -0
- data/lib/deprec/templates/apache/namevirtualhosts.conf +5 -0
- data/lib/deprec/templates/apache/ports.conf.erb +5 -0
- data/lib/deprec/templates/apache/status.conf.erb +17 -0
- data/lib/deprec/templates/ar_sendmail/logrotate.conf.erb +9 -0
- data/lib/deprec/templates/ar_sendmail/monit.conf.erb +5 -0
- data/lib/deprec/templates/chef/chef.json.erb +1 -0
- data/lib/deprec/templates/chef/solo.rb +2 -0
- data/lib/deprec/templates/collectd/collectd-init.d +153 -0
- data/lib/deprec/templates/collectd/collectd.conf.erb +686 -0
- data/lib/deprec/templates/ddclient/ddclient.conf.erb +11 -0
- data/lib/deprec/templates/ddclient/ddclient.erb +15 -0
- data/lib/deprec/templates/deprec/caprc.erb +14 -0
- data/lib/deprec/templates/drbd/drbd.conf.erb +531 -0
- data/lib/deprec/templates/glusterfs/glusterfsd-init.erb +95 -0
- data/lib/deprec/templates/gnbd_client/cluster.conf.erb +21 -0
- data/lib/deprec/templates/gnbd_client/clvm-default.erb +3 -0
- data/lib/deprec/templates/gnbd_client/cman-default.erb +6 -0
- data/lib/deprec/templates/gnbd_client/gnbdimports.conf.erb +1 -0
- data/lib/deprec/templates/gnbd_server/cluster.conf.erb +20 -0
- data/lib/deprec/templates/gnbd_server/clvm-default.erb +3 -0
- data/lib/deprec/templates/gnbd_server/cman-default.erb +6 -0
- data/lib/deprec/templates/gnbd_server/gnbd-server-default.erb +1 -0
- data/lib/deprec/templates/gnbd_server/gnbdexports.conf.erb +1 -0
- data/lib/deprec/templates/god/god-conf.erb +2 -0
- data/lib/deprec/templates/god/god-init.erb +47 -0
- data/lib/deprec/templates/haproxy/haproxy-init.d +120 -0
- data/lib/deprec/templates/haproxy/haproxy.cfg.erb +31 -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/integrity/apache_vhost.erb +4 -0
- data/lib/deprec/templates/integrity/config.ru.erb +21 -0
- data/lib/deprec/templates/integrity/config.yml.erb +43 -0
- data/lib/deprec/templates/iptables/firewall-default.erb +13 -0
- data/lib/deprec/templates/iptables/firewall-init.erb +171 -0
- data/lib/deprec/templates/keepalived/keepalived.conf.erb +18 -0
- data/lib/deprec/templates/logrotate/logrotate.conf.erb +32 -0
- data/lib/deprec/templates/mongodb/mongodb-init.d +88 -0
- data/lib/deprec/templates/mongrel/apache_vhost.conf.erb +148 -0
- data/lib/deprec/templates/mongrel/logrotate.conf.erb +11 -0
- data/lib/deprec/templates/mongrel/mongrel_cluster-init-script +54 -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/mongrel/nginx_vhost.conf.erb +41 -0
- data/lib/deprec/templates/monit/monit-init-script +104 -0
- data/lib/deprec/templates/monit/monitrc.erb +250 -0
- data/lib/deprec/templates/monit/nothing.monitrc +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/mysql_proxy/mysql-proxy-default.erb +4 -0
- data/lib/deprec/templates/nagios/README +32 -0
- data/lib/deprec/templates/nagios/cgi.cfg.erb +357 -0
- 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/nagios/htpasswd.users +1 -0
- data/lib/deprec/templates/nagios/mrtg.cfg +180 -0
- data/lib/deprec/templates/nagios/nagios.cfg.erb +1325 -0
- data/lib/deprec/templates/nagios/nrpe.cfg.erb +222 -0
- data/lib/deprec/templates/nagios/nrpe.xinetd.erb +16 -0
- data/lib/deprec/templates/nagios/objects/commands.cfg.erb +265 -0
- data/lib/deprec/templates/nagios/objects/contacts.cfg.erb +89 -0
- data/lib/deprec/templates/nagios/objects/hosts.cfg.erb +114 -0
- data/lib/deprec/templates/nagios/objects/localhost.cfg.erb +116 -0
- data/lib/deprec/templates/nagios/objects/services.cfg.erb +165 -0
- data/lib/deprec/templates/nagios/objects/timeperiods.cfg.erb +94 -0
- data/lib/deprec/templates/nagios/resource.cfg.erb +34 -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 +18 -0
- data/lib/deprec/templates/network/resolv.conf.erb +6 -0
- data/lib/deprec/templates/nginx/logrotate.conf.erb +13 -0
- data/lib/deprec/templates/nginx/mime.types.erb +70 -0
- data/lib/deprec/templates/nginx/nginx-init-script +62 -0
- data/lib/deprec/templates/nginx/nginx.conf.erb +125 -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/passenger/apache_vhost.erb +29 -0
- data/lib/deprec/templates/passenger/logrotate.conf.erb +12 -0
- data/lib/deprec/templates/passenger/passenger.conf.erb +21 -0
- data/lib/deprec/templates/passenger/passenger.load.erb +3 -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 +36 -0
- data/lib/deprec/templates/postfix/master.cf.erb +77 -0
- data/lib/deprec/templates/redis/redis-conf.erb +132 -0
- data/lib/deprec/templates/redis/redis-init.erb +50 -0
- data/lib/deprec/templates/s3utils/s3cfg +35 -0
- data/lib/deprec/templates/s3utils/s3config.yml +3 -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/ssl/make-ssl-cert +138 -0
- data/lib/deprec/templates/ssl/ssl-cert-snakeoil.key +15 -0
- data/lib/deprec/templates/ssl/ssl-cert-snakeoil.pem +19 -0
- data/lib/deprec/templates/starling/monit.conf.erb +14 -0
- data/lib/deprec/templates/starling/starling-init-script.erb +71 -0
- data/lib/deprec/templates/subversion/svn.apache.vhost.erb +43 -0
- data/lib/deprec/templates/syslog/syslog.conf.erb +71 -0
- data/lib/deprec/templates/syslog/syslogd.erb +13 -0
- data/lib/deprec/templates/trac/apache_vhost.conf.erb +24 -0
- data/lib/deprec/templates/trac/nginx_vhost.conf.erb +26 -0
- data/lib/deprec/templates/trac/trac.ini.erb +169 -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/trac/users.htdigest.erb +0 -0
- data/lib/deprec/templates/tsung/tsung.xml.erb +47 -0
- data/lib/deprec/templates/vnstat/config.php +57 -0
- data/lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb +31 -0
- data/lib/deprec/templates/wordpress/wp-config.php.erb +31 -0
- data/lib/deprec/templates/wpmu/apache_vhost.conf.erb +13 -0
- data/lib/deprec/templates/xen/network-bridge-wrapper +3 -0
- data/lib/deprec/templates/xen/xend-config.sxp.erb +195 -0
- data/lib/deprec/templates/xen/xend-init.erb +57 -0
- data/lib/deprec/templates/xen/xendomains.erb +137 -0
- data/lib/deprec/templates/xentools/100-ubuntu-setup +26 -0
- data/lib/deprec/templates/xentools/15-disable-hwclock +40 -0
- data/lib/deprec/templates/xentools/30-disable-gettys +57 -0
- data/lib/deprec/templates/xentools/31-ubuntu-setup +32 -0
- data/lib/deprec/templates/xentools/40-setup-networking +145 -0
- data/lib/deprec/templates/xentools/98-custom +17 -0
- data/lib/deprec/templates/xentools/xen-tools.conf.erb +278 -0
- data/lib/deprec/templates/xentools/xm.tmpl.erb +138 -0
- data/lib/deprec_cmd_completion.sh +26 -0
- data/lib/deprec_minus_rails.rb +12 -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 +100 -0
- data/lib/vmbuilder_plugins/std.rb +203 -0
- metadata +304 -0
@@ -0,0 +1,71 @@
|
|
1
|
+
# /etc/syslog.conf Configuration file for syslogd.
|
2
|
+
#
|
3
|
+
# For more information see syslog.conf(5)
|
4
|
+
# manpage.
|
5
|
+
|
6
|
+
#
|
7
|
+
# First some standard logfiles. Log by facility.
|
8
|
+
#
|
9
|
+
|
10
|
+
*.* <%= syslog_server %>
|
11
|
+
auth,authpriv.* /var/log/auth.log
|
12
|
+
*.*;auth,authpriv.none -/var/log/syslog
|
13
|
+
#cron.* /var/log/cron.log
|
14
|
+
daemon.* -/var/log/daemon.log
|
15
|
+
kern.* -/var/log/kern.log
|
16
|
+
lpr.* -/var/log/lpr.log
|
17
|
+
mail.* -/var/log/mail.log
|
18
|
+
user.* -/var/log/user.log
|
19
|
+
|
20
|
+
#
|
21
|
+
# Logging for the mail system. Split it up so that
|
22
|
+
# it is easy to write scripts to parse these files.
|
23
|
+
#
|
24
|
+
mail.info -/var/log/mail.info
|
25
|
+
mail.warn -/var/log/mail.warn
|
26
|
+
mail.err /var/log/mail.err
|
27
|
+
|
28
|
+
# Logging for INN news system
|
29
|
+
#
|
30
|
+
news.crit /var/log/news/news.crit
|
31
|
+
news.err /var/log/news/news.err
|
32
|
+
news.notice -/var/log/news/news.notice
|
33
|
+
|
34
|
+
#
|
35
|
+
# Some `catch-all' logfiles.
|
36
|
+
#
|
37
|
+
*.=debug;\
|
38
|
+
auth,authpriv.none;\
|
39
|
+
news.none;mail.none -/var/log/debug
|
40
|
+
*.=info;*.=notice;*.=warn;\
|
41
|
+
auth,authpriv.none;\
|
42
|
+
cron,daemon.none;\
|
43
|
+
mail,news.none -/var/log/messages
|
44
|
+
|
45
|
+
#
|
46
|
+
# Emergencies are sent to everybody logged in.
|
47
|
+
#
|
48
|
+
*.emerg *
|
49
|
+
|
50
|
+
#
|
51
|
+
# I like to have messages displayed on the console, but only on a virtual
|
52
|
+
# console I usually leave idle.
|
53
|
+
#
|
54
|
+
#daemon,mail.*;\
|
55
|
+
# news.=crit;news.=err;news.=notice;\
|
56
|
+
# *.=debug;*.=info;\
|
57
|
+
# *.=notice;*.=warn /dev/tty8
|
58
|
+
|
59
|
+
# The named pipe /dev/xconsole is for the `xconsole' utility. To use it,
|
60
|
+
# you must invoke `xconsole' with the `-file' option:
|
61
|
+
#
|
62
|
+
# $ xconsole -file /dev/xconsole [...]
|
63
|
+
#
|
64
|
+
# NOTE: adjust the list below, or you'll go crazy if you have a reasonably
|
65
|
+
# busy site..
|
66
|
+
#
|
67
|
+
daemon.*;mail.*;\
|
68
|
+
news.err;\
|
69
|
+
*.=debug;*.=info;\
|
70
|
+
*.=notice;*.=warn |/dev/xconsole
|
71
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<VirtualHost *:80>
|
2
|
+
ServerName <%= trac_home_url %>
|
3
|
+
|
4
|
+
# Configure trac_cluster
|
5
|
+
<Proxy balancer://trac_cluster>
|
6
|
+
BalancerMember http://127.0.0.1:<%= tracd_port %>
|
7
|
+
</Proxy>
|
8
|
+
|
9
|
+
RewriteEngine On
|
10
|
+
|
11
|
+
# Redirect to the AGR track instance
|
12
|
+
RewriteRule ^/$ /<%= application %>/ [R]
|
13
|
+
# Send all traffic to tracd
|
14
|
+
RewriteRule ^/(.*)$ balancer://trac_cluster%{REQUEST_URI} [P,QSA,L]
|
15
|
+
|
16
|
+
# Deflate
|
17
|
+
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript
|
18
|
+
BrowserMatch ^Mozilla/4 gzip-only-text/html
|
19
|
+
BrowserMatch ^Mozilla/4\.0[678] no-gzip
|
20
|
+
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
|
21
|
+
|
22
|
+
ErrorLog logs/trac.agoodride.tv-error_log
|
23
|
+
CustomLog logs/trac.agoodride.tv-access_log combined
|
24
|
+
</VirtualHost>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
upstream tracd-<%= application %> {
|
2
|
+
server 127.0.0.1:9000;
|
3
|
+
}
|
4
|
+
|
5
|
+
server {
|
6
|
+
listen 80;
|
7
|
+
server_name <%= tracd_vhost_domain %>;
|
8
|
+
|
9
|
+
location / {
|
10
|
+
proxy_set_header X-Real-IP $remote_addr;
|
11
|
+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
12
|
+
proxy_set_header Host $http_host;
|
13
|
+
proxy_redirect false;
|
14
|
+
|
15
|
+
if ($request_filename !~ /<%= application %> ) {
|
16
|
+
rewrite (.*) http://<%= tracd_vhost_domain %>/<%= application %>$1 permanent;
|
17
|
+
}
|
18
|
+
proxy_pass http://tracd-<%= application %>;
|
19
|
+
break;
|
20
|
+
}
|
21
|
+
|
22
|
+
error_page 500 502 503 504 /50x.html;
|
23
|
+
location = /50x.html {
|
24
|
+
root html;
|
25
|
+
}
|
26
|
+
}
|
@@ -0,0 +1,169 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
|
3
|
+
[attachment]
|
4
|
+
max_size = 262144
|
5
|
+
render_unsafe_content = false
|
6
|
+
|
7
|
+
[browser]
|
8
|
+
color_scale = True
|
9
|
+
downloadable_paths = /trunk, /branches/*, /tags/*
|
10
|
+
hide_properties = svk:merge
|
11
|
+
intermediate_color =
|
12
|
+
intermediate_point =
|
13
|
+
newest_color = (255, 136, 136)
|
14
|
+
oldest_color = (136, 136, 255)
|
15
|
+
oneliner_properties = trac:summary
|
16
|
+
render_unsafe_content = false
|
17
|
+
wiki_properties = trac:description
|
18
|
+
|
19
|
+
[changeset]
|
20
|
+
max_diff_bytes = 10000000
|
21
|
+
max_diff_files = 0
|
22
|
+
wiki_format_messages = true
|
23
|
+
|
24
|
+
[header_logo]
|
25
|
+
alt = (please configure the [header_logo] section in trac.ini)
|
26
|
+
height = -1
|
27
|
+
link =
|
28
|
+
src = site/your_project_logo.png
|
29
|
+
width = -1
|
30
|
+
|
31
|
+
[inherit]
|
32
|
+
plugins_dir =
|
33
|
+
templates_dir =
|
34
|
+
|
35
|
+
[logging]
|
36
|
+
log_file = trac.log
|
37
|
+
# log_format = <inherited>
|
38
|
+
log_level = DEBUG
|
39
|
+
log_type = none
|
40
|
+
|
41
|
+
[milestone]
|
42
|
+
stats_provider = DefaultTicketGroupStatsProvider
|
43
|
+
|
44
|
+
[mimeviewer]
|
45
|
+
enscript_modes = text/x-dylan:dylan:4
|
46
|
+
enscript_path = enscript
|
47
|
+
max_preview_size = 262144
|
48
|
+
mime_map = text/x-dylan:dylan,text/x-idl:ice,text/x-ada:ads:adb
|
49
|
+
php_path = php
|
50
|
+
tab_width = 8
|
51
|
+
|
52
|
+
[notification]
|
53
|
+
admit_domains =
|
54
|
+
always_notify_owner = false
|
55
|
+
always_notify_reporter = false
|
56
|
+
always_notify_updater = true
|
57
|
+
ignore_domains =
|
58
|
+
mime_encoding = base64
|
59
|
+
smtp_always_bcc =
|
60
|
+
smtp_always_cc =
|
61
|
+
smtp_default_domain =
|
62
|
+
smtp_enabled = false
|
63
|
+
smtp_from = trac@localhost
|
64
|
+
smtp_from_name =
|
65
|
+
smtp_password =
|
66
|
+
smtp_port = 25
|
67
|
+
smtp_replyto = trac@localhost
|
68
|
+
smtp_server = localhost
|
69
|
+
smtp_subject_prefix = __default__
|
70
|
+
smtp_user =
|
71
|
+
ticket_subject_template = $prefix #$ticket.id: $summary
|
72
|
+
use_public_cc = false
|
73
|
+
use_short_addr = false
|
74
|
+
use_tls = false
|
75
|
+
|
76
|
+
[project]
|
77
|
+
admin =
|
78
|
+
descr = My example project
|
79
|
+
footer = Visit the Trac open source project at<br /><a href="http://trac.edgewall.org/">http://trac.edgewall.org/</a>
|
80
|
+
icon = common/trac.ico
|
81
|
+
name = mikehome
|
82
|
+
url =
|
83
|
+
|
84
|
+
[query]
|
85
|
+
default_anonymous_query = status!=closed&cc~=$USER
|
86
|
+
default_query = status!=closed&owner=$USER
|
87
|
+
items_per_page = 100
|
88
|
+
|
89
|
+
[report]
|
90
|
+
items_per_page = 100
|
91
|
+
items_per_page_rss = 0
|
92
|
+
|
93
|
+
[revisionlog]
|
94
|
+
default_log_limit = 100
|
95
|
+
|
96
|
+
[roadmap]
|
97
|
+
stats_provider = DefaultTicketGroupStatsProvider
|
98
|
+
|
99
|
+
[search]
|
100
|
+
min_query_length = 3
|
101
|
+
|
102
|
+
[svn]
|
103
|
+
branches = trunk,branches/*
|
104
|
+
tags = tags/*
|
105
|
+
|
106
|
+
[ticket]
|
107
|
+
default_component =
|
108
|
+
default_milestone =
|
109
|
+
default_priority = major
|
110
|
+
default_resolution = fixed
|
111
|
+
default_type = defect
|
112
|
+
default_version =
|
113
|
+
max_description_size = 262144
|
114
|
+
preserve_newlines = default
|
115
|
+
restrict_owner = false
|
116
|
+
workflow = ConfigurableTicketWorkflow
|
117
|
+
|
118
|
+
[ticket-workflow]
|
119
|
+
accept = new,assigned,accepted,reopened -> accepted
|
120
|
+
accept.operations = set_owner_to_self
|
121
|
+
accept.permissions = TICKET_MODIFY
|
122
|
+
leave = * -> *
|
123
|
+
leave.default = 1
|
124
|
+
leave.operations = leave_status
|
125
|
+
reassign = new,assigned,accepted,reopened -> assigned
|
126
|
+
reassign.operations = set_owner
|
127
|
+
reassign.permissions = TICKET_MODIFY
|
128
|
+
reopen = closed -> reopened
|
129
|
+
reopen.operations = del_resolution
|
130
|
+
reopen.permissions = TICKET_CREATE
|
131
|
+
resolve = new,assigned,accepted,reopened -> closed
|
132
|
+
resolve.operations = set_resolution
|
133
|
+
resolve.permissions = TICKET_MODIFY
|
134
|
+
|
135
|
+
[timeline]
|
136
|
+
abbreviated_messages = true
|
137
|
+
changeset_collapse_events = false
|
138
|
+
changeset_long_messages = false
|
139
|
+
changeset_show_files = 0
|
140
|
+
default_daysback = 30
|
141
|
+
max_daysback = 90
|
142
|
+
newticket_formatter = oneliner
|
143
|
+
ticket_show_details = false
|
144
|
+
|
145
|
+
[trac]
|
146
|
+
authz_file =
|
147
|
+
authz_module_name =
|
148
|
+
auto_reload = False
|
149
|
+
base_url =
|
150
|
+
check_auth_ip = true
|
151
|
+
database = sqlite:db/trac.db
|
152
|
+
default_charset = iso-8859-15
|
153
|
+
htdocs_location =
|
154
|
+
ignore_auth_case = false
|
155
|
+
mainnav = wiki,timeline,roadmap,browser,tickets,newticket,search
|
156
|
+
metanav = login,logout,prefs,help,about
|
157
|
+
permission_policies = DefaultPermissionPolicy, LegacyAttachmentPolicy
|
158
|
+
permission_store = DefaultPermissionStore
|
159
|
+
repository_dir = /var/www/apps/mikehome/repos
|
160
|
+
repository_type = svn
|
161
|
+
show_email_addresses = false
|
162
|
+
timeout = 20
|
163
|
+
use_base_url_for_redirect = False
|
164
|
+
|
165
|
+
[wiki]
|
166
|
+
ignore_missing_pages = false
|
167
|
+
render_unsafe_content = false
|
168
|
+
split_page_names = false
|
169
|
+
|
Binary file
|
@@ -0,0 +1,43 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
#
|
3
|
+
# Start tracd for AGR project
|
4
|
+
#
|
5
|
+
# Copy to /etc/init.d and enable with:
|
6
|
+
# sudo update-rc.d tracd-agr.sh defaults
|
7
|
+
|
8
|
+
tracd_cmd=<%= tracd_cmd %>
|
9
|
+
trac_port=<%= tracd_port %>
|
10
|
+
trac_pidfile=<%= tracd_pidfile %>
|
11
|
+
trac_parent_dir=<%= tracd_parent_dir %>
|
12
|
+
|
13
|
+
function usage
|
14
|
+
{
|
15
|
+
echo "
|
16
|
+
Usage: $0 {start|stop}
|
17
|
+
"
|
18
|
+
exit 1
|
19
|
+
}
|
20
|
+
|
21
|
+
case "$1" in
|
22
|
+
start)
|
23
|
+
echo "Starting tracd"
|
24
|
+
for dir in `ls $trac_parent_dir`; do
|
25
|
+
project="`basename $dir`"
|
26
|
+
passwords="$trac_parent_dir/${dir}/conf/users.htdigest"
|
27
|
+
auth_string="$auth_string --auth=${project},${passwords},${project}"
|
28
|
+
done
|
29
|
+
cmd="$tracd_cmd $auth_string --env-parent-dir=$trac_parent_dir \
|
30
|
+
--port=$trac_port --pidfile=$trac_pidfile --daemonize"
|
31
|
+
|
32
|
+
$cmd
|
33
|
+
;;
|
34
|
+
|
35
|
+
stop)
|
36
|
+
echo "Stopping tracd"
|
37
|
+
kill `cat $trac_pidfile` >/dev/null 2>&1
|
38
|
+
rm -f $trac_pidfile
|
39
|
+
;;
|
40
|
+
|
41
|
+
*)
|
42
|
+
usage
|
43
|
+
esac
|
File without changes
|
@@ -0,0 +1,47 @@
|
|
1
|
+
<tsung loglevel="notice" version="1.0">
|
2
|
+
|
3
|
+
<!-- Client side setup : Tsung -->
|
4
|
+
<clients>
|
5
|
+
<client host="localhost" use_controller_vm="true">
|
6
|
+
</client>
|
7
|
+
|
8
|
+
<!-- Server side setup : the web site under load testing -->
|
9
|
+
<servers>
|
10
|
+
<server host="localhost" port="3000" type="tcp"></server>
|
11
|
+
</servers>
|
12
|
+
|
13
|
+
<!-- to start os monitoring (cpu, network, memory). Use an erlang agent on the remote machine or SNMP. erlang is the default -->
|
14
|
+
<monitoring>
|
15
|
+
<monitor host="localhost" type="erlang"></monitor>
|
16
|
+
</monitoring>
|
17
|
+
|
18
|
+
<load>
|
19
|
+
<!-- several arrival phases can be set: for each phase, you can set the mean inter-arrival time between new clients and the phase duration -->
|
20
|
+
<arrivalphase phase="1" duration="10" unit="minute">
|
21
|
+
<users interarrival="2" unit="second"></users>
|
22
|
+
</arrivalphase>
|
23
|
+
</load>
|
24
|
+
|
25
|
+
<options>
|
26
|
+
|
27
|
+
<user_agent probability="80">Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Galeon/1.3.21</user_agent>
|
28
|
+
<user_agent probability="20">Mozilla/5.0 (Windows; U; Windows NT 5.2; fr-FR; rv:1.7.8) Gecko/20050511 Firefox/1.0.4</user_agent>
|
29
|
+
|
30
|
+
</options>
|
31
|
+
|
32
|
+
<!-- start a session for a http user. the probability is the frequency of this type os session. The sum of all session's probabilities must be 100 -->
|
33
|
+
|
34
|
+
<sessions>
|
35
|
+
<session name="http-example" probability="100" type="ts_http">
|
36
|
+
|
37
|
+
<!-- full url with server name, this overrides the "server" config value -->
|
38
|
+
|
39
|
+
<request> <http url="/" method="GET" version="1.1"></http> </request>
|
40
|
+
|
41
|
+
<thinktime value="20" random="true"></thinktime>
|
42
|
+
|
43
|
+
|
44
|
+
</session>
|
45
|
+
</sessions>
|
46
|
+
</clients>
|
47
|
+
</tsung>
|
@@ -0,0 +1,57 @@
|
|
1
|
+
<?php
|
2
|
+
//
|
3
|
+
// vnStat PHP frontend 1.3 (c)2006-2007 Bjorge Dijkstra (bjd@jooz.net)
|
4
|
+
//
|
5
|
+
// This program is free software; you can redistribute it and/or modify
|
6
|
+
// it under the terms of the GNU General Public License as published by
|
7
|
+
// the Free Software Foundation; either version 2 of the License, or
|
8
|
+
// (at your option) any later version.
|
9
|
+
//
|
10
|
+
// This program is distributed in the hope that it will be useful,
|
11
|
+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13
|
+
// GNU General Public License for more details.
|
14
|
+
//
|
15
|
+
// You should have received a copy of the GNU General Public License
|
16
|
+
// along with this program; if not, write to the Free Software
|
17
|
+
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
18
|
+
//
|
19
|
+
//
|
20
|
+
// see file COPYING or at http://www.gnu.org/licenses/gpl.html
|
21
|
+
// for more information.
|
22
|
+
//
|
23
|
+
|
24
|
+
//
|
25
|
+
// configuration parameters
|
26
|
+
//
|
27
|
+
// edit these to reflect your particular situation
|
28
|
+
//
|
29
|
+
|
30
|
+
// list of network interfaces monitored by vnStat
|
31
|
+
$iface_list = array('eth0', 'eth1', 'sixxs');
|
32
|
+
|
33
|
+
//
|
34
|
+
// optional names for interfaces
|
35
|
+
// if there's no name set for an interface then the interface identifier
|
36
|
+
// will be displayed instead
|
37
|
+
//
|
38
|
+
$iface_title['eth0'] = 'Internal';
|
39
|
+
$iface_title['eth1'] = 'Internet';
|
40
|
+
$iface_title['sixxs'] = 'SixXS IPv6';
|
41
|
+
|
42
|
+
//
|
43
|
+
// There are two possible sources for vnstat data. If the $vnstat_bin
|
44
|
+
// variable is set then vnstat is called directly from the PHP script
|
45
|
+
// to get the interface data.
|
46
|
+
//
|
47
|
+
// The other option is to periodically dump the vnstat interface data to
|
48
|
+
// a file (e.g. by a cronjob). In that case the $vnstat_bin variable
|
49
|
+
// must be cleared and set $data_dir to the location where the dumps
|
50
|
+
// are stored. Dumps must be named 'vnstat_dump_$iface'.
|
51
|
+
//
|
52
|
+
// You can generate vnstat dumps with the command:
|
53
|
+
// vnstat --dumpdb -i $iface > /path/to/data_dir/vnstat_dump_$iface
|
54
|
+
//
|
55
|
+
$vnstat_bin = '/usr/bin/vmstat';
|
56
|
+
$data_dir = './dumps';
|
57
|
+
?>
|