pvcglue 0.1.32 → 0.1.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pvcglue/templates/deploy.rb.erb +3 -3
- data/lib/pvcglue/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00b1e40eeb2613851ff47d1e56f913ba651491a3
|
4
|
+
data.tar.gz: 4be97a31233d6a0a43834e785be954b4b45b9669
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db41a65e9239ff816bf1fae7e97ad15a4205515eb6946cabd678b44e79efa28af0df3a8d49c9f28c54eed92fac1f2c7e9251a8b245fed4c5465380350b60308e
|
7
|
+
data.tar.gz: 85b903b05c100fdfb93159cf8a0afcaec801cf769b818e1bf195d6ab232bece18b442615ee0f9bebbbb50e5dc069d87f3ffb71a366c51bd7046399a14abed7df
|
@@ -28,7 +28,7 @@ namespace :deploy do
|
|
28
28
|
desc 'Stop the workers'
|
29
29
|
task :stop_workers do
|
30
30
|
on roles(:app) do
|
31
|
-
execute
|
31
|
+
execute ('curl -sS http://localhost:2812/<%= "#{Pvcglue.cloud.app_name}_'+fetch(:stage).to_s+'_worker_control" %> -d "action=stop"').to_sym
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
@@ -37,7 +37,7 @@ namespace :deploy do
|
|
37
37
|
on roles(:app) do
|
38
38
|
execute :'curl -sS http://localhost:2812/monit_reload -d "action=restart"'
|
39
39
|
execute :'sleep 5' # must wait for reload
|
40
|
-
execute
|
40
|
+
execute ('curl -sS http://localhost:2812/<%= "#{Pvcglue.cloud.app_name}_'+fetch(:stage).to_s+'_worker_control" %> -d "action=start"').to_sym
|
41
41
|
end
|
42
42
|
end
|
43
43
|
|
@@ -46,7 +46,7 @@ namespace :deploy do
|
|
46
46
|
on roles(:app) do
|
47
47
|
execute :'curl -sS http://localhost:2812/monit_reload -d "action=restart"'
|
48
48
|
execute :'sleep 5' # must wait for reload
|
49
|
-
execute
|
49
|
+
execute ('curl -sS http://localhost:2812/<%= "#{Pvcglue.cloud.app_name}_'+fetch(:stage).to_s+'_worker_control" %> -d "action=restart"').to_sym
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
data/lib/pvcglue/version.rb
CHANGED