deprec 3.1.0.rc3 → 3.1.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (166) hide show
  1. data/CHANGELOG +32 -1
  2. data/{lib/deprec/cap.rb → docs/old_cap_require_list.rb} +0 -6
  3. data/lib/deprec.rb +2 -2
  4. data/lib/deprec/{cap/callbacks → callbacks}/asset_pipeline.rb +0 -0
  5. data/lib/deprec/callbacks/deploy.rb +3 -0
  6. data/lib/deprec/{cap/recipes → recipes}/aoe.rb +0 -0
  7. data/lib/deprec/{cap/recipes → recipes}/apache.rb +0 -0
  8. data/lib/deprec/{cap/recipes → recipes}/bash.rb +0 -0
  9. data/lib/deprec/{cap/recipes → recipes}/canonical.rb +0 -0
  10. data/lib/deprec/{cap/recipes → recipes}/collectd.rb +0 -0
  11. data/lib/deprec/{rake → recipes}/db.rake +0 -0
  12. data/lib/deprec/recipes/deploy.rb +21 -0
  13. data/lib/deprec/{cap/recipes → recipes}/deprecated.rb +0 -0
  14. data/lib/deprec/{cap/recipes → recipes}/ec2.rb +0 -0
  15. data/lib/deprec/{cap/recipes → recipes}/example.rb +0 -0
  16. data/lib/deprec/{cap/recipes → recipes}/git.rb +0 -0
  17. data/lib/deprec/{cap/recipes → recipes}/haproxy.rb +0 -0
  18. data/lib/deprec/{cap/recipes → recipes}/heartbeat.rb +0 -0
  19. data/lib/deprec/{cap/recipes → recipes}/logrotate.rb +0 -0
  20. data/lib/deprec/{cap/recipes → recipes}/lvm.rb +0 -0
  21. data/lib/deprec/{cap/recipes → recipes}/mongrel.rb +0 -0
  22. data/lib/deprec/{cap/recipes → recipes}/monit.rb +0 -0
  23. data/lib/deprec/{cap/recipes → recipes}/mri.rb +0 -0
  24. data/lib/deprec/{cap/recipes → recipes}/mysql.rb +0 -0
  25. data/lib/deprec/{cap/recipes → recipes}/nagios.rb +0 -0
  26. data/lib/deprec/{cap/recipes → recipes}/nagios3.rb +0 -0
  27. data/lib/deprec/{cap/recipes → recipes}/network.rb +0 -0
  28. data/lib/deprec/{cap/recipes → recipes}/nginx.rb +0 -0
  29. data/lib/deprec/{cap/recipes → recipes}/nrpe.rb +0 -0
  30. data/lib/deprec/{cap/recipes → recipes}/ntp.rb +0 -0
  31. data/lib/deprec/{cap/recipes → recipes}/passenger.rb +0 -0
  32. data/lib/deprec/{cap/recipes → recipes}/php.rb +0 -0
  33. data/lib/deprec/{cap/recipes → recipes}/postfix.rb +0 -0
  34. data/lib/deprec/{cap/recipes → recipes}/postgresql.rb +0 -0
  35. data/lib/deprec/{cap/recipes → recipes}/rack.rb +0 -0
  36. data/lib/deprec/{cap/recipes → recipes}/rails.rb +0 -0
  37. data/lib/deprec/{cap/recipes → recipes}/ree.rb +0 -0
  38. data/lib/deprec/{cap/recipes → recipes}/rubygems.rb +0 -0
  39. data/lib/deprec/{cap/recipes → recipes}/sqlite.rb +0 -0
  40. data/lib/deprec/{cap/recipes → recipes}/ssh.rb +0 -0
  41. data/lib/deprec/{cap/recipes → recipes}/ssl.rb +0 -0
  42. data/lib/deprec/{cap/recipes → recipes}/stunnel.rb +0 -0
  43. data/lib/deprec/{cap/recipes → recipes}/syslog.rb +0 -0
  44. data/lib/deprec/{cap/recipes → recipes}/syslog_ng.rb +0 -0
  45. data/lib/deprec/{cap/recipes → recipes}/ubuntu.rb +0 -0
  46. data/lib/deprec/{cap/recipes → recipes}/users.rb +0 -0
  47. data/lib/deprec/{cap/recipes → recipes}/utils.rb +0 -0
  48. data/lib/deprec/{cap/recipes → recipes}/xen.rb +0 -0
  49. data/lib/deprec/{cap/recipes → recipes}/xentools.rb +0 -0
  50. data/lib/deprec/{cap/templates → templates}/aoe/aoe-init +0 -0
  51. data/lib/deprec/{cap/templates → templates}/aoe/fence_aoemask +0 -0
  52. data/lib/deprec/{cap/templates → templates}/apache/CHANGES.txt +0 -0
  53. data/lib/deprec/{cap/templates → templates}/apache/apache2.conf.erb +0 -0
  54. data/lib/deprec/{cap/templates → templates}/apache/default.erb +0 -0
  55. data/lib/deprec/{cap/templates → templates}/apache/namevirtualhosts.conf +0 -0
  56. data/lib/deprec/{cap/templates → templates}/apache/ports.conf.erb +0 -0
  57. data/lib/deprec/{cap/templates → templates}/apache/status.conf.erb +0 -0
  58. data/lib/deprec/{cap/templates → templates}/apache/vhost.erb +0 -0
  59. data/lib/deprec/{cap/templates → templates}/bash/bash_global +0 -0
  60. data/lib/deprec/{cap/templates → templates}/collectd/collectd-init.d +0 -0
  61. data/lib/deprec/{cap/templates → templates}/collectd/collectd.conf.erb +0 -0
  62. data/lib/deprec/{cap/templates → templates}/deprec/caprc.erb +0 -0
  63. data/lib/deprec/{cap/templates → templates}/haproxy/haproxy-init.d +0 -0
  64. data/lib/deprec/{cap/templates → templates}/haproxy/haproxy.cfg.erb +0 -0
  65. data/lib/deprec/{cap/templates → templates}/heartbeat/authkeys.erb +0 -0
  66. data/lib/deprec/{cap/templates → templates}/heartbeat/ha.cf.erb +0 -0
  67. data/lib/deprec/{cap/templates → templates}/heartbeat/haresources.erb +0 -0
  68. data/lib/deprec/{cap/templates → templates}/logrotate/logrotate.conf.erb +0 -0
  69. data/lib/deprec/{cap/templates → templates}/mongrel/apache_vhost.conf.erb +0 -0
  70. data/lib/deprec/{cap/templates → templates}/mongrel/logrotate.conf.erb +0 -0
  71. data/lib/deprec/{cap/templates → templates}/mongrel/mongrel_cluster-init-script +0 -0
  72. data/lib/deprec/{cap/templates → templates}/mongrel/mongrel_cluster.yml.erb +0 -0
  73. data/lib/deprec/{cap/templates → templates}/mongrel/monit.conf.erb +0 -0
  74. data/lib/deprec/{cap/templates → templates}/mongrel/nginx_vhost.conf.erb +0 -0
  75. data/lib/deprec/{cap/templates → templates}/monit/monit-init-script +0 -0
  76. data/lib/deprec/{cap/templates → templates}/monit/monitrc.erb +0 -0
  77. data/lib/deprec/{cap/templates → templates}/monit/nothing.monitrc +0 -0
  78. data/lib/deprec/{cap/templates → templates}/mysql/create_databases.sql +0 -0
  79. data/lib/deprec/{cap/templates → templates}/mysql/database.yml.prod +0 -0
  80. data/lib/deprec/{cap/templates → templates}/mysql/database.yml.stage +0 -0
  81. data/lib/deprec/{cap/templates → templates}/mysql/my.cnf.erb +0 -0
  82. data/lib/deprec/{cap/templates → templates}/mysql/sphinx.conf.prod +0 -0
  83. data/lib/deprec/{cap/templates → templates}/mysql/sphinx.conf.stage +0 -0
  84. data/lib/deprec/{cap/templates → templates}/nagios.old/README +0 -0
  85. data/lib/deprec/{cap/templates → templates}/nagios.old/apache_vhost.erb +0 -0
  86. data/lib/deprec/{cap/templates → templates}/nagios.old/cgi.cfg.erb +0 -0
  87. data/lib/deprec/{cap/templates → templates}/nagios.old/check_linux_free_memory.pl +0 -0
  88. data/lib/deprec/{cap/templates → templates}/nagios.old/check_mongrel_cluster.rb +0 -0
  89. data/lib/deprec/{cap/templates → templates}/nagios.old/htpasswd.users +0 -0
  90. data/lib/deprec/{cap/templates → templates}/nagios.old/mrtg.cfg +0 -0
  91. data/lib/deprec/{cap/templates → templates}/nagios.old/nagios.cfg.erb +0 -0
  92. data/lib/deprec/{cap/templates → templates}/nagios.old/nrpe.cfg.erb +0 -0
  93. data/lib/deprec/{cap/templates → templates}/nagios.old/nrpe.xinetd.erb +0 -0
  94. data/lib/deprec/{cap/templates → templates}/nagios.old/objects/commands.cfg.erb +0 -0
  95. data/lib/deprec/{cap/templates → templates}/nagios.old/objects/contacts.cfg.erb +0 -0
  96. data/lib/deprec/{cap/templates → templates}/nagios.old/objects/hosts.cfg.erb +0 -0
  97. data/lib/deprec/{cap/templates → templates}/nagios.old/objects/localhost.cfg.erb +0 -0
  98. data/lib/deprec/{cap/templates → templates}/nagios.old/objects/services.cfg.erb +0 -0
  99. data/lib/deprec/{cap/templates → templates}/nagios.old/objects/timeperiods.cfg.erb +0 -0
  100. data/lib/deprec/{cap/templates → templates}/nagios.old/resource.cfg.erb +0 -0
  101. data/lib/deprec/{cap/templates → templates}/nagios/apache2.conf +0 -0
  102. data/lib/deprec/{cap/templates → templates}/nagios/cgi.cfg +0 -0
  103. data/lib/deprec/{cap/templates → templates}/nagios/check_linux_free_memory.pl +0 -0
  104. data/lib/deprec/{cap/templates → templates}/nagios/commands.cfg +0 -0
  105. data/lib/deprec/{cap/templates → templates}/nagios/conf.d/contacts_nagios2.cfg +0 -0
  106. data/lib/deprec/{cap/templates → templates}/nagios/conf.d/extinfo_nagios2.cfg +0 -0
  107. data/lib/deprec/{cap/templates → templates}/nagios/conf.d/generic-host_nagios2.cfg +0 -0
  108. data/lib/deprec/{cap/templates → templates}/nagios/conf.d/generic-service_nagios2.cfg +0 -0
  109. data/lib/deprec/{cap/templates → templates}/nagios/conf.d/hostgroups_nagios2.cfg +0 -0
  110. data/lib/deprec/{cap/templates → templates}/nagios/conf.d/hosts/localhost_nagios2.cfg +0 -0
  111. data/lib/deprec/{cap/templates → templates}/nagios/conf.d/services_nagios2.cfg +0 -0
  112. data/lib/deprec/{cap/templates → templates}/nagios/conf.d/timeperiods_nagios2.cfg +0 -0
  113. data/lib/deprec/{cap/templates → templates}/nagios/host_template.erb +0 -0
  114. data/lib/deprec/{cap/templates → templates}/nagios/htpasswd.users +0 -0
  115. data/lib/deprec/{cap/templates → templates}/nagios/nagios.cfg +0 -0
  116. data/lib/deprec/{cap/templates → templates}/nagios/nrpe.cfg +0 -0
  117. data/lib/deprec/{cap/templates → templates}/nagios/resource.cfg +0 -0
  118. data/lib/deprec/{cap/templates → templates}/network/hostname.erb +0 -0
  119. data/lib/deprec/{cap/templates → templates}/network/hosts.erb +0 -0
  120. data/lib/deprec/{cap/templates → templates}/network/interfaces.erb +0 -0
  121. data/lib/deprec/{cap/templates → templates}/network/resolv.conf.erb +0 -0
  122. data/lib/deprec/{cap/templates → templates}/nginx/logrotate.conf.erb +0 -0
  123. data/lib/deprec/{cap/templates → templates}/nginx/mime.types.erb +0 -0
  124. data/lib/deprec/{cap/templates → templates}/nginx/nginx-init-script +0 -0
  125. data/lib/deprec/{cap/templates → templates}/nginx/nginx.conf.erb +0 -0
  126. data/lib/deprec/{cap/templates → templates}/nginx/nginx.logrotate.d +0 -0
  127. data/lib/deprec/{cap/templates → templates}/nginx/nothing.conf +0 -0
  128. data/lib/deprec/{cap/templates → templates}/nginx/rails_nginx_vhost.conf.erb +0 -0
  129. data/lib/deprec/{cap/templates → templates}/ntp/ntp.conf.erb +0 -0
  130. data/lib/deprec/{cap/templates → templates}/passenger/apache_vhost.erb +0 -0
  131. data/lib/deprec/{cap/templates → templates}/passenger/logrotate.conf.erb +0 -0
  132. data/lib/deprec/{cap/templates → templates}/passenger/passenger.conf.erb +0 -0
  133. data/lib/deprec/{cap/templates → templates}/passenger/passenger.load.erb +0 -0
  134. data/lib/deprec/{cap/templates → templates}/postfix/aliases.erb +0 -0
  135. data/lib/deprec/{cap/templates → templates}/postfix/dynamicmaps.cf.erb +0 -0
  136. data/lib/deprec/{cap/templates → templates}/postfix/main.cf.erb +0 -0
  137. data/lib/deprec/{cap/templates → templates}/postfix/master.cf.erb +0 -0
  138. data/lib/deprec/{cap/templates → templates}/ssh/ssh_config.erb +0 -0
  139. data/lib/deprec/{cap/templates → templates}/ssh/sshd_config.erb +0 -0
  140. data/lib/deprec/{cap/templates → templates}/ssl/make-ssl-cert +0 -0
  141. data/lib/deprec/{cap/templates → templates}/ssl/ssl-cert-snakeoil.key +0 -0
  142. data/lib/deprec/{cap/templates → templates}/ssl/ssl-cert-snakeoil.pem +0 -0
  143. data/lib/deprec/{cap/templates → templates}/stunnel/stunnel.conf-client +0 -0
  144. data/lib/deprec/{cap/templates → templates}/stunnel/stunnel.conf-orig +0 -0
  145. data/lib/deprec/{cap/templates → templates}/stunnel/stunnel.conf-server +0 -0
  146. data/lib/deprec/{cap/templates → templates}/stunnel/stunnel4 +0 -0
  147. data/lib/deprec/{cap/templates → templates}/stunnel/syslog-server.pem +0 -0
  148. data/lib/deprec/{cap/templates → templates}/syslog/syslog.conf.erb +0 -0
  149. data/lib/deprec/{cap/templates → templates}/syslog/syslogd.erb +0 -0
  150. data/lib/deprec/{cap/templates → templates}/syslog_ng/apache_syslog +0 -0
  151. data/lib/deprec/{cap/templates → templates}/syslog_ng/syslog-ng.conf-client +0 -0
  152. data/lib/deprec/{cap/templates → templates}/syslog_ng/syslog-ng.conf-orig +0 -0
  153. data/lib/deprec/{cap/templates → templates}/syslog_ng/syslog-ng.conf-server +0 -0
  154. data/lib/deprec/{cap/templates → templates}/xen/network-bridge-wrapper +0 -0
  155. data/lib/deprec/{cap/templates → templates}/xen/xend-config.sxp.erb +0 -0
  156. data/lib/deprec/{cap/templates → templates}/xen/xend-init.erb +0 -0
  157. data/lib/deprec/{cap/templates → templates}/xen/xendomains.erb +0 -0
  158. data/lib/deprec/{cap/templates → templates}/xentools/15-disable-hwclock +0 -0
  159. data/lib/deprec/{cap/templates → templates}/xentools/40-setup-networking +0 -0
  160. data/lib/deprec/{cap/templates → templates}/xentools/xen-tools.conf.erb +0 -0
  161. data/lib/deprec/{cap/templates → templates}/xentools/xm.tmpl.erb +0 -0
  162. data/lib/deprec/version.rb +1 -1
  163. metadata +161 -162
  164. data/lib/deprec/cap/recipes/deprec.rb +0 -191
  165. data/lib/deprec/rake.rb +0 -12
  166. data/lib/deprec/rake/environments.rake +0 -9
@@ -1,3 +1,3 @@
1
1
  module Deprec
2
- VERSION = "3.1.0.rc3"
2
+ VERSION = "3.1.0.rc4"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: deprec
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 6
5
- version: 3.1.0.rc3
5
+ version: 3.1.0.rc4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Mike Bailey
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-07-15 00:00:00 Z
13
+ date: 2011-07-16 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: deprec-core
@@ -57,6 +57,7 @@ files:
57
57
  - bin/hosts.rb
58
58
  - bin/depify
59
59
  - docs/TODO.txt
60
+ - docs/old_cap_require_list.rb
60
61
  - docs/README.rails
61
62
  - docs/config_gen_explained.txt
62
63
  - docs/old/deprec_banner.gif
@@ -72,167 +73,165 @@ files:
72
73
  - docs/xen/traffic_monitoring_with_vnstat.txt
73
74
  - docs/nagios.txt
74
75
  - lib/deprec_minus_rails.rb
75
- - lib/deprec/rake.rb
76
76
  - lib/deprec/version.rb
77
- - lib/deprec/cap/recipes/deprecated.rb
78
- - lib/deprec/cap/recipes/example.rb
79
- - lib/deprec/cap/recipes/collectd.rb
80
- - lib/deprec/cap/recipes/nrpe.rb
81
- - lib/deprec/cap/recipes/ntp.rb
82
- - lib/deprec/cap/recipes/ssh.rb
83
- - lib/deprec/cap/recipes/bash.rb
84
- - lib/deprec/cap/recipes/nginx.rb
85
- - lib/deprec/cap/recipes/logrotate.rb
86
- - lib/deprec/cap/recipes/lvm.rb
87
- - lib/deprec/cap/recipes/syslog.rb
88
- - lib/deprec/cap/recipes/rack.rb
89
- - lib/deprec/cap/recipes/utils.rb
90
- - lib/deprec/cap/recipes/php.rb
91
- - lib/deprec/cap/recipes/canonical.rb
92
- - lib/deprec/cap/recipes/mongrel.rb
93
- - lib/deprec/cap/recipes/heartbeat.rb
94
- - lib/deprec/cap/recipes/passenger.rb
95
- - lib/deprec/cap/recipes/nagios3.rb
96
- - lib/deprec/cap/recipes/sqlite.rb
97
- - lib/deprec/cap/recipes/rails.rb
98
- - lib/deprec/cap/recipes/xen.rb
99
- - lib/deprec/cap/recipes/ubuntu.rb
100
- - lib/deprec/cap/recipes/ree.rb
101
- - lib/deprec/cap/recipes/syslog_ng.rb
102
- - lib/deprec/cap/recipes/rubygems.rb
103
- - lib/deprec/cap/recipes/mysql.rb
104
- - lib/deprec/cap/recipes/ec2.rb
105
- - lib/deprec/cap/recipes/monit.rb
106
- - lib/deprec/cap/recipes/ssl.rb
107
- - lib/deprec/cap/recipes/postgresql.rb
108
- - lib/deprec/cap/recipes/mri.rb
109
- - lib/deprec/cap/recipes/git.rb
110
- - lib/deprec/cap/recipes/nagios.rb
111
- - lib/deprec/cap/recipes/apache.rb
112
- - lib/deprec/cap/recipes/users.rb
113
- - lib/deprec/cap/recipes/postfix.rb
114
- - lib/deprec/cap/recipes/haproxy.rb
115
- - lib/deprec/cap/recipes/xentools.rb
116
- - lib/deprec/cap/recipes/aoe.rb
117
- - lib/deprec/cap/recipes/deprec.rb
118
- - lib/deprec/cap/recipes/stunnel.rb
119
- - lib/deprec/cap/recipes/network.rb
120
- - lib/deprec/cap/templates/logrotate/logrotate.conf.erb
121
- - lib/deprec/cap/templates/postfix/dynamicmaps.cf.erb
122
- - lib/deprec/cap/templates/postfix/master.cf.erb
123
- - lib/deprec/cap/templates/postfix/aliases.erb
124
- - lib/deprec/cap/templates/postfix/main.cf.erb
125
- - lib/deprec/cap/templates/mongrel/mongrel_cluster-init-script
126
- - lib/deprec/cap/templates/mongrel/logrotate.conf.erb
127
- - lib/deprec/cap/templates/mongrel/apache_vhost.conf.erb
128
- - lib/deprec/cap/templates/mongrel/mongrel_cluster.yml.erb
129
- - lib/deprec/cap/templates/mongrel/monit.conf.erb
130
- - lib/deprec/cap/templates/mongrel/nginx_vhost.conf.erb
131
- - lib/deprec/cap/templates/passenger/logrotate.conf.erb
132
- - lib/deprec/cap/templates/passenger/passenger.conf.erb
133
- - lib/deprec/cap/templates/passenger/apache_vhost.erb
134
- - lib/deprec/cap/templates/passenger/passenger.load.erb
135
- - lib/deprec/cap/templates/nginx/logrotate.conf.erb
136
- - lib/deprec/cap/templates/nginx/rails_nginx_vhost.conf.erb
137
- - lib/deprec/cap/templates/nginx/nginx.logrotate.d
138
- - lib/deprec/cap/templates/nginx/nothing.conf
139
- - lib/deprec/cap/templates/nginx/nginx-init-script
140
- - lib/deprec/cap/templates/nginx/nginx.conf.erb
141
- - lib/deprec/cap/templates/nginx/mime.types.erb
142
- - lib/deprec/cap/templates/network/hosts.erb
143
- - lib/deprec/cap/templates/network/interfaces.erb
144
- - lib/deprec/cap/templates/network/resolv.conf.erb
145
- - lib/deprec/cap/templates/network/hostname.erb
146
- - lib/deprec/cap/templates/monit/monitrc.erb
147
- - lib/deprec/cap/templates/monit/nothing.monitrc
148
- - lib/deprec/cap/templates/monit/monit-init-script
149
- - lib/deprec/cap/templates/ssl/make-ssl-cert
150
- - lib/deprec/cap/templates/ssl/ssl-cert-snakeoil.pem
151
- - lib/deprec/cap/templates/ssl/ssl-cert-snakeoil.key
152
- - lib/deprec/cap/templates/heartbeat/haresources.erb
153
- - lib/deprec/cap/templates/heartbeat/ha.cf.erb
154
- - lib/deprec/cap/templates/heartbeat/authkeys.erb
155
- - lib/deprec/cap/templates/haproxy/haproxy-init.d
156
- - lib/deprec/cap/templates/haproxy/haproxy.cfg.erb
157
- - lib/deprec/cap/templates/ntp/ntp.conf.erb
158
- - lib/deprec/cap/templates/nagios.old/README
159
- - lib/deprec/cap/templates/nagios.old/cgi.cfg.erb
160
- - lib/deprec/cap/templates/nagios.old/resource.cfg.erb
161
- - lib/deprec/cap/templates/nagios.old/htpasswd.users
162
- - lib/deprec/cap/templates/nagios.old/nagios.cfg.erb
163
- - lib/deprec/cap/templates/nagios.old/check_mongrel_cluster.rb
164
- - lib/deprec/cap/templates/nagios.old/nrpe.cfg.erb
165
- - lib/deprec/cap/templates/nagios.old/check_linux_free_memory.pl
166
- - lib/deprec/cap/templates/nagios.old/objects/timeperiods.cfg.erb
167
- - lib/deprec/cap/templates/nagios.old/objects/services.cfg.erb
168
- - lib/deprec/cap/templates/nagios.old/objects/localhost.cfg.erb
169
- - lib/deprec/cap/templates/nagios.old/objects/commands.cfg.erb
170
- - lib/deprec/cap/templates/nagios.old/objects/hosts.cfg.erb
171
- - lib/deprec/cap/templates/nagios.old/objects/contacts.cfg.erb
172
- - lib/deprec/cap/templates/nagios.old/apache_vhost.erb
173
- - lib/deprec/cap/templates/nagios.old/mrtg.cfg
174
- - lib/deprec/cap/templates/nagios.old/nrpe.xinetd.erb
175
- - lib/deprec/cap/templates/syslog/syslog.conf.erb
176
- - lib/deprec/cap/templates/syslog/syslogd.erb
177
- - lib/deprec/cap/templates/stunnel/stunnel.conf-client
178
- - lib/deprec/cap/templates/stunnel/syslog-server.pem
179
- - lib/deprec/cap/templates/stunnel/stunnel.conf-orig
180
- - lib/deprec/cap/templates/stunnel/stunnel.conf-server
181
- - lib/deprec/cap/templates/stunnel/stunnel4
182
- - lib/deprec/cap/templates/xentools/xm.tmpl.erb
183
- - lib/deprec/cap/templates/xentools/15-disable-hwclock
184
- - lib/deprec/cap/templates/xentools/40-setup-networking
185
- - lib/deprec/cap/templates/xentools/xen-tools.conf.erb
186
- - lib/deprec/cap/templates/aoe/fence_aoemask
187
- - lib/deprec/cap/templates/aoe/aoe-init
188
- - lib/deprec/cap/templates/apache/status.conf.erb
189
- - lib/deprec/cap/templates/apache/ports.conf.erb
190
- - lib/deprec/cap/templates/apache/apache2.conf.erb
191
- - lib/deprec/cap/templates/apache/namevirtualhosts.conf
192
- - lib/deprec/cap/templates/apache/CHANGES.txt
193
- - lib/deprec/cap/templates/apache/vhost.erb
194
- - lib/deprec/cap/templates/apache/default.erb
195
- - lib/deprec/cap/templates/deprec/caprc.erb
196
- - lib/deprec/cap/templates/collectd/collectd.conf.erb
197
- - lib/deprec/cap/templates/collectd/collectd-init.d
198
- - lib/deprec/cap/templates/xen/network-bridge-wrapper
199
- - lib/deprec/cap/templates/xen/xend-init.erb
200
- - lib/deprec/cap/templates/xen/xend-config.sxp.erb
201
- - lib/deprec/cap/templates/xen/xendomains.erb
202
- - lib/deprec/cap/templates/syslog_ng/syslog-ng.conf-orig
203
- - lib/deprec/cap/templates/syslog_ng/apache_syslog
204
- - lib/deprec/cap/templates/syslog_ng/syslog-ng.conf-server
205
- - lib/deprec/cap/templates/syslog_ng/syslog-ng.conf-client
206
- - lib/deprec/cap/templates/ssh/sshd_config.erb
207
- - lib/deprec/cap/templates/ssh/ssh_config.erb
208
- - lib/deprec/cap/templates/nagios/nrpe.cfg
209
- - lib/deprec/cap/templates/nagios/resource.cfg
210
- - lib/deprec/cap/templates/nagios/host_template.erb
211
- - lib/deprec/cap/templates/nagios/conf.d/timeperiods_nagios2.cfg
212
- - lib/deprec/cap/templates/nagios/conf.d/extinfo_nagios2.cfg
213
- - lib/deprec/cap/templates/nagios/conf.d/contacts_nagios2.cfg
214
- - lib/deprec/cap/templates/nagios/conf.d/services_nagios2.cfg
215
- - lib/deprec/cap/templates/nagios/conf.d/hostgroups_nagios2.cfg
216
- - lib/deprec/cap/templates/nagios/conf.d/generic-host_nagios2.cfg
217
- - lib/deprec/cap/templates/nagios/conf.d/hosts/localhost_nagios2.cfg
218
- - lib/deprec/cap/templates/nagios/conf.d/generic-service_nagios2.cfg
219
- - lib/deprec/cap/templates/nagios/htpasswd.users
220
- - lib/deprec/cap/templates/nagios/commands.cfg
221
- - lib/deprec/cap/templates/nagios/nagios.cfg
222
- - lib/deprec/cap/templates/nagios/cgi.cfg
223
- - lib/deprec/cap/templates/nagios/check_linux_free_memory.pl
224
- - lib/deprec/cap/templates/nagios/apache2.conf
225
- - lib/deprec/cap/templates/mysql/create_databases.sql
226
- - lib/deprec/cap/templates/mysql/sphinx.conf.stage
227
- - lib/deprec/cap/templates/mysql/database.yml.prod
228
- - lib/deprec/cap/templates/mysql/database.yml.stage
229
- - lib/deprec/cap/templates/mysql/my.cnf.erb
230
- - lib/deprec/cap/templates/mysql/sphinx.conf.prod
231
- - lib/deprec/cap/templates/bash/bash_global
232
- - lib/deprec/cap/callbacks/asset_pipeline.rb
233
- - lib/deprec/cap.rb
234
- - lib/deprec/rake/db.rake
235
- - lib/deprec/rake/environments.rake
77
+ - lib/deprec/recipes/deprecated.rb
78
+ - lib/deprec/recipes/example.rb
79
+ - lib/deprec/recipes/collectd.rb
80
+ - lib/deprec/recipes/nrpe.rb
81
+ - lib/deprec/recipes/db.rake
82
+ - lib/deprec/recipes/ntp.rb
83
+ - lib/deprec/recipes/ssh.rb
84
+ - lib/deprec/recipes/bash.rb
85
+ - lib/deprec/recipes/nginx.rb
86
+ - lib/deprec/recipes/logrotate.rb
87
+ - lib/deprec/recipes/lvm.rb
88
+ - lib/deprec/recipes/syslog.rb
89
+ - lib/deprec/recipes/rack.rb
90
+ - lib/deprec/recipes/utils.rb
91
+ - lib/deprec/recipes/php.rb
92
+ - lib/deprec/recipes/canonical.rb
93
+ - lib/deprec/recipes/mongrel.rb
94
+ - lib/deprec/recipes/heartbeat.rb
95
+ - lib/deprec/recipes/passenger.rb
96
+ - lib/deprec/recipes/nagios3.rb
97
+ - lib/deprec/recipes/sqlite.rb
98
+ - lib/deprec/recipes/deploy.rb
99
+ - lib/deprec/recipes/rails.rb
100
+ - lib/deprec/recipes/xen.rb
101
+ - lib/deprec/recipes/ubuntu.rb
102
+ - lib/deprec/recipes/ree.rb
103
+ - lib/deprec/recipes/syslog_ng.rb
104
+ - lib/deprec/recipes/rubygems.rb
105
+ - lib/deprec/recipes/mysql.rb
106
+ - lib/deprec/recipes/ec2.rb
107
+ - lib/deprec/recipes/monit.rb
108
+ - lib/deprec/recipes/ssl.rb
109
+ - lib/deprec/recipes/postgresql.rb
110
+ - lib/deprec/recipes/mri.rb
111
+ - lib/deprec/recipes/git.rb
112
+ - lib/deprec/recipes/nagios.rb
113
+ - lib/deprec/recipes/apache.rb
114
+ - lib/deprec/recipes/users.rb
115
+ - lib/deprec/recipes/postfix.rb
116
+ - lib/deprec/recipes/haproxy.rb
117
+ - lib/deprec/recipes/xentools.rb
118
+ - lib/deprec/recipes/aoe.rb
119
+ - lib/deprec/recipes/stunnel.rb
120
+ - lib/deprec/recipes/network.rb
121
+ - lib/deprec/templates/logrotate/logrotate.conf.erb
122
+ - lib/deprec/templates/postfix/dynamicmaps.cf.erb
123
+ - lib/deprec/templates/postfix/master.cf.erb
124
+ - lib/deprec/templates/postfix/aliases.erb
125
+ - lib/deprec/templates/postfix/main.cf.erb
126
+ - lib/deprec/templates/mongrel/mongrel_cluster-init-script
127
+ - lib/deprec/templates/mongrel/logrotate.conf.erb
128
+ - lib/deprec/templates/mongrel/apache_vhost.conf.erb
129
+ - lib/deprec/templates/mongrel/mongrel_cluster.yml.erb
130
+ - lib/deprec/templates/mongrel/monit.conf.erb
131
+ - lib/deprec/templates/mongrel/nginx_vhost.conf.erb
132
+ - lib/deprec/templates/passenger/logrotate.conf.erb
133
+ - lib/deprec/templates/passenger/passenger.conf.erb
134
+ - lib/deprec/templates/passenger/apache_vhost.erb
135
+ - lib/deprec/templates/passenger/passenger.load.erb
136
+ - lib/deprec/templates/nginx/logrotate.conf.erb
137
+ - lib/deprec/templates/nginx/rails_nginx_vhost.conf.erb
138
+ - lib/deprec/templates/nginx/nginx.logrotate.d
139
+ - lib/deprec/templates/nginx/nothing.conf
140
+ - lib/deprec/templates/nginx/nginx-init-script
141
+ - lib/deprec/templates/nginx/nginx.conf.erb
142
+ - lib/deprec/templates/nginx/mime.types.erb
143
+ - lib/deprec/templates/network/hosts.erb
144
+ - lib/deprec/templates/network/interfaces.erb
145
+ - lib/deprec/templates/network/resolv.conf.erb
146
+ - lib/deprec/templates/network/hostname.erb
147
+ - lib/deprec/templates/monit/monitrc.erb
148
+ - lib/deprec/templates/monit/nothing.monitrc
149
+ - lib/deprec/templates/monit/monit-init-script
150
+ - lib/deprec/templates/ssl/make-ssl-cert
151
+ - lib/deprec/templates/ssl/ssl-cert-snakeoil.pem
152
+ - lib/deprec/templates/ssl/ssl-cert-snakeoil.key
153
+ - lib/deprec/templates/heartbeat/haresources.erb
154
+ - lib/deprec/templates/heartbeat/ha.cf.erb
155
+ - lib/deprec/templates/heartbeat/authkeys.erb
156
+ - lib/deprec/templates/haproxy/haproxy-init.d
157
+ - lib/deprec/templates/haproxy/haproxy.cfg.erb
158
+ - lib/deprec/templates/ntp/ntp.conf.erb
159
+ - lib/deprec/templates/nagios.old/README
160
+ - lib/deprec/templates/nagios.old/cgi.cfg.erb
161
+ - lib/deprec/templates/nagios.old/resource.cfg.erb
162
+ - lib/deprec/templates/nagios.old/htpasswd.users
163
+ - lib/deprec/templates/nagios.old/nagios.cfg.erb
164
+ - lib/deprec/templates/nagios.old/check_mongrel_cluster.rb
165
+ - lib/deprec/templates/nagios.old/nrpe.cfg.erb
166
+ - lib/deprec/templates/nagios.old/check_linux_free_memory.pl
167
+ - lib/deprec/templates/nagios.old/objects/timeperiods.cfg.erb
168
+ - lib/deprec/templates/nagios.old/objects/services.cfg.erb
169
+ - lib/deprec/templates/nagios.old/objects/localhost.cfg.erb
170
+ - lib/deprec/templates/nagios.old/objects/commands.cfg.erb
171
+ - lib/deprec/templates/nagios.old/objects/hosts.cfg.erb
172
+ - lib/deprec/templates/nagios.old/objects/contacts.cfg.erb
173
+ - lib/deprec/templates/nagios.old/apache_vhost.erb
174
+ - lib/deprec/templates/nagios.old/mrtg.cfg
175
+ - lib/deprec/templates/nagios.old/nrpe.xinetd.erb
176
+ - lib/deprec/templates/syslog/syslog.conf.erb
177
+ - lib/deprec/templates/syslog/syslogd.erb
178
+ - lib/deprec/templates/stunnel/stunnel.conf-client
179
+ - lib/deprec/templates/stunnel/syslog-server.pem
180
+ - lib/deprec/templates/stunnel/stunnel.conf-orig
181
+ - lib/deprec/templates/stunnel/stunnel.conf-server
182
+ - lib/deprec/templates/stunnel/stunnel4
183
+ - lib/deprec/templates/xentools/xm.tmpl.erb
184
+ - lib/deprec/templates/xentools/15-disable-hwclock
185
+ - lib/deprec/templates/xentools/40-setup-networking
186
+ - lib/deprec/templates/xentools/xen-tools.conf.erb
187
+ - lib/deprec/templates/aoe/fence_aoemask
188
+ - lib/deprec/templates/aoe/aoe-init
189
+ - lib/deprec/templates/apache/status.conf.erb
190
+ - lib/deprec/templates/apache/ports.conf.erb
191
+ - lib/deprec/templates/apache/apache2.conf.erb
192
+ - lib/deprec/templates/apache/namevirtualhosts.conf
193
+ - lib/deprec/templates/apache/CHANGES.txt
194
+ - lib/deprec/templates/apache/vhost.erb
195
+ - lib/deprec/templates/apache/default.erb
196
+ - lib/deprec/templates/deprec/caprc.erb
197
+ - lib/deprec/templates/collectd/collectd.conf.erb
198
+ - lib/deprec/templates/collectd/collectd-init.d
199
+ - lib/deprec/templates/xen/network-bridge-wrapper
200
+ - lib/deprec/templates/xen/xend-init.erb
201
+ - lib/deprec/templates/xen/xend-config.sxp.erb
202
+ - lib/deprec/templates/xen/xendomains.erb
203
+ - lib/deprec/templates/syslog_ng/syslog-ng.conf-orig
204
+ - lib/deprec/templates/syslog_ng/apache_syslog
205
+ - lib/deprec/templates/syslog_ng/syslog-ng.conf-server
206
+ - lib/deprec/templates/syslog_ng/syslog-ng.conf-client
207
+ - lib/deprec/templates/ssh/sshd_config.erb
208
+ - lib/deprec/templates/ssh/ssh_config.erb
209
+ - lib/deprec/templates/nagios/nrpe.cfg
210
+ - lib/deprec/templates/nagios/resource.cfg
211
+ - lib/deprec/templates/nagios/host_template.erb
212
+ - lib/deprec/templates/nagios/conf.d/timeperiods_nagios2.cfg
213
+ - lib/deprec/templates/nagios/conf.d/extinfo_nagios2.cfg
214
+ - lib/deprec/templates/nagios/conf.d/contacts_nagios2.cfg
215
+ - lib/deprec/templates/nagios/conf.d/services_nagios2.cfg
216
+ - lib/deprec/templates/nagios/conf.d/hostgroups_nagios2.cfg
217
+ - lib/deprec/templates/nagios/conf.d/generic-host_nagios2.cfg
218
+ - lib/deprec/templates/nagios/conf.d/hosts/localhost_nagios2.cfg
219
+ - lib/deprec/templates/nagios/conf.d/generic-service_nagios2.cfg
220
+ - lib/deprec/templates/nagios/htpasswd.users
221
+ - lib/deprec/templates/nagios/commands.cfg
222
+ - lib/deprec/templates/nagios/nagios.cfg
223
+ - lib/deprec/templates/nagios/cgi.cfg
224
+ - lib/deprec/templates/nagios/check_linux_free_memory.pl
225
+ - lib/deprec/templates/nagios/apache2.conf
226
+ - lib/deprec/templates/mysql/create_databases.sql
227
+ - lib/deprec/templates/mysql/sphinx.conf.stage
228
+ - lib/deprec/templates/mysql/database.yml.prod
229
+ - lib/deprec/templates/mysql/database.yml.stage
230
+ - lib/deprec/templates/mysql/my.cnf.erb
231
+ - lib/deprec/templates/mysql/sphinx.conf.prod
232
+ - lib/deprec/templates/bash/bash_global
233
+ - lib/deprec/callbacks/deploy.rb
234
+ - lib/deprec/callbacks/asset_pipeline.rb
236
235
  - lib/deprec.rb
237
236
  - CHANGELOG
238
237
  - COPYING
@@ -1,191 +0,0 @@
1
- # Copyright 2006-2008 by Mike Bailey. All rights reserved.
2
- Capistrano::Configuration.instance(:must_exist).load do
3
-
4
- # Set the value if not already set
5
- # This method is accessible to all recipe files
6
- # Defined and used by capistrano/deploy tasks
7
- def _cset(name, *args, &block)
8
- unless exists?(name)
9
- set(name, *args, &block)
10
- end
11
- end
12
-
13
- # deprecated
14
- alias :default :_cset
15
-
16
- _cset :rake, 'rake'
17
-
18
- # Deprec checks here for local versions of config templates before it's own
19
- set :local_template_dir, File.join('config','templates')
20
-
21
- # The following two Constants contain details of the configuration
22
- # files used by each service. They're used when generating config
23
- # files from templates and when configs files are pushed out to servers.
24
- #
25
- # They are populated by the recipe file for each service
26
- #
27
- SYSTEM_CONFIG_FILES = {} # e.g. httpd.conf
28
- PROJECT_CONFIG_FILES = {} # e.g. projectname-httpd-vhost.conf
29
-
30
- # For each service, the details of the file to download and options
31
- # to configure, build and install the service
32
- SRC_PACKAGES = {} unless defined?(SRC_PACKAGES)
33
-
34
- # deprec defines some generic recipes for common services
35
- # including ruby interpreter, web, app and database servers
36
- #
37
- # They default to my current favourites which you can over ride
38
- #
39
- # Service options
40
- CHOICES_RUBY_VM = [:mri, :ree]
41
- CHOICES_WEBSERVER = [:apache, :none] # :nginx not recipes out of date
42
- CHOICES_APPSERVER = [:passenger, :none] # any colour you like guys
43
- CHOICES_DATABASE = [:mysql, :postgresql, :sqlite, :none]
44
- #
45
- # Service defaults
46
- set :ruby_vm_type, :mri
47
- set :web_server_type, :apache
48
- set :app_server_type, :passenger
49
- set :db_server_type, :mysql
50
-
51
- # Prompt user for missing values if not supplied
52
- set(:application) do
53
- Capistrano::CLI.ui.ask "Enter name of project(no spaces)" do |q|
54
- q.validate = /^[0-9a-z_]*$/
55
- end
56
- end
57
-
58
- set(:domain) do
59
- Capistrano::CLI.ui.ask "Enter domain name for project" do |q|
60
- q.validate = /^[0-9a-z_\.]*$/
61
- end
62
- end
63
-
64
- set(:repository) do
65
- Capistrano::CLI.ui.ask "Enter repository URL for project" do |q|
66
- # q.validate = //
67
- end
68
- end
69
-
70
- # some tasks run commands requiring special user privileges on remote servers
71
- # these tasks will run the commands with:
72
- # :invoke_command "command", :via => run_method
73
- # override this value if sudo is not an option
74
- # in that case, your use will need the correct privileges
75
- set :run_method, :sudo
76
-
77
- set(:backup_dir) { '/var/backups'}
78
-
79
- # XXX rails deploy stuff
80
- set :apps_root, '/srv' # parent dir for apps
81
- set(:deploy_to) { File.join(apps_root, application) } # dir for current app
82
- set(:current_path) { File.join(deploy_to, "current") }
83
- set(:shared_path) { File.join(deploy_to, "shared") }
84
-
85
- # XXX more rails deploy stuff?
86
-
87
- set :user, ENV['USER'] # user who is deploying
88
- set :group, 'deploy' # deployment group
89
- set(:group_src) { group } # group ownership for src dir
90
- set :src_dir, '/usr/local/src' # 3rd party src on servers lives here
91
- set(:web_server_aliases) { domain.match(/^www/) ? [] : ["www.#{domain}"] }
92
-
93
- # XXX for some reason this is causing "before deprec:rails:install" to be executed twice
94
- on :load, 'deprec:connect_canonical_tasks'
95
-
96
- # It can be useful to know the user running this command
97
- # even when USER is set to someone else. Sorry windows!
98
- set :current_user, `whoami`.chomp
99
-
100
- namespace :deprec do
101
-
102
- task :connect_canonical_tasks do
103
- # link application specific recipes into canonical task names
104
- # e.g. deprec:web:restart => deprec:nginx:restart
105
-
106
-
107
- namespaces_to_connect = { :web => :web_server_type,
108
- :app => :app_server_type,
109
- :db => :db_server_type,
110
- :ruby => :ruby_vm_type
111
- }
112
- metaclass = class << self; self; end # XXX unnecessary?
113
- namespaces_to_connect.each do |server, choice|
114
- server_type = send(choice).to_sym
115
- if server_type != :none
116
- metaclass.send(:define_method, server) { namespaces[server] } # XXX unnecessary?
117
- namespaces[server] = deprec.send(server_type)
118
- end
119
- end
120
- end
121
-
122
- task :dump do
123
- require 'yaml'
124
- y variables
125
- end
126
-
127
- task :setup_src_dir do
128
- deprec2.groupadd(group_src)
129
- deprec2.add_user_to_group(user, group_src)
130
- deprec2.create_src_dir
131
- end
132
-
133
- # Download all packages used by deprec to your local host.
134
- # You can then push them to /usr/local/src on target hosts
135
- # to save time and bandwidth rather than repeatedly downloading
136
- # from the distribution sites.
137
- task :update_src do
138
- SRC_PACKAGES.each{|key, src_package|
139
- current_dir = Dir.pwd
140
- system "cd src/ && test -f #{src_package[:filename]} || wget --quiet --timestamping #{src_package[:url]}"
141
- system "cd #{current_dir}"
142
- }
143
- end
144
-
145
- # todo
146
- #
147
- # Copy files from src/ to /usr/local/src/ on remote hosts
148
- task :push_src do
149
- SRC_PACKAGES.each do |key, src_package|
150
- deprec2.set_package_defaults(src_package)
151
- file = File.join('src', src_package[:filename])
152
- if File.exists?(file)
153
- std.su_put(File.read(file), "#{src_dir}/#{src_package[:filename]}", '/tmp/')
154
- end
155
- end
156
- end
157
-
158
- task :list_src do
159
- # XXX ugly line - look away
160
- max_key_size = SRC_PACKAGES.keys.max{|a,b| a.to_s.size <=> b.to_s.size}.to_s.size
161
- SRC_PACKAGES.each{|key, src_package|
162
- deprec2.set_package_defaults(src_package)
163
- puts "#{key}#{' '*(max_key_size+1-key.to_s.size)}: #{src_package[:url]}"
164
- }
165
- end
166
-
167
- task :find_src do
168
- # XXX ugly line - look away
169
- max_key_size = SRC_PACKAGES.keys.max{|a,b| a.to_s.size <=> b.to_s.size}.to_s.size
170
- SRC_PACKAGES.each{|key, src_package|
171
- deprec2.set_package_defaults(src_package)
172
- puts "#{key}#{' '*(max_key_size+1-key.to_s.size)}: #{src_package[:url]}"
173
- puts `find . -name #{src_package[:filename]}`
174
- puts
175
- }
176
- end
177
-
178
- task :recover_src do
179
- # XXX ugly line - look away
180
- max_key_size = SRC_PACKAGES.keys.max{|a,b| a.to_s.size <=> b.to_s.size}.to_s.size
181
- SRC_PACKAGES.each{|key, src_package|
182
- puts "#{key}#{' '*(max_key_size+1-key.to_s.size)}: #{src_package[:url]}"
183
- file = `find . -name #{src_package[:filename]}`.split[0]
184
- `cp #{file} src/` if file
185
- puts
186
- }
187
- end
188
-
189
- end
190
-
191
- end