onering-report-plugins 0.0.11 → 0.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -66,7 +66,7 @@ if Facter::Util::Resolution.which('vgc-monitor')
66
66
  end
67
67
  else
68
68
  if detail.first.to_s =~ /^\/dev\/(vgc[a-z]+[0-9]+)\s+([0-9]+) [KMGTPEZY]?B\s+([a-z]+)$/
69
- card[:partitions] << part unless part_name.nil?
69
+ card[:partitions] << part[part_name] unless part_name.nil?
70
70
 
71
71
  part_name = $1
72
72
  part[part_name] ||= {}
@@ -78,7 +78,7 @@ if Facter::Util::Resolution.which('vgc-monitor')
78
78
 
79
79
  end
80
80
 
81
- card[:partitions] << part unless part_name.nil?
81
+ card[:partitions] << part[part_name] unless part_name.nil?
82
82
  virident_cards << card
83
83
  end
84
84
 
@@ -4,5 +4,5 @@
4
4
 
5
5
  report do
6
6
  virident = Facter.value('virident')
7
- stat :virident, virident unless virident.nil?
7
+ stat :@virident, virident unless virident.nil?
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onering-report-plugins
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2013-04-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: onering-client
16
- requirement: &19911060 !ruby/object:Gem::Requirement
16
+ requirement: &16071620 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *19911060
24
+ version_requirements: *16071620
25
25
  description: Base plugins for providing system information via the Onering client
26
26
  utility
27
27
  email: ghetzel@outbrain.com