deprec 2.2.3 → 3.1.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (209) hide show
  1. data/CHANGELOG +1 -1
  2. data/bin/depify +3 -8
  3. data/{lib → docs}/deprec_cmd_completion.sh +0 -0
  4. data/lib/deprec.rb +5 -7
  5. data/lib/deprec/cap.rb +51 -0
  6. data/lib/deprec/{callbacks → cap/callbacks}/asset_pipeline.rb +0 -0
  7. data/lib/deprec/{recipes → cap/recipes}/aoe.rb +0 -0
  8. data/lib/deprec/{recipes → cap/recipes}/apache.rb +0 -0
  9. data/lib/deprec/{recipes → cap/recipes}/bash.rb +0 -0
  10. data/lib/deprec/{recipes → cap/recipes}/canonical.rb +0 -0
  11. data/lib/deprec/{recipes → cap/recipes}/collectd.rb +0 -0
  12. data/lib/deprec/{recipes → cap/recipes}/deprec.rb +1 -2
  13. data/lib/deprec/{recipes → cap/recipes}/deprecated.rb +0 -0
  14. data/lib/deprec/{recipes → cap/recipes}/ec2.rb +0 -0
  15. data/lib/deprec/{recipes → cap/recipes}/example.rb +0 -0
  16. data/lib/deprec/{recipes → cap/recipes}/git.rb +0 -0
  17. data/lib/deprec/{recipes → cap/recipes}/haproxy.rb +0 -0
  18. data/lib/deprec/{recipes → cap/recipes}/heartbeat.rb +0 -0
  19. data/lib/deprec/{recipes → cap/recipes}/logrotate.rb +0 -0
  20. data/lib/deprec/{recipes → cap/recipes}/lvm.rb +0 -0
  21. data/lib/deprec/{recipes → cap/recipes}/mongrel.rb +0 -0
  22. data/lib/deprec/{recipes → cap/recipes}/monit.rb +0 -0
  23. data/lib/deprec/{recipes → cap/recipes}/mri.rb +0 -0
  24. data/lib/deprec/{recipes → cap/recipes}/mysql.rb +0 -0
  25. data/lib/deprec/{recipes → cap/recipes}/nagios.rb +0 -0
  26. data/lib/deprec/{recipes → cap/recipes}/nagios3.rb +0 -0
  27. data/lib/deprec/{recipes → cap/recipes}/network.rb +0 -0
  28. data/lib/deprec/{recipes → cap/recipes}/nginx.rb +0 -0
  29. data/lib/deprec/{recipes → cap/recipes}/nrpe.rb +0 -0
  30. data/lib/deprec/{recipes → cap/recipes}/ntp.rb +0 -0
  31. data/lib/deprec/{recipes → cap/recipes}/passenger.rb +0 -0
  32. data/lib/deprec/{recipes → cap/recipes}/php.rb +0 -0
  33. data/lib/deprec/{recipes → cap/recipes}/postfix.rb +0 -0
  34. data/lib/deprec/{recipes → cap/recipes}/postgresql.rb +0 -0
  35. data/lib/deprec/{recipes → cap/recipes}/rack.rb +0 -0
  36. data/lib/deprec/{recipes → cap/recipes}/rails.rb +4 -4
  37. data/lib/deprec/{recipes → cap/recipes}/ree.rb +0 -0
  38. data/lib/deprec/{recipes → cap/recipes}/rubygems.rb +0 -0
  39. data/lib/deprec/{recipes → cap/recipes}/sqlite.rb +0 -0
  40. data/lib/deprec/{recipes → cap/recipes}/ssh.rb +0 -0
  41. data/lib/deprec/{recipes → cap/recipes}/ssl.rb +0 -0
  42. data/lib/deprec/{recipes → cap/recipes}/stunnel.rb +0 -0
  43. data/lib/deprec/{recipes → cap/recipes}/syslog.rb +0 -0
  44. data/lib/deprec/{recipes → cap/recipes}/syslog_ng.rb +0 -0
  45. data/lib/deprec/{recipes → cap/recipes}/ubuntu.rb +0 -0
  46. data/lib/deprec/{recipes → cap/recipes}/users.rb +0 -0
  47. data/lib/deprec/{recipes → cap/recipes}/utils.rb +0 -0
  48. data/lib/deprec/{recipes → cap/recipes}/xen.rb +0 -0
  49. data/lib/deprec/{recipes → cap/recipes}/xentools.rb +0 -0
  50. data/lib/deprec/{templates → cap/templates}/aoe/aoe-init +0 -0
  51. data/lib/deprec/{templates → cap/templates}/aoe/fence_aoemask +0 -0
  52. data/lib/deprec/{templates → cap/templates}/apache/CHANGES.txt +0 -0
  53. data/lib/deprec/{templates → cap/templates}/apache/apache2.conf.erb +0 -0
  54. data/lib/deprec/{templates → cap/templates}/apache/default.erb +0 -0
  55. data/lib/deprec/{templates → cap/templates}/apache/namevirtualhosts.conf +0 -0
  56. data/lib/deprec/{templates → cap/templates}/apache/ports.conf.erb +0 -0
  57. data/lib/deprec/{templates → cap/templates}/apache/status.conf.erb +0 -0
  58. data/lib/deprec/{templates → cap/templates}/apache/vhost.erb +0 -0
  59. data/lib/deprec/{templates → cap/templates}/bash/bash_global +0 -0
  60. data/lib/deprec/{templates → cap/templates}/collectd/collectd-init.d +0 -0
  61. data/lib/deprec/{templates → cap/templates}/collectd/collectd.conf.erb +0 -0
  62. data/lib/deprec/{templates → cap/templates}/deprec/caprc.erb +0 -0
  63. data/lib/deprec/{templates → cap/templates}/haproxy/haproxy-init.d +0 -0
  64. data/lib/deprec/{templates → cap/templates}/haproxy/haproxy.cfg.erb +0 -0
  65. data/lib/deprec/{templates → cap/templates}/heartbeat/authkeys.erb +0 -0
  66. data/lib/deprec/{templates → cap/templates}/heartbeat/ha.cf.erb +0 -0
  67. data/lib/deprec/{templates → cap/templates}/heartbeat/haresources.erb +0 -0
  68. data/lib/deprec/{templates → cap/templates}/logrotate/logrotate.conf.erb +0 -0
  69. data/lib/deprec/{templates → cap/templates}/mongrel/apache_vhost.conf.erb +0 -0
  70. data/lib/deprec/{templates → cap/templates}/mongrel/logrotate.conf.erb +0 -0
  71. data/lib/deprec/{templates → cap/templates}/mongrel/mongrel_cluster-init-script +0 -0
  72. data/lib/deprec/{templates → cap/templates}/mongrel/mongrel_cluster.yml.erb +0 -0
  73. data/lib/deprec/{templates → cap/templates}/mongrel/monit.conf.erb +0 -0
  74. data/lib/deprec/{templates → cap/templates}/mongrel/nginx_vhost.conf.erb +0 -0
  75. data/lib/deprec/{templates → cap/templates}/monit/monit-init-script +0 -0
  76. data/lib/deprec/{templates → cap/templates}/monit/monitrc.erb +0 -0
  77. data/lib/deprec/{templates → cap/templates}/monit/nothing.monitrc +0 -0
  78. data/lib/deprec/{templates → cap/templates}/mysql/create_databases.sql +0 -0
  79. data/lib/deprec/{templates → cap/templates}/mysql/database.yml.prod +0 -0
  80. data/lib/deprec/{templates → cap/templates}/mysql/database.yml.stage +0 -0
  81. data/lib/deprec/{templates → cap/templates}/mysql/my.cnf.erb +0 -0
  82. data/lib/deprec/{templates → cap/templates}/mysql/sphinx.conf.prod +0 -0
  83. data/lib/deprec/{templates → cap/templates}/mysql/sphinx.conf.stage +0 -0
  84. data/lib/deprec/{templates → cap/templates}/nagios.old/README +0 -0
  85. data/lib/deprec/{templates → cap/templates}/nagios.old/apache_vhost.erb +0 -0
  86. data/lib/deprec/{templates → cap/templates}/nagios.old/cgi.cfg.erb +0 -0
  87. data/lib/deprec/{templates → cap/templates}/nagios.old/check_linux_free_memory.pl +0 -0
  88. data/lib/deprec/{templates → cap/templates}/nagios.old/check_mongrel_cluster.rb +0 -0
  89. data/lib/deprec/{templates → cap/templates}/nagios.old/htpasswd.users +0 -0
  90. data/lib/deprec/{templates → cap/templates}/nagios.old/mrtg.cfg +0 -0
  91. data/lib/deprec/{templates → cap/templates}/nagios.old/nagios.cfg.erb +0 -0
  92. data/lib/deprec/{templates → cap/templates}/nagios.old/nrpe.cfg.erb +0 -0
  93. data/lib/deprec/{templates → cap/templates}/nagios.old/nrpe.xinetd.erb +0 -0
  94. data/lib/deprec/{templates → cap/templates}/nagios.old/objects/commands.cfg.erb +0 -0
  95. data/lib/deprec/{templates → cap/templates}/nagios.old/objects/contacts.cfg.erb +0 -0
  96. data/lib/deprec/{templates → cap/templates}/nagios.old/objects/hosts.cfg.erb +0 -0
  97. data/lib/deprec/{templates → cap/templates}/nagios.old/objects/localhost.cfg.erb +0 -0
  98. data/lib/deprec/{templates → cap/templates}/nagios.old/objects/services.cfg.erb +0 -0
  99. data/lib/deprec/{templates → cap/templates}/nagios.old/objects/timeperiods.cfg.erb +0 -0
  100. data/lib/deprec/{templates → cap/templates}/nagios.old/resource.cfg.erb +0 -0
  101. data/lib/deprec/{templates → cap/templates}/nagios/apache2.conf +0 -0
  102. data/lib/deprec/{templates → cap/templates}/nagios/cgi.cfg +0 -0
  103. data/lib/deprec/{templates → cap/templates}/nagios/check_linux_free_memory.pl +0 -0
  104. data/lib/deprec/{templates → cap/templates}/nagios/commands.cfg +0 -0
  105. data/lib/deprec/{templates → cap/templates}/nagios/conf.d/contacts_nagios2.cfg +0 -0
  106. data/lib/deprec/{templates → cap/templates}/nagios/conf.d/extinfo_nagios2.cfg +0 -0
  107. data/lib/deprec/{templates → cap/templates}/nagios/conf.d/generic-host_nagios2.cfg +0 -0
  108. data/lib/deprec/{templates → cap/templates}/nagios/conf.d/generic-service_nagios2.cfg +0 -0
  109. data/lib/deprec/{templates → cap/templates}/nagios/conf.d/hostgroups_nagios2.cfg +0 -0
  110. data/lib/deprec/{templates → cap/templates}/nagios/conf.d/hosts/localhost_nagios2.cfg +0 -0
  111. data/lib/deprec/{templates → cap/templates}/nagios/conf.d/services_nagios2.cfg +0 -0
  112. data/lib/deprec/{templates → cap/templates}/nagios/conf.d/timeperiods_nagios2.cfg +0 -0
  113. data/lib/deprec/{templates → cap/templates}/nagios/host_template.erb +0 -0
  114. data/lib/deprec/{templates → cap/templates}/nagios/htpasswd.users +0 -0
  115. data/lib/deprec/{templates → cap/templates}/nagios/nagios.cfg +0 -0
  116. data/lib/deprec/{templates → cap/templates}/nagios/nrpe.cfg +0 -0
  117. data/lib/deprec/{templates → cap/templates}/nagios/resource.cfg +0 -0
  118. data/lib/deprec/{templates → cap/templates}/network/hostname.erb +0 -0
  119. data/lib/deprec/{templates → cap/templates}/network/hosts.erb +0 -0
  120. data/lib/deprec/{templates → cap/templates}/network/interfaces.erb +0 -0
  121. data/lib/deprec/{templates → cap/templates}/network/resolv.conf.erb +0 -0
  122. data/lib/deprec/{templates → cap/templates}/nginx/logrotate.conf.erb +0 -0
  123. data/lib/deprec/{templates → cap/templates}/nginx/mime.types.erb +0 -0
  124. data/lib/deprec/{templates → cap/templates}/nginx/nginx-init-script +0 -0
  125. data/lib/deprec/{templates → cap/templates}/nginx/nginx.conf.erb +0 -0
  126. data/lib/deprec/{templates → cap/templates}/nginx/nginx.logrotate.d +0 -0
  127. data/lib/deprec/{templates → cap/templates}/nginx/nothing.conf +0 -0
  128. data/lib/deprec/{templates → cap/templates}/nginx/rails_nginx_vhost.conf.erb +0 -0
  129. data/lib/deprec/{templates → cap/templates}/ntp/ntp.conf.erb +0 -0
  130. data/lib/deprec/{templates → cap/templates}/passenger/apache_vhost.erb +0 -0
  131. data/lib/deprec/{templates → cap/templates}/passenger/logrotate.conf.erb +0 -0
  132. data/lib/deprec/{templates → cap/templates}/passenger/passenger.conf.erb +0 -0
  133. data/lib/deprec/{templates → cap/templates}/passenger/passenger.load.erb +0 -0
  134. data/lib/deprec/{templates → cap/templates}/postfix/aliases.erb +0 -0
  135. data/lib/deprec/{templates → cap/templates}/postfix/dynamicmaps.cf.erb +0 -0
  136. data/lib/deprec/{templates → cap/templates}/postfix/main.cf.erb +0 -0
  137. data/lib/deprec/{templates → cap/templates}/postfix/master.cf.erb +0 -0
  138. data/lib/deprec/{templates → cap/templates}/ssh/ssh_config.erb +0 -0
  139. data/lib/deprec/{templates → cap/templates}/ssh/sshd_config.erb +0 -0
  140. data/lib/deprec/{templates → cap/templates}/ssl/make-ssl-cert +0 -0
  141. data/lib/deprec/{templates → cap/templates}/ssl/ssl-cert-snakeoil.key +0 -0
  142. data/lib/deprec/{templates → cap/templates}/ssl/ssl-cert-snakeoil.pem +0 -0
  143. data/lib/deprec/{templates → cap/templates}/stunnel/stunnel.conf-client +0 -0
  144. data/lib/deprec/{templates → cap/templates}/stunnel/stunnel.conf-orig +0 -0
  145. data/lib/deprec/{templates → cap/templates}/stunnel/stunnel.conf-server +0 -0
  146. data/lib/deprec/{templates → cap/templates}/stunnel/stunnel4 +0 -0
  147. data/lib/deprec/{templates → cap/templates}/stunnel/syslog-server.pem +0 -0
  148. data/lib/deprec/{templates → cap/templates}/syslog/syslog.conf.erb +0 -0
  149. data/lib/deprec/{templates → cap/templates}/syslog/syslogd.erb +0 -0
  150. data/lib/deprec/{templates → cap/templates}/syslog_ng/apache_syslog +0 -0
  151. data/lib/deprec/{templates → cap/templates}/syslog_ng/syslog-ng.conf-client +0 -0
  152. data/lib/deprec/{templates → cap/templates}/syslog_ng/syslog-ng.conf-orig +0 -0
  153. data/lib/deprec/{templates → cap/templates}/syslog_ng/syslog-ng.conf-server +0 -0
  154. data/lib/deprec/{templates → cap/templates}/xen/network-bridge-wrapper +0 -0
  155. data/lib/deprec/{templates → cap/templates}/xen/xend-config.sxp.erb +0 -0
  156. data/lib/deprec/{templates → cap/templates}/xen/xend-init.erb +0 -0
  157. data/lib/deprec/{templates → cap/templates}/xen/xendomains.erb +0 -0
  158. data/lib/deprec/{templates → cap/templates}/xentools/15-disable-hwclock +0 -0
  159. data/lib/deprec/{templates → cap/templates}/xentools/40-setup-networking +0 -0
  160. data/lib/deprec/{templates → cap/templates}/xentools/xen-tools.conf.erb +0 -0
  161. data/lib/deprec/{templates → cap/templates}/xentools/xm.tmpl.erb +0 -0
  162. data/lib/deprec_minus_rails.rb +22 -12
  163. metadata +178 -212
  164. data/lib/deprec/TODO.txt +0 -6
  165. data/lib/deprec/capistrano_extensions.rb +0 -418
  166. data/lib/deprec/recipes.rb +0 -7
  167. data/lib/deprec/recipes/ar_sendmail.rb +0 -67
  168. data/lib/deprec/recipes/chef.rb +0 -68
  169. data/lib/deprec/recipes/couchdb.rb +0 -107
  170. data/lib/deprec/recipes/ddclient.rb +0 -51
  171. data/lib/deprec/recipes/gitosis.rb +0 -55
  172. data/lib/deprec/recipes/integrity.rb +0 -108
  173. data/lib/deprec/recipes/memcache.rb +0 -49
  174. data/lib/deprec/recipes/sphinx.rb +0 -86
  175. data/lib/deprec/recipes/starling.rb +0 -119
  176. data/lib/deprec/recipes/svn.rb +0 -12
  177. data/lib/deprec/recipes/trac.rb +0 -277
  178. data/lib/deprec/recipes/vmware_tools.rb +0 -15
  179. data/lib/deprec/recipes/vnstat.rb +0 -85
  180. data/lib/deprec/recipes/wpmu.rb +0 -103
  181. data/lib/deprec/recipes_minus_rails.rb +0 -69
  182. data/lib/deprec/templates/ar_sendmail/logrotate.conf.erb +0 -9
  183. data/lib/deprec/templates/ar_sendmail/monit.conf.erb +0 -5
  184. data/lib/deprec/templates/chef/chef.json.erb +0 -1
  185. data/lib/deprec/templates/chef/solo.rb +0 -2
  186. data/lib/deprec/templates/ddclient/ddclient.conf.erb +0 -11
  187. data/lib/deprec/templates/ddclient/ddclient.erb +0 -15
  188. data/lib/deprec/templates/integrity/apache_vhost.erb +0 -4
  189. data/lib/deprec/templates/integrity/config.ru.erb +0 -21
  190. data/lib/deprec/templates/integrity/config.yml.erb +0 -43
  191. data/lib/deprec/templates/sphinx/monit.conf.erb +0 -5
  192. data/lib/deprec/templates/starling/monit.conf.erb +0 -14
  193. data/lib/deprec/templates/starling/starling-init-script.erb +0 -71
  194. data/lib/deprec/templates/subversion/svn.apache.vhost.erb +0 -43
  195. data/lib/deprec/templates/trac/apache_vhost.conf.erb +0 -24
  196. data/lib/deprec/templates/trac/nginx_vhost.conf.erb +0 -26
  197. data/lib/deprec/templates/trac/trac.ini.erb +0 -169
  198. data/lib/deprec/templates/trac/trac_deprec.png +0 -0
  199. data/lib/deprec/templates/trac/tracd-init.erb +0 -43
  200. data/lib/deprec/templates/trac/users.htdigest.erb +0 -0
  201. data/lib/deprec/templates/vnstat/config.php +0 -57
  202. data/lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb +0 -31
  203. data/lib/deprec/templates/wordpress/wp-config.php.erb +0 -31
  204. data/lib/deprec/templates/wpmu/apache_vhost.conf.erb +0 -13
  205. data/lib/vmbuilder_plugins/all.rb +0 -20
  206. data/lib/vmbuilder_plugins/apt.rb +0 -93
  207. data/lib/vmbuilder_plugins/emerge.rb +0 -76
  208. data/lib/vmbuilder_plugins/gem.rb +0 -90
  209. data/lib/vmbuilder_plugins/std.rb +0 -203
@@ -1,26 +0,0 @@
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
- }
@@ -1,169 +0,0 @@
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
-
@@ -1,43 +0,0 @@
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
@@ -1,57 +0,0 @@
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
- ?>
@@ -1,31 +0,0 @@
1
- <VirtualHost *:80>
2
- ServerName <%= wordpress_domain %>
3
- DocumentRoot <%= "#{wordpress_install_dir}" %>
4
-
5
- <Directory <%= "#{wordpress_install_dir}" %>>
6
- DirectoryIndex index.html index.htm index.php
7
- Options FollowSymLinks
8
- AllowOverride None
9
- Order allow,deny
10
- Allow from all
11
- </Directory>
12
-
13
- RewriteEngine On
14
-
15
- # Prevent access to .svn directories
16
- RewriteRule ^(.*/)?\.svn/ - [F,L]
17
- ErrorDocument 403 "Access Forbidden"
18
-
19
- # Prevent access to .git directories
20
- RewriteRule ^(.*/)?\.git/ - [F,L]
21
- ErrorDocument 403 "Access Forbidden"
22
-
23
- # Deflate
24
- AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript
25
- BrowserMatch ^Mozilla/4 gzip-only-text/html
26
- BrowserMatch ^Mozilla/4\.0[678] no-gzip
27
- BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
28
-
29
- ErrorLog logs/<%= wordpress_domain %>-error_log
30
- CustomLog logs/<%= wordpress_domain %>-access_log combined
31
- </VirtualHost>
@@ -1,31 +0,0 @@
1
- <?php
2
- // ** MySQL settings ** //
3
- define('DB_NAME', '<%= db_name %>'); // The name of the database
4
- define('DB_USER', '<%= db_user %>'); // Your MySQL username
5
- define('DB_PASSWORD', '<%= db_pass %>'); // ...and password
6
- define('DB_HOST', '<%= db_host %>'); // 99% chance you won't need to change this value
7
- define('DB_CHARSET', '<%= db_charset %>');
8
- define('DB_COLLATE', '<%= db_collate %>');
9
-
10
- // Change each KEY to a different unique phrase. You won't have to remember the phrases later,
11
- // so make them long and complicated. You can visit http://api.wordpress.org/secret-key/1.1/
12
- // to get keys generated for you, or just make something up. Each key should have a different phrase.
13
- define('AUTH_KEY', '<%= auth_key %>'); // Change this to a unique phrase.
14
- define('SECURE_AUTH_KEY', '<%= secure_auth_key %>'); // Change this to a unique phrase.
15
- define('LOGGED_IN_KEY', '<%= logged_in_key %>'); // Change this to a unique phrase.
16
-
17
- // You can have multiple installations in one database if you give each a unique prefix
18
- $table_prefix = 'wp_'; // Only numbers, letters, and underscores please!
19
-
20
- // Change this to localize WordPress. A corresponding MO file for the
21
- // chosen language must be installed to wp-content/languages.
22
- // For example, install de.mo to wp-content/languages and set WPLANG to 'de'
23
- // to enable German language support.
24
- define ('WPLANG', '');
25
-
26
- /* That's all, stop editing! Happy blogging. */
27
-
28
- if ( !defined('ABSPATH') )
29
- define('ABSPATH', dirname(__FILE__) . '/');
30
- require_once(ABSPATH . 'wp-settings.php');
31
- ?>
@@ -1,13 +0,0 @@
1
- NameVirtualHost *
2
- <VirtualHost *>
3
- ServerName <%= wpmu_domain %>
4
- DocumentRoot <%= wpmu_root %>
5
- <Directory <%= wpmu_root %>>
6
- Options Indexes FollowSymLinks MultiViews
7
- AllowOverride FileInfo Options
8
- Order allow,deny
9
- allow from all
10
- </Directory>
11
- ErrorLog <%= apache_log_dir %>/wpmu-error.log
12
- CustomLog <%= apache_log_dir %>/wpmu-access.log combined
13
- </VirtualHost>
@@ -1,20 +0,0 @@
1
- # =all.rb: Load all the Capistrano Plugins in the directory.
2
- #
3
- # Require all other ruby files in the directory.
4
- #
5
- # ----
6
- # Copyright (c) 2007 Neil Wilson, Aldur Systems Ltd
7
- #
8
- # Licensed under the GNU Public License v2. No warranty is provided.
9
- # ----
10
- # = Usage
11
- #
12
- # require 'vmbuilder_plugins/all'
13
-
14
- # Splitting and joining __FILE__ deals with the current directory case
15
- # properly
16
- Dir[File.join( File.dirname(__FILE__), '*.rb')].each do |plugin_name|
17
- unless plugin_name == File.join(File.dirname(__FILE__), File.basename(__FILE__))
18
- require plugin_name
19
- end
20
- end
@@ -1,93 +0,0 @@
1
- # =apt.rb: Debian 'apt' Installer library
2
- # Capistrano plugin module to install and manage apt packages
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
- # Apt is a Capistrano plugin module providing a set of methods
13
- # that invoke the *apt* package manager (as used in Debian and Ubuntu)
14
- #
15
- # Installs within Capistrano as the plugin _apt_.
16
- #
17
- # =Usage
18
- #
19
- # require 'vmbuilder_plugins/apt'
20
- #
21
- # Prefix all calls to the library with <tt>apt.</tt>
22
- #
23
- module Apt
24
-
25
- # Default apt-get command - reduces any interactivity to the minimum.
26
- APT_GET="DEBCONF_TERSE='yes' DEBIAN_PRIORITY='critical' DEBIAN_FRONTEND=noninteractive apt-get"
27
-
28
- # Run the apt install program across the package list in 'packages'.
29
- # Select those packages referenced by <tt>:base</tt> and the +version+
30
- # of the distribution you want to use.
31
- def install(packages, version, options={})
32
- update
33
- special_options="--allow-unauthenticated" if version != :stable
34
- send(run_method, %{
35
- sh -c "#{APT_GET} -qyu --force-yes #{special_options.to_s} install #{package_list(packages, version)}"
36
- }, options)
37
- end
38
-
39
- # Run an apt clean
40
- def clean(options={})
41
- send(run_method, %{sh -c "#{APT_GET} -qy clean"}, options)
42
- end
43
-
44
- # Run an apt autoclean
45
- def autoclean(options={})
46
- send(run_method, %{sh -c "#{APT_GET} -qy autoclean"}, options)
47
- end
48
-
49
- # Run an apt distribution upgrade
50
- def dist_upgrade(options={})
51
- update
52
- send(run_method, %{sh -c "#{APT_GET} -qy dist-upgrade"}, options)
53
- end
54
-
55
- # Run an apt upgrade. Use dist_upgrade instead if you want to upgrade
56
- # the critical base packages.
57
- def upgrade(options={})
58
- update
59
- send(run_method, %{sh -c "#{APT_GET} -qy upgrade"}, options)
60
- end
61
-
62
- # Run an apt update.
63
- def update(options={})
64
- send(run_method, %{sh -c "#{APT_GET} -qy update"}, options)
65
- end
66
-
67
- # RPM package install via alien
68
- def rpm_install(packages, options={})
69
- install({:base => %w(wget alien) }, :base)
70
- send(run_method, "wget -Ncq #{packages.join(' ')}", options)
71
- files=packages.collect { |package| File.basename(package) }
72
- send(run_method, "alien -i #{files.join(' ')}", options)
73
- end
74
-
75
- # Clear the source list and package cache
76
- def clear_cache(options={})
77
- clean
78
- cmd="rm -f /var/cache/apt/*.bin /var/lib/apt/lists/*_* /var/lib/apt/lists/partial/*"
79
- send(run_method, cmd, options)
80
- end
81
-
82
- private
83
-
84
- # Provides a string containing all the package names in the base
85
- #list plus those in +version+.
86
- def package_list(packages, version)
87
- Array(packages[:base]).join(' ') + ' ' + Array(packages[version]).join(' ')
88
- end
89
-
90
- end
91
-
92
- Capistrano.plugin :apt, Apt
93
- # vim: nowrap sw=2 sts=2 ts=8 ff=unix ft=ruby: