pvcglue 0.1.31 → 0.1.32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b479b6a7612affbac63b0bc1502f441f12307422
4
- data.tar.gz: 25048d57ce52345b9bffe2723f8c0132a2103370
3
+ metadata.gz: 9363aba01b0dcaae1b80c5cd8d4cf8528c9e7488
4
+ data.tar.gz: d53bb4c34663d0a3af441d4d56a5f0f7a12676ab
5
5
  SHA512:
6
- metadata.gz: dd6beb161767d8444b46dc1cbecc705e1a43323eff444e06847f6e4cac3de17900c3fd8eac19cace65bee04bed4fd5fbbc9ee0368325f7a092927de53ef43fa9
7
- data.tar.gz: 22ab0de77751abf69b221e75145a00b1f5447f949046288b7537fe2aff8994670f9161dd7885869cb265136f6fca26b1e16dc031a508bac9e906e13b39ff0cb1
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::Monit.worker_control_name %> -d "action=stop"'
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::Monit.worker_control_name %> -d "action=start"'
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::Monit.worker_control_name %> -d "action=restart"'
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
 
@@ -1,3 +1,3 @@
1
1
  module Pvcglue
2
- VERSION = "0.1.31"
2
+ VERSION = "0.1.32"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pvcglue
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.31
4
+ version: 0.1.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Lyric