pvcglue 0.1.31 → 0.1.32
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.
- 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: 9363aba01b0dcaae1b80c5cd8d4cf8528c9e7488
|
|
4
|
+
data.tar.gz: d53bb4c34663d0a3af441d4d56a5f0f7a12676ab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6d52361f61209654dcb8ffa09e9142d6b872c61a9715bf3d8f325fae0fa2916e782b8fa1a629204505b2f54a4ebb8702f635918acbddce27c16d65ace2ff47ca
|
|
7
|
+
data.tar.gz: 8b5fb08f9d8094a42d347a284cd57ea543e11ad628fd419dd25a7e4d68512239cf2fe7d44dc04c199c6bc425610d2e09200bc4ab315850bf5be0d1fbbdf3688f
|
|
@@ -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 :'curl -sS http://localhost:2812/<%= Pvcglue
|
|
31
|
+
execute :'curl -sS http://localhost:2812/<%= "#{Pvcglue.cloud.app_name}_'+fetch(:stage)+'_worker_control" %> -d "action=stop"'
|
|
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 :'curl -sS http://localhost:2812/<%= Pvcglue
|
|
40
|
+
execute :'curl -sS http://localhost:2812/<%= "#{Pvcglue.cloud.app_name}_'+fetch(:stage)+'_worker_control" %> -d "action=start"'
|
|
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 :'curl -sS http://localhost:2812/<%= Pvcglue
|
|
49
|
+
execute :'curl -sS http://localhost:2812/<%= "#{Pvcglue.cloud.app_name}_'+fetch(:stage)+'_worker_control" %> -d "action=restart"'
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
data/lib/pvcglue/version.rb
CHANGED