genesis_collector 0.1.9 → 0.1.10

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: 0b6ebf200a37ffa0b3ae53e56875dece1bf366cc
4
- data.tar.gz: a820ce96af3413f84843976613d2c9ac5c31613b
3
+ metadata.gz: 0ffc8ee73f6ae6d2beac4c5c6f417f32d207a024
4
+ data.tar.gz: 0e79ae2099fe2f375bedf35dec2234df95c8b6e1
5
5
  SHA512:
6
- metadata.gz: f6ba1a830d47d875a955b03afa9df04bb2944b33b8418c309eab96c70f53a52462b5f34ff1110a3b837c1c539a8278bd5c80312a34bacdab1cfb1c10adfa5b4d
7
- data.tar.gz: b5cb9750419ce7df280bd989ff14e3cc02b88b0fe4d028fee9ea7e6070502de817a4750b629e8547bb11b869e558a9f3edea479747347c035e3f76d17ddaf84c
6
+ metadata.gz: 7d2193f9169116497316ee6003d53f62adb3fe4e83ac145d08ca7b895f7953794b9587b8ce2502cfd36d409738c16f695f664cbf398d7032c9ffc229a4b19d09
7
+ data.tar.gz: 8088eaf3bf5db073d62af310df11775894415747fee328283bb1aa0c9daba1f67668415377aad33f846f7126161d4dc6bec25a005d6e9cefd1cb1d018e5ac729
@@ -13,8 +13,8 @@ module GenesisCollector
13
13
  private
14
14
 
15
15
  def read_ipmi_attribute(key)
16
- data = shellout_with_timeout('ipmitool lan print')
17
- data.match(/#{key}\s*:\s*(\S+)$/)[1] || 'unknown'
16
+ @ipmi_lan_output ||= shellout_with_timeout('ipmitool lan print', 10)
17
+ @ipmi_lan_output.match(/#{key}\s*:\s*(\S+)$/)[1] || 'unknown'
18
18
  end
19
19
 
20
20
  def read_ipmi_fru(key)
@@ -1,3 +1,3 @@
1
1
  module GenesisCollector
2
- VERSION = '0.1.9'
2
+ VERSION = '0.1.10'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: genesis_collector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Radcliffe