engineyard-eycap 0.4.7 → 0.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +3 -0
- data/lib/eycap/recipes/nginx.rb +15 -0
- data/lib/eycap.rb +1 -1
- metadata +1 -1
data/History.txt
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
== 0.4.8 / 2009-06-22
|
|
2
|
+
* added nginx reload, upgrade and configtest - thanks Randy (ydnar)
|
|
3
|
+
|
|
1
4
|
== 0.4.7 / 2009-05-12
|
|
2
5
|
* fixed bug in clone_prod_to_staging and clone_to_local db tasks for postgres
|
|
3
6
|
where the regex matching the password prompt for the restore was wrong
|
data/lib/eycap/recipes/nginx.rb
CHANGED
|
@@ -15,6 +15,21 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
15
15
|
task :stop , :roles => :app do
|
|
16
16
|
sudo "/etc/init.d/nginx stop"
|
|
17
17
|
end
|
|
18
|
+
|
|
19
|
+
desc "Reload the Nginx config on the app slices."
|
|
20
|
+
task :reload , :roles => :app do
|
|
21
|
+
sudo "/etc/init.d/nginx reload"
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
desc "Upgrade the Nginx processes on the app slices."
|
|
25
|
+
task :upgrade , :roles => :app do
|
|
26
|
+
sudo "/etc/init.d/nginx upgrade"
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
desc "Test the Nginx config on the app slices."
|
|
30
|
+
task :configtest , :roles => :app do
|
|
31
|
+
sudo "/etc/init.d/nginx configtest"
|
|
32
|
+
end
|
|
18
33
|
|
|
19
34
|
desc "Tail the nginx access logs for this application"
|
|
20
35
|
task :tail, :roles => :app do
|
data/lib/eycap.rb
CHANGED