omf_rc 6.1.10 → 6.1.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/omf_rc/util/topology.rb +6 -0
  2. metadata +5 -5
@@ -33,6 +33,12 @@ module OmfRc::Util::Topology
33
33
  timeout ||= 600 # Stop checking after 10 minutes
34
34
  t = OmfCommon.el.every(10) do
35
35
  info "Checking topology from file: '#{topo_path}'"
36
+
37
+ if !File.exist?(topo_path)
38
+ warn "Topology file missing: '#{topo_path}'"
39
+ t.cancel
40
+ end
41
+
36
42
  File.foreach(topo_path) do |v|
37
43
  target = v.chomp
38
44
  reachable = `ping -c 1 #{target}`.include?('bytes from')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omf_rc
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.10
4
+ version: 6.1.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-10-10 00:00:00.000000000 Z
12
+ date: 2014-10-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest
@@ -82,7 +82,7 @@ dependencies:
82
82
  requirements:
83
83
  - - '='
84
84
  - !ruby/object:Gem::Version
85
- version: 6.1.10
85
+ version: 6.1.11
86
86
  type: :runtime
87
87
  prerelease: false
88
88
  version_requirements: !ruby/object:Gem::Requirement
@@ -90,7 +90,7 @@ dependencies:
90
90
  requirements:
91
91
  - - '='
92
92
  - !ruby/object:Gem::Version
93
- version: 6.1.10
93
+ version: 6.1.11
94
94
  - !ruby/object:Gem::Dependency
95
95
  name: cocaine
96
96
  requirement: !ruby/object:Gem::Requirement
@@ -230,7 +230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
230
230
  version: '0'
231
231
  segments:
232
232
  - 0
233
- hash: 2655597424598583381
233
+ hash: -402276038380737222
234
234
  requirements: []
235
235
  rubyforge_project: omf_rc
236
236
  rubygems_version: 1.8.23