genesis_collector 0.1.20 → 0.1.21

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: e238cbe05eb6fa3d420d3f86666816152b7af434
4
- data.tar.gz: 4ce21bf5044f365a4775f303931273d1f3602036
3
+ metadata.gz: 282039c81feedfe3ad5af0a84694404240071395
4
+ data.tar.gz: 45519e652372d14958abf65469a8731696e7a939
5
5
  SHA512:
6
- metadata.gz: fe6ec479a700fae23b719ced5b9ed926b9b89c742bcf408f8a8cdaecf7783dd62794f52f49daaad1757ad452f598edb076c5a8e838c2b5617f7c35013733db2f
7
- data.tar.gz: f54658322e6bb156dd86a21b40d85e179f6bd1d9bfee8757e59b51f933fc224ec6ca382f965d53cfa434996ad94e2a2a3611f56a99d27d23549e376ecbc40dfb
6
+ metadata.gz: 6338ed834bf46cb424e1f29be9be5c7189724d564813754651a2f210b9810a22f42537474840d63f8e765b47cae1b0c87332dea5b6aabc1a7cfec567cb54810a
7
+ data.tar.gz: 08436672d2507420499738b3834d74a6cf5b50a385cc260aede9554244c6ad6237bb0909de1ba6224b5804ffb00a341ba0858fe732266bceff2e1ed89b6e1966
@@ -67,9 +67,11 @@ module GenesisCollector
67
67
  'BASEBOARD_SERIAL_NUMBER' => read_dmi('baseboard-serial-number'),
68
68
  'CHASSIS_VENDOR' => read_dmi('chassis-manufacturer'),
69
69
  'CHASSIS_SERIAL_NUMBER' => read_dmi('chassis-serial-number'),
70
- 'NODE_POSITION_IN_CHASSIS' => read_node_position
71
70
  }
72
71
  }
72
+
73
+ @payload[:properties]['NODE_POSITION_IN_CHASSIS'] = read_node_position if @payload[:vendor] == 'Supermicro'
74
+
73
75
  if read_dmi('system-serial-number') == nil
74
76
  @payload[:product] = read_ipmi_fru('Product Part Number')
75
77
  @payload[:properties]['SYSTEM_SERIAL_NUMBER'] = read_ipmi_fru('Product Serial')
@@ -1,3 +1,3 @@
1
1
  module GenesisCollector
2
- VERSION = '0.1.20'
2
+ VERSION = '0.1.21'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: genesis_collector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.20
4
+ version: 0.1.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Radcliffe
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-04-06 00:00:00.000000000 Z
11
+ date: 2016-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -116,9 +116,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
116
  version: '0'
117
117
  requirements: []
118
118
  rubyforge_project:
119
- rubygems_version: 2.6.3
119
+ rubygems_version: 2.4.8
120
120
  signing_key:
121
121
  specification_version: 4
122
122
  summary: Agent to collect information about bare metal servers and send it to Genesis.
123
123
  test_files: []
124
- has_rdoc: