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 +4 -4
- data/lib/genesis_collector/ipmi.rb +2 -2
- data/lib/genesis_collector/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: 0ffc8ee73f6ae6d2beac4c5c6f417f32d207a024
|
4
|
+
data.tar.gz: 0e79ae2099fe2f375bedf35dec2234df95c8b6e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
17
|
-
|
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)
|