le1t0-deprec 2.1.6.001

Sign up to get free protection for your applications and to get access to all the features.
Files changed (230) hide show
  1. data/CHANGELOG +444 -0
  2. data/COPYING +19 -0
  3. data/LICENSE +339 -0
  4. data/README +154 -0
  5. data/THANKS +17 -0
  6. data/bin/depify +139 -0
  7. data/docs/EXAMPLE-installing_tracks.txt +41 -0
  8. data/docs/README.nagios +22 -0
  9. data/docs/README.rails +17 -0
  10. data/docs/config_gen_explained.txt +39 -0
  11. data/docs/deprec-1.x/deprec-1.x.quickstart +50 -0
  12. data/docs/deprec-1.x/notes.txt +12 -0
  13. data/docs/old/deprec_banner.gif +0 -0
  14. data/docs/windows_linux.txt +350 -0
  15. data/docs/xen/traffic_monitoring_with_vnstat.txt +95 -0
  16. data/docs/xen/xen-tools-notes.txt +31 -0
  17. data/docs/xen/xen_on_hardy.txt +39 -0
  18. data/lib/deprec.rb +42 -0
  19. data/lib/deprec/capistrano_extensions.rb +446 -0
  20. data/lib/deprec/recipes.rb +7 -0
  21. data/lib/deprec/recipes/aoe.rb +79 -0
  22. data/lib/deprec/recipes/app/mongrel.rb +213 -0
  23. data/lib/deprec/recipes/app/passenger.rb +190 -0
  24. data/lib/deprec/recipes/ar_sendmail.rb +67 -0
  25. data/lib/deprec/recipes/aspell.rb +22 -0
  26. data/lib/deprec/recipes/canonical.rb +68 -0
  27. data/lib/deprec/recipes/cap.rb +39 -0
  28. data/lib/deprec/recipes/chef.rb +68 -0
  29. data/lib/deprec/recipes/collectd.rb +112 -0
  30. data/lib/deprec/recipes/db/couchdb.rb +107 -0
  31. data/lib/deprec/recipes/db/mysql.rb +194 -0
  32. data/lib/deprec/recipes/db/postgresql.rb +104 -0
  33. data/lib/deprec/recipes/db/sqlite.rb +37 -0
  34. data/lib/deprec/recipes/ddclient.rb +51 -0
  35. data/lib/deprec/recipes/deprec.rb +167 -0
  36. data/lib/deprec/recipes/deprecated.rb +71 -0
  37. data/lib/deprec/recipes/drbd.rb +137 -0
  38. data/lib/deprec/recipes/dummy.rb +22 -0
  39. data/lib/deprec/recipes/example.rb +115 -0
  40. data/lib/deprec/recipes/git.rb +97 -0
  41. data/lib/deprec/recipes/gitosis.rb.disabled +55 -0
  42. data/lib/deprec/recipes/glusterfs.rb +176 -0
  43. data/lib/deprec/recipes/god.rb +70 -0
  44. data/lib/deprec/recipes/haproxy.rb +115 -0
  45. data/lib/deprec/recipes/heartbeat.rb +138 -0
  46. data/lib/deprec/recipes/imagemagick/imagemagick_bin.rb +24 -0
  47. data/lib/deprec/recipes/imagemagick/imagemagick_src.rb +39 -0
  48. data/lib/deprec/recipes/integrity.rb +108 -0
  49. data/lib/deprec/recipes/iptables.rb +94 -0
  50. data/lib/deprec/recipes/java.rb +23 -0
  51. data/lib/deprec/recipes/keepalived.rb +78 -0
  52. data/lib/deprec/recipes/ldap.rb +52 -0
  53. data/lib/deprec/recipes/logrotate.rb +56 -0
  54. data/lib/deprec/recipes/lvm.rb +20 -0
  55. data/lib/deprec/recipes/memcache.rb +49 -0
  56. data/lib/deprec/recipes/mongodb.rb +94 -0
  57. data/lib/deprec/recipes/monit.rb +135 -0
  58. data/lib/deprec/recipes/mysql_proxy.rb +67 -0
  59. data/lib/deprec/recipes/nagios.rb +361 -0
  60. data/lib/deprec/recipes/network.rb +116 -0
  61. data/lib/deprec/recipes/ntp.rb +103 -0
  62. data/lib/deprec/recipes/php.rb +58 -0
  63. data/lib/deprec/recipes/postfix.rb +115 -0
  64. data/lib/deprec/recipes/profiles.rb +125 -0
  65. data/lib/deprec/recipes/raid/amcc_3ware.rb +21 -0
  66. data/lib/deprec/recipes/rails.rb +330 -0
  67. data/lib/deprec/recipes/redhat_cluster.rb +228 -0
  68. data/lib/deprec/recipes/redis.rb +90 -0
  69. data/lib/deprec/recipes/ruby/mri.rb +55 -0
  70. data/lib/deprec/recipes/ruby/ree.rb +40 -0
  71. data/lib/deprec/recipes/rvm.rb +32 -0
  72. data/lib/deprec/recipes/s3utils.rb +63 -0
  73. data/lib/deprec/recipes/sphinx/thinking_sphinx.rb +105 -0
  74. data/lib/deprec/recipes/sphinx/ultrasphinx.rb +86 -0
  75. data/lib/deprec/recipes/ssh.rb +147 -0
  76. data/lib/deprec/recipes/ssl.rb +56 -0
  77. data/lib/deprec/recipes/starling.rb +119 -0
  78. data/lib/deprec/recipes/svn.rb +171 -0
  79. data/lib/deprec/recipes/syslog.rb +63 -0
  80. data/lib/deprec/recipes/trac.rb.disabled +277 -0
  81. data/lib/deprec/recipes/tsung.rb +74 -0
  82. data/lib/deprec/recipes/ubuntu.rb +90 -0
  83. data/lib/deprec/recipes/users.rb +90 -0
  84. data/lib/deprec/recipes/utils.rb +58 -0
  85. data/lib/deprec/recipes/vnstat.rb +85 -0
  86. data/lib/deprec/recipes/web/apache.rb +143 -0
  87. data/lib/deprec/recipes/web/nginx.rb +172 -0
  88. data/lib/deprec/recipes/wordpress.rb.notworking +96 -0
  89. data/lib/deprec/recipes/wpmu.rb +103 -0
  90. data/lib/deprec/recipes/xen.rb +364 -0
  91. data/lib/deprec/recipes/xentools.rb +101 -0
  92. data/lib/deprec/recipes_minus_rails.rb +125 -0
  93. data/lib/deprec/templates/aoe/aoe-init +55 -0
  94. data/lib/deprec/templates/aoe/fence_aoemask +351 -0
  95. data/lib/deprec/templates/apache/namevirtualhosts.conf +5 -0
  96. data/lib/deprec/templates/apache/ports.conf.erb +5 -0
  97. data/lib/deprec/templates/apache/status.conf.erb +17 -0
  98. data/lib/deprec/templates/ar_sendmail/logrotate.conf.erb +9 -0
  99. data/lib/deprec/templates/ar_sendmail/monit.conf.erb +5 -0
  100. data/lib/deprec/templates/chef/chef.json.erb +1 -0
  101. data/lib/deprec/templates/chef/solo.rb +2 -0
  102. data/lib/deprec/templates/collectd/collectd-init.d +153 -0
  103. data/lib/deprec/templates/collectd/collectd.conf.erb +686 -0
  104. data/lib/deprec/templates/ddclient/ddclient.conf.erb +11 -0
  105. data/lib/deprec/templates/ddclient/ddclient.erb +15 -0
  106. data/lib/deprec/templates/deprec/caprc.erb +14 -0
  107. data/lib/deprec/templates/drbd/drbd.conf.erb +531 -0
  108. data/lib/deprec/templates/glusterfs/glusterfsd-init.erb +95 -0
  109. data/lib/deprec/templates/gnbd_client/cluster.conf.erb +21 -0
  110. data/lib/deprec/templates/gnbd_client/clvm-default.erb +3 -0
  111. data/lib/deprec/templates/gnbd_client/cman-default.erb +6 -0
  112. data/lib/deprec/templates/gnbd_client/gnbdimports.conf.erb +1 -0
  113. data/lib/deprec/templates/gnbd_server/cluster.conf.erb +20 -0
  114. data/lib/deprec/templates/gnbd_server/clvm-default.erb +3 -0
  115. data/lib/deprec/templates/gnbd_server/cman-default.erb +6 -0
  116. data/lib/deprec/templates/gnbd_server/gnbd-server-default.erb +1 -0
  117. data/lib/deprec/templates/gnbd_server/gnbdexports.conf.erb +1 -0
  118. data/lib/deprec/templates/god/god-conf.erb +2 -0
  119. data/lib/deprec/templates/god/god-init.erb +47 -0
  120. data/lib/deprec/templates/haproxy/haproxy-init.d +120 -0
  121. data/lib/deprec/templates/haproxy/haproxy.cfg.erb +31 -0
  122. data/lib/deprec/templates/heartbeat/authkeys.erb +2 -0
  123. data/lib/deprec/templates/heartbeat/ha.cf.erb +15 -0
  124. data/lib/deprec/templates/heartbeat/haresources.erb +1 -0
  125. data/lib/deprec/templates/integrity/apache_vhost.erb +4 -0
  126. data/lib/deprec/templates/integrity/config.ru.erb +21 -0
  127. data/lib/deprec/templates/integrity/config.yml.erb +43 -0
  128. data/lib/deprec/templates/iptables/firewall-default.erb +13 -0
  129. data/lib/deprec/templates/iptables/firewall-init.erb +171 -0
  130. data/lib/deprec/templates/keepalived/keepalived.conf.erb +18 -0
  131. data/lib/deprec/templates/logrotate/logrotate.conf.erb +32 -0
  132. data/lib/deprec/templates/mongodb/mongodb-init.d +88 -0
  133. data/lib/deprec/templates/mongrel/apache_vhost.conf.erb +148 -0
  134. data/lib/deprec/templates/mongrel/logrotate.conf.erb +11 -0
  135. data/lib/deprec/templates/mongrel/mongrel_cluster-init-script +54 -0
  136. data/lib/deprec/templates/mongrel/mongrel_cluster.yml.erb +10 -0
  137. data/lib/deprec/templates/mongrel/monit.conf.erb +17 -0
  138. data/lib/deprec/templates/mongrel/nginx_vhost.conf.erb +41 -0
  139. data/lib/deprec/templates/monit/monit-init-script +104 -0
  140. data/lib/deprec/templates/monit/monitrc.erb +250 -0
  141. data/lib/deprec/templates/monit/nothing.monitrc +0 -0
  142. data/lib/deprec/templates/mysql/create_databases.sql +20 -0
  143. data/lib/deprec/templates/mysql/database.yml.prod +6 -0
  144. data/lib/deprec/templates/mysql/database.yml.stage +6 -0
  145. data/lib/deprec/templates/mysql/my.cnf.erb +140 -0
  146. data/lib/deprec/templates/mysql/sphinx.conf.prod +542 -0
  147. data/lib/deprec/templates/mysql/sphinx.conf.stage +542 -0
  148. data/lib/deprec/templates/mysql_proxy/mysql-proxy-default.erb +4 -0
  149. data/lib/deprec/templates/nagios/README +32 -0
  150. data/lib/deprec/templates/nagios/cgi.cfg.erb +357 -0
  151. data/lib/deprec/templates/nagios/check_linux_free_memory.pl +118 -0
  152. data/lib/deprec/templates/nagios/check_mongrel_cluster.rb +82 -0
  153. data/lib/deprec/templates/nagios/htpasswd.users +1 -0
  154. data/lib/deprec/templates/nagios/mrtg.cfg +180 -0
  155. data/lib/deprec/templates/nagios/nagios.cfg.erb +1325 -0
  156. data/lib/deprec/templates/nagios/nrpe.cfg.erb +222 -0
  157. data/lib/deprec/templates/nagios/nrpe.xinetd.erb +16 -0
  158. data/lib/deprec/templates/nagios/objects/commands.cfg.erb +265 -0
  159. data/lib/deprec/templates/nagios/objects/contacts.cfg.erb +89 -0
  160. data/lib/deprec/templates/nagios/objects/hosts.cfg.erb +114 -0
  161. data/lib/deprec/templates/nagios/objects/localhost.cfg.erb +116 -0
  162. data/lib/deprec/templates/nagios/objects/services.cfg.erb +165 -0
  163. data/lib/deprec/templates/nagios/objects/timeperiods.cfg.erb +94 -0
  164. data/lib/deprec/templates/nagios/resource.cfg.erb +34 -0
  165. data/lib/deprec/templates/network/hostname.erb +1 -0
  166. data/lib/deprec/templates/network/hosts.erb +2 -0
  167. data/lib/deprec/templates/network/interfaces.erb +18 -0
  168. data/lib/deprec/templates/network/resolv.conf.erb +6 -0
  169. data/lib/deprec/templates/nginx/logrotate.conf.erb +13 -0
  170. data/lib/deprec/templates/nginx/mime.types.erb +70 -0
  171. data/lib/deprec/templates/nginx/nginx-init-script +62 -0
  172. data/lib/deprec/templates/nginx/nginx.conf.erb +125 -0
  173. data/lib/deprec/templates/nginx/nginx.logrotate.d +12 -0
  174. data/lib/deprec/templates/nginx/nothing.conf +1 -0
  175. data/lib/deprec/templates/nginx/rails_nginx_vhost.conf.erb +41 -0
  176. data/lib/deprec/templates/ntp/ntp.conf.erb +42 -0
  177. data/lib/deprec/templates/passenger/apache_vhost.erb +29 -0
  178. data/lib/deprec/templates/passenger/logrotate.conf.erb +12 -0
  179. data/lib/deprec/templates/passenger/passenger.conf.erb +21 -0
  180. data/lib/deprec/templates/passenger/passenger.load.erb +3 -0
  181. data/lib/deprec/templates/postfix/aliases.erb +3 -0
  182. data/lib/deprec/templates/postfix/dynamicmaps.cf.erb +8 -0
  183. data/lib/deprec/templates/postfix/main.cf.erb +36 -0
  184. data/lib/deprec/templates/postfix/master.cf.erb +77 -0
  185. data/lib/deprec/templates/redis/redis-conf.erb +132 -0
  186. data/lib/deprec/templates/redis/redis-init.erb +50 -0
  187. data/lib/deprec/templates/s3utils/s3cfg +35 -0
  188. data/lib/deprec/templates/s3utils/s3config.yml +3 -0
  189. data/lib/deprec/templates/sphinx/monit.conf.erb +5 -0
  190. data/lib/deprec/templates/ssh/ssh_config.erb +50 -0
  191. data/lib/deprec/templates/ssh/sshd_config.erb +78 -0
  192. data/lib/deprec/templates/ssl/make-ssl-cert +138 -0
  193. data/lib/deprec/templates/ssl/ssl-cert-snakeoil.key +15 -0
  194. data/lib/deprec/templates/ssl/ssl-cert-snakeoil.pem +19 -0
  195. data/lib/deprec/templates/starling/monit.conf.erb +14 -0
  196. data/lib/deprec/templates/starling/starling-init-script.erb +71 -0
  197. data/lib/deprec/templates/subversion/svn.apache.vhost.erb +43 -0
  198. data/lib/deprec/templates/syslog/syslog.conf.erb +71 -0
  199. data/lib/deprec/templates/syslog/syslogd.erb +13 -0
  200. data/lib/deprec/templates/trac/apache_vhost.conf.erb +24 -0
  201. data/lib/deprec/templates/trac/nginx_vhost.conf.erb +26 -0
  202. data/lib/deprec/templates/trac/trac.ini.erb +169 -0
  203. data/lib/deprec/templates/trac/trac_deprec.png +0 -0
  204. data/lib/deprec/templates/trac/tracd-init.erb +43 -0
  205. data/lib/deprec/templates/trac/users.htdigest.erb +0 -0
  206. data/lib/deprec/templates/tsung/tsung.xml.erb +47 -0
  207. data/lib/deprec/templates/vnstat/config.php +57 -0
  208. data/lib/deprec/templates/wordpress/apache2_wordpress_vhost.conf.erb +31 -0
  209. data/lib/deprec/templates/wordpress/wp-config.php.erb +31 -0
  210. data/lib/deprec/templates/wpmu/apache_vhost.conf.erb +13 -0
  211. data/lib/deprec/templates/xen/network-bridge-wrapper +3 -0
  212. data/lib/deprec/templates/xen/xend-config.sxp.erb +195 -0
  213. data/lib/deprec/templates/xen/xend-init.erb +57 -0
  214. data/lib/deprec/templates/xen/xendomains.erb +137 -0
  215. data/lib/deprec/templates/xentools/100-ubuntu-setup +26 -0
  216. data/lib/deprec/templates/xentools/15-disable-hwclock +40 -0
  217. data/lib/deprec/templates/xentools/30-disable-gettys +57 -0
  218. data/lib/deprec/templates/xentools/31-ubuntu-setup +32 -0
  219. data/lib/deprec/templates/xentools/40-setup-networking +145 -0
  220. data/lib/deprec/templates/xentools/98-custom +17 -0
  221. data/lib/deprec/templates/xentools/xen-tools.conf.erb +278 -0
  222. data/lib/deprec/templates/xentools/xm.tmpl.erb +138 -0
  223. data/lib/deprec_cmd_completion.sh +26 -0
  224. data/lib/deprec_minus_rails.rb +12 -0
  225. data/lib/vmbuilder_plugins/all.rb +20 -0
  226. data/lib/vmbuilder_plugins/apt.rb +93 -0
  227. data/lib/vmbuilder_plugins/emerge.rb +76 -0
  228. data/lib/vmbuilder_plugins/gem.rb +100 -0
  229. data/lib/vmbuilder_plugins/std.rb +203 -0
  230. metadata +304 -0
data/CHANGELOG ADDED
@@ -0,0 +1,444 @@
1
+ # deprec changelog
2
+
3
+ = 2.1.6.001 (May 19, 2010)
4
+
5
+ * add 3ware-raid
6
+ * add aspell
7
+ * add cap : some useful tasks, capistrano related
8
+ * add default-task-stubs : make sure config_gen/install/config/etc can always be called on all recipes
9
+ * add drbd
10
+ * add dummy : useful for testing capistrano task flow and profiles
11
+ * add glusterfs
12
+ * add god
13
+ * add imagemagick
14
+ * add iptables, including firewall script, configurable in one line
15
+ * add java
16
+ * add keepalived
17
+ * add ldap
18
+ * add mongodb
19
+ * add mysql-proxy
20
+ * add profiles : automate a lot of tasks in one profile + keep track of progress (restarting where you left off)
21
+ * add redhat-cluster
22
+ * add redis
23
+ * add rvm
24
+ * add s3utils
25
+ * add sphinx-alternatives : add thinking sphinx + choice
26
+ * add tsung
27
+ * fix rails-recipe : don't assume monit and logrotate are always used, don't start/restart webserver if :none was selected
28
+ * modify alternatives-registration : automate registration of alternatives, instead of needing manual coding
29
+ * modify mysql : some useful control and status tasks
30
+ * modify nagios : add support for custom plugins
31
+ * modify passenger : use passenger gem for installation
32
+ * modify recipe-loading : automate loading of recipes instead of needing manual coding
33
+ * modify ssh : add configuration of ssh keys on servers
34
+ * modify ubuntu : add useful tasks
35
+ * modify xen : add VM creation and control tasks
36
+
37
+ = 2.1.6 (Mar 3, 2009)
38
+
39
+ * monit-5.1.1
40
+ * haproxy-1.4.0
41
+
42
+ = 2.1.5 (Dec 3, 2009)
43
+
44
+ * collectd-4.8.1
45
+ * haproxy-1.3.22
46
+ * monit-5.0.3
47
+ * don't install vim-full as it installs gnome
48
+
49
+ = 2.1.4 (Sep 16, 2009)
50
+
51
+ * rubygems-1.3.5
52
+ * git-1.6.4.3
53
+
54
+ = 2.1.2 (Aug 26, 2009)
55
+
56
+ * Better support for Capistrano multistage
57
+ Look for database.yml in config/#{stage}/database.yml
58
+
59
+ = 2.1.1 (Aug 25, 2009)
60
+
61
+ * Added haproxy
62
+
63
+ = 2.1.0 (Aug 24, 2009)
64
+
65
+ * Added Collectd
66
+ * Added Syslog
67
+ * Updated Nagios to 3.2.0
68
+
69
+ == 2.0.15 (August 10, 2009)
70
+
71
+ * Moved apache logs for vhosts into /var/log/apache2 (override by setting :apache_log_dir)
72
+
73
+ == 2.0.14 (August 10, 2009)
74
+
75
+ * Added logrotate config for passenger
76
+
77
+ == 2.0.13 (July 5, 2009)
78
+
79
+ * Bugfix: updated url for REE (old one went away)
80
+
81
+ == 2.0.12 (June 24, 2009)
82
+
83
+ * Updated chef recipes
84
+
85
+ == 2.0.11 (June 19, 2009)
86
+
87
+ * Security update: ruby-1.8.7-p174
88
+
89
+ == 2.0.10 (June 14, 2009)
90
+
91
+ * Added CouchDB
92
+ * Added Chef
93
+ * Fixed Passenger gem version problem (permanently!) [gfairbrother]
94
+ * Updated ree version to ruby-enterprise-1.8.6-20090610
95
+
96
+ == 2.0.9 (April 14, 2009)
97
+
98
+ * Use passenger-2.1.3
99
+
100
+ * Added support for Capistrano multistage. Generated config files will be
101
+ have a directory with the stage name prefixed to their local path.
102
+
103
+ e.g. mbailey$ cap production deprec:monit:config_gen
104
+
105
+ [done] config/production/monit/etc/init.d/monit written
106
+ [done] config/production/monit/etc/monitrc written
107
+ [done] config/production/monit/etc/monit.d/nothing written
108
+
109
+ == 2.0.8 (March 17, 2009)
110
+
111
+ * :config task now renders configs directly to remote server if locally
112
+ rendered versions (from :config_gen task) do not exist.
113
+
114
+ == 2.0.7 (March 17, 2009)
115
+
116
+ * bugfix
117
+
118
+ == 2.0.6 (March 17, 2009)
119
+
120
+ * Added option to create ~/.caprc file. run 'depify -c'
121
+
122
+ == 2.0.5 (March 17, 2009)
123
+
124
+ * Added recipes and config templates for Integrity ci. http://integrityapp.com/
125
+ * bugfix: need to enable apache mods on install
126
+
127
+ == 2.0.4 (March 16, 2009)
128
+
129
+ * bugfix - updated Passenger version number
130
+
131
+ == 2.0.3 (March 3, 2009)
132
+
133
+ * bugfix - can't set ownership of environment.rb before deploy!
134
+
135
+ == 2.0.2 (March 3, 2009)
136
+
137
+ * Change owner of config/environment.rb to the value of app_user after deploy
138
+ so Passenger will run app as this user [mbailey]
139
+
140
+ * bugfix: set homedir for app_user account to value of deploy_to.
141
+ Passenger complains if homedir for user it runs as doesn't exist. [mbailey]
142
+
143
+ * Run the database rake tasks on the app server, not the db server. [mbailey]
144
+ e.g. cap deprec:database:schema_load
145
+
146
+ * Updated to ruby-enterprise-1.8.6-20090201
147
+
148
+ * Scan for ssh public key if not provided locally
149
+
150
+
151
+ == 2.0.1 (February 20, 2009)
152
+
153
+ Newly created ~/.caprc does not load Rails recipes.
154
+
155
+ This solves the problem of Capistrano's default deploy tasks
156
+ having 'before' and 'after' tasks added when you're deploying
157
+ a project that isn't setup to use deprec.
158
+
159
+ Existing users can update their existing ~/.caprc, replacing:
160
+
161
+ require 'deprec'
162
+
163
+ with:
164
+
165
+ require 'deprec_minus_rails'
166
+
167
+ == 2.0.0 (February 14, 2009)
168
+
169
+ * Official deprec-2.0 Rubyforge release!
170
+
171
+ == 1.99.34 (February 6, 2009)
172
+
173
+ * Bugfix: restricted some tasks to certain roles
174
+
175
+ == 1.99.33 (February 5, 2009)
176
+
177
+ # Added options for :web, :app, :db and :ruby software to install/use.
178
+ #
179
+ # Newly generated deploy.rb files specify Passenger, Apache and Ruby Enterprise
180
+ # Edition. If not specified, deprec defaults to Mongrel, Nginx and Ruby-1.8.7.
181
+ # This is so that existing users of deprec2 previews will not be affected.
182
+
183
+ * Added :ruby_vm_type option to choose between :mri and :ree Ruby versions
184
+
185
+ * Added :app_server_type
186
+ :passenger [set in new deploy.rb]
187
+ :mongrel [default if not set]
188
+
189
+ * Added :web_server_type
190
+ :apache [set in new depoy.rb] (for :mongrel or :passenger apps)
191
+ :nginx [default if not set] (for :mongrel apps)
192
+
193
+ * Added :db_server_type
194
+ :mysql [default]
195
+ :postgresql
196
+ :sqlite
197
+
198
+ # Other additions
199
+
200
+ * cap deprec:rails:setup_database
201
+
202
+ Creates database and user for Rails app using data from database.yml.
203
+ Respects value of :db_server_type
204
+
205
+ * Postgresql recipes [Eric Harris-Braun]
206
+
207
+ * Starling Recipes [Rob Caporetto]
208
+
209
+ * cap deprec:utils:handy
210
+
211
+ Installs a bunch of handy utils I can't live without:
212
+
213
+ lynx nmap netcat telnet dnsutils rsync curl wget mailx mutt vim-full tree
214
+
215
+ * Updated Apache vhost template for mongrel. Supports https and puts in dummy
216
+ certificate. Useful settings are:
217
+
218
+ set :apache_ssl_enabled, true
219
+ set :apache_ssl_forward_all, true
220
+
221
+ == 1.99.30 (November 28, 2008)
222
+
223
+ * Bugfix: use current_path for passenger_root
224
+
225
+ == 1.99.29 (November 28, 2008)
226
+
227
+ * Bugfix: deprec:passenger:install_deps was commented out for testing
228
+
229
+ == 1.99.28 (November 26, 2008)
230
+
231
+ * Added support for Phusion Passenger (http://www.modrails.com/) [mbailey]
232
+
233
+ * Restricted tasks to roles. [mbailey]
234
+ http://github.com/mbailey/deprec/commit/d103dda7ee3f7696007d230c76c7739dd57115ec
235
+
236
+ * Extend capistrano_extensions.rb to allow install from git sources. [jasherai]
237
+
238
+ * Updated git to 1.6.0.1 [thornysun]
239
+
240
+ == 1.99.27 (August 27, 2008)
241
+
242
+ * Bugfix: Add configure and make options to src_package for rubygems to
243
+ override defaults. [jasherai]
244
+
245
+ * Change: We now setup postfix as a satellite mail server. This is designed
246
+ to listen only on the local network interface and non-local mail to a relay
247
+ host. [mbailey]
248
+
249
+ == 1.99.26 (August 22, 2008)
250
+
251
+ * added vnstat recipes - measure and report traffic on interface counters [mbailey]
252
+ * upgrade ruby to 1.8.6-p287 [Isaac Kearse]
253
+ * upgrade to rubygems 1.2.0 - addresses memory utilization issues on
254
+ low-memory boxes (half-gig or less) [thewoolleyman]
255
+ * deprec:rails:install_stack now installs mysql [mbailey]
256
+ * turned tcp_nopush back on [mbailey]
257
+ * Correctly handle tarballs with .tgz extension [mbailey]
258
+ * Generate default remote config on install [mbailey]
259
+
260
+ == 1.99.24 (July 7, 2008)
261
+
262
+ * I've rejigged things to make it easier to install a service without having
263
+ a local config directory. For example:
264
+
265
+ cap deprec:nginx:install HOSTS=192.168.0.10
266
+
267
+ This will download and compile nginx, and push out a config file without
268
+ generating a local copy. You don't need a config/ dir and you don't need
269
+ to have defined a :web role.
270
+
271
+ Meta-tasks (like deprec:rails:install_stack) can now pass a block of commands
272
+ to with_roles(roles).
273
+
274
+ config_gen and config are still available but it's now possible to install
275
+ a rails stack without generating any local files.
276
+
277
+ == 1.99.21 (June 17, 2008)
278
+
279
+ * added recipes and config templates for ar_sendmail
280
+ * added gitosis support
281
+ * added deprec:xen:migrate for "manually" moving slice between hosts
282
+
283
+ == 1.99.20 (June 3, 2008)
284
+
285
+ * added git support: install git, manage ssh users and create remote repositories
286
+
287
+ == 1.99.19 (June 3, 2008)
288
+
289
+ * feature: added logrotate. configs generated for nginx and mongrel
290
+ * bugfix: monit:install was calling monit:activate but this won't work will monit:config is called.
291
+
292
+ == 1.99.18 (May 28, 2008)
293
+
294
+ * bugfix: nagios config option was not being set till after required
295
+
296
+ == 1.99.17 (May 22, 2008)
297
+
298
+ * monit config for mongrel now lives under config/mongrel instead of config/monit
299
+ This way, monit configs for services can live with the recipes/templates for that service.
300
+
301
+ == 1.99.16 (May 5, 2008)
302
+
303
+ * change: start mongrel using mongrel_cluster with --clean option so mongrel
304
+ will start even when there are stale pids around.
305
+
306
+ * bugfix: nginx vhost template now uses :mongrel_port instead of 8000
307
+
308
+
309
+ == 1.99.15 (Mar 27, 2008)
310
+
311
+ * moved vmbuilder_plugins out of deprec dir
312
+
313
+ == 1.99.14 (Feb 21, 2008)
314
+
315
+ * monit template now uses :mongrel_port instead of 8000
316
+
317
+ == 1.99.11 (Feb 21, 2008)
318
+
319
+ * enabled evented mongrel
320
+ * enhancement: updated how allowed hosts are generated
321
+ * bugfix: remove nginx index.html
322
+
323
+ == 1.99.8 (Feb 18, 2008)
324
+
325
+ * enhancement: added nginx_client_max_body_size setting for nginx rails vhost
326
+ * bugfix: monit config was broken
327
+
328
+ == 1.99.7 (Feb 18, 2008)
329
+
330
+ * enhancement: nginx vhost config now serves up assetX.hostname.com
331
+ * enhancement: deprec:db:schema_load is nicer than running migration initially
332
+
333
+ == 1.99.6 (Feb 15, 2008)
334
+
335
+ * bugfix: fixed monit support [Mike Bailey]
336
+
337
+ * bugfix: Mongrel wasn't starting when server rebooted. [Mike Bailey]
338
+
339
+ * bugfix: Fixed .caprc content [Mike Bailey]
340
+
341
+ == 1.99.5 (Feb 12, 2008)
342
+
343
+ * feature: installs and configures monit to manage your mongrel processes [Mike Bailey]
344
+
345
+ * feature: When running config_gen, if deprec discovers a file exists, checks
346
+ whether the new file differs from the existing one. If they're
347
+ identical, it skips it.
348
+
349
+ If they differ, the user is presented with the options to overwrite
350
+ or not but now there's an extra option to view a diff of the changes
351
+ that would occur. [Mike Bailey]
352
+
353
+ * change: handle_command_with_input now accepts an optional response parameter.
354
+ This is useful if you need to change a password on many servers and
355
+ don't want to have to keep entering the password at the prompt for
356
+ each box. [Mike Bailey]
357
+
358
+ == 1.99.4 (Feb 11, 2008)
359
+
360
+ * Bugfix: set correct path to templates [Mike Bailey]
361
+
362
+ deprec changelog (check the timeline at http://trac.deprecated.org/trac.cgi/timeline)
363
+
364
+ == 1.10.0
365
+ Massive changes in preparation for 2.0
366
+
367
+ == 1.8.0
368
+
369
+ * fixed scm_setup. it parses :repository if set and prompts user for values if not [Mike Bailey]
370
+ * added "role :scm, domain" to generated deploy.rb [Mike Bailey]
371
+ * added :trac_install, :trac_setup, :trac_start, :trac_stop [Mike Bailey]
372
+ * added :change_root_password and :change_root_password_as_root [Mike Bailey]
373
+ * moved templates dir [Mike Bailey]
374
+ * bugfix :db_setup now re-runnable
375
+
376
+ == 1.7.1
377
+
378
+ * bugfix: setup_ssh_keys() - print message and exit if ssh_options[:keys] not set [Mike Bailey]
379
+
380
+ == 1.7.0
381
+
382
+ * new tasks :install_memcached, :memcached_start, :memcached_stop, :memcached_restart [Mike Bailey]
383
+ * set default shell to '/bin/bash' for new users [Mike Bailey]
384
+ * bugfix: set default values for mongrel_user and mongrel_group [Mike Bailey]
385
+
386
+ == 1.6.0
387
+
388
+ * new task :install_php installs php-5.2.2 [Mike Bailey]
389
+
390
+ == 1.5.1
391
+
392
+ * bugfix: fixed bug in su_put that was causing Windows [Mike Bailey]
393
+
394
+ == 1.5.0
395
+
396
+ * bugfix: :set_perms_for_mongrel_dirs [Mike Bailey]
397
+ - now don't fail if log files do not exist (e.g initial deployment)
398
+ - is called by :after_symlink task instead of :after_update
399
+ this is because some tasks call :update_code without calling the
400
+ :update task but in all of these cases :symlink is called
401
+
402
+ * updated version from 1.4.x to 1.5.x due to pretty big change made
403
+ in previous version (mongrel no longer running as root) [Mike Bailey]
404
+
405
+ == 1.4.2
406
+
407
+ * change: mongrel no longer runs as root for security reasons [Mike Bailey]
408
+ * bugfix: install apache version 2.2.4 as previous version is no longer on their webserver [Mike Bailey]
409
+ * bugfix: fixed install_rubygems so install_rails_stack no longer fails when first run [Mike Bailey]
410
+
411
+ == 1.4.0
412
+
413
+ * renamed svn commands and made svn_create_repos re-runable [Mike Bailey]
414
+ * bugfix: Wildcard Apache NameVirtualHosts directive used be used just once [Mike Bailey]
415
+
416
+ == 1.3.1
417
+
418
+ * bugfix
419
+
420
+ == 1.3.0
421
+
422
+ * added md5sum checking to deprec.download_src [Mike Bailey]
423
+ * new function: deprec.mkdir(path, mode=0755, group=nil, user=nil) [Mike Bailey]
424
+ * start apache and mongrel on server boot [Mike Bailey]
425
+ * removed deprec_dotfiles script as the Cap code it patches is now in Capistrano source. [Mike Bailey]
426
+ * changed from LGPG to GPL licence. [Mike Bailey]
427
+
428
+ == 1.2.2
429
+
430
+ * Added enable_multiverse(), disable_multiverse() tasks for ubuntu package management [Mike Bailey]
431
+ * Removed termios as a gem requirement as it doesn't work on Windows [Mike Bailey]
432
+
433
+ == 1.2.1
434
+
435
+ * Updated railsmachine code to include SSL fix from new release [Mike Bailey]
436
+
437
+ == 1.2.0
438
+
439
+ * Added run_with_input and sudo_with_input for interactive tasks. [topfunky]
440
+ * Added sudo_stream for piping the output of a privileged command like the built-in stream() [topfunky]
441
+ * svn_cache_credentials task does an interactive svn list to make http-based repository deployments easier. [topfunky]
442
+ * Alternate deprec/recipes/cache_svn task overrides the built-in update_code task with a more efficient version. [topfunky]
443
+
444
+
data/COPYING ADDED
@@ -0,0 +1,19 @@
1
+ Copyright (c) 2006-2008 Mike Bailey <mike.bailey.net.au>
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to
5
+ deal in the Software without restriction, including without limitation the
6
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
7
+ sell copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in
11
+ all copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
16
+ THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
17
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
18
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19
+