genesis_collector 0.1.21 → 0.1.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/genesis_collector +1 -0
- data/lib/genesis_collector/collector.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: e7dfaf5423e0b67c892d2dbe4f6a14dc5ca2cef4
|
4
|
+
data.tar.gz: 65f055d17bace75e51188f4c741a25a309e74f31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 093533c5b4e374c523376d96c12e24911e0f6de6047ec6e8274bba84c0ed3904d16c24b73bfe58e6d8ffd5b1e95a595cddf52d6ac4f527212cae86b5c6b394c3
|
7
|
+
data.tar.gz: 27f992e3fe9e5097b1b2a683e251fca7ccea4e27a0d4f6e47cea2690cf8cb0c82901334f0d8530e6b33c2f931fd0cd944c10252fc900dbd9cc5df3e904b67784
|
data/exe/genesis_collector
CHANGED
@@ -11,7 +11,7 @@ require 'English'
|
|
11
11
|
|
12
12
|
module GenesisCollector
|
13
13
|
class Collector
|
14
|
-
attr_reader :payload
|
14
|
+
attr_reader :sku, :payload
|
15
15
|
|
16
16
|
include GenesisCollector::NetworkInterfaces
|
17
17
|
include GenesisCollector::Chef
|
@@ -168,7 +168,7 @@ module GenesisCollector
|
|
168
168
|
else
|
169
169
|
'UKN'
|
170
170
|
end
|
171
|
-
"#{manufacturer}-#{serial}"
|
171
|
+
"#{manufacturer}-#{serial}".gsub('.','') # dells
|
172
172
|
end
|
173
173
|
|
174
174
|
def read_dmi(key)
|