onering-report-plugins 0.0.38 → 0.0.39

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.
@@ -1,7 +1,7 @@
1
1
  if Facter::Util::Resolution.which('vgc-monitor')
2
2
  virident_cards = []
3
3
 
4
- Facter::Util::Resolution.exec("vgc-monitor | grep '^/dev'").split("\n").each do |card|
4
+ Facter::Util::Resolution.exec("vgc-monitor | grep '^/dev'").to_s.split("\n").each do |card|
5
5
  name, partitions, model, status = card.strip.chomp.split(/\s+/)
6
6
  card = {
7
7
  :name => name,
@@ -13,7 +13,7 @@ if Facter::Util::Resolution.which('vgc-monitor')
13
13
 
14
14
  part = {}
15
15
  part_name = nil
16
- details = Facter::Util::Resolution.exec("vgc-monitor -d #{name}").split(/\n/).collect{|i| i.strip.split(/\s*:\s*/,2) }
16
+ details = Facter::Util::Resolution.exec("vgc-monitor -d #{name}").to_s.split(/\n/).collect{|i| i.strip.split(/\s*:\s*/,2) }
17
17
 
18
18
  details.each_index do |i|
19
19
  begin
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.38
4
+ version: 0.0.39
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: !ruby/object:Gem::Requirement
16
+ requirement: &13488540 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,12 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: '0'
24
+ version_requirements: *13488540
30
25
  description: Base plugins for providing system information via the Onering client
31
26
  utility
32
27
  email: ghetzel@outbrain.com
@@ -34,32 +29,32 @@ executables: []
34
29
  extensions: []
35
30
  extra_rdoc_files: []
36
31
  files:
37
- - lib/reporter/default/properties_facter.rb
38
- - lib/reporter/default/stats_virident.rb
39
- - lib/reporter/default/stats_disk.rb
40
- - lib/reporter/default/properties_xen.rb
41
- - lib/reporter/default/properties_openvz.rb
42
- - lib/reporter/default/properties_haproxy.rb
43
- - lib/reporter/default/properties_network.rb
44
- - lib/reporter/default/properties_physical.rb
45
- - lib/reporter/default/properties_ohai.rb
46
- - lib/reporter/default/stats_zfs.rb
47
- - lib/reporter/default/stats_base.rb
48
- - lib/reporter/default/properties_services.rb
49
- - lib/reporter/default/properties_chef.rb
50
32
  - lib/facter/onering_properties_openvz.rb
33
+ - lib/facter/onering_properties_network.rb
34
+ - lib/facter/onering_properties_virident.rb
35
+ - lib/facter/onering_properties_services.rb
51
36
  - lib/facter/onering_properties_chef.rb
52
37
  - lib/facter/onering_properties_physical.rb
53
- - lib/facter/onering_properties_xen.rb
54
- - lib/facter/onering_properties_services.rb
55
- - lib/facter/onering_properties_virident.rb
56
- - lib/facter/onering_properties_zfs.rb
57
- - lib/facter/onering_properties_network.rb
58
38
  - lib/facter/onering_properties_system.rb
59
39
  - lib/facter/onering_properties_id.rb
60
- - lib/facter/onering_disk_smart.rb
61
40
  - lib/facter/onering_properties_haproxy.rb
41
+ - lib/facter/onering_disk_smart.rb
42
+ - lib/facter/onering_properties_zfs.rb
43
+ - lib/facter/onering_properties_xen.rb
62
44
  - lib/etc/facter.list
45
+ - lib/reporter/default/properties_physical.rb
46
+ - lib/reporter/default/properties_facter.rb
47
+ - lib/reporter/default/stats_disk.rb
48
+ - lib/reporter/default/stats_zfs.rb
49
+ - lib/reporter/default/properties_openvz.rb
50
+ - lib/reporter/default/properties_xen.rb
51
+ - lib/reporter/default/properties_chef.rb
52
+ - lib/reporter/default/stats_virident.rb
53
+ - lib/reporter/default/properties_ohai.rb
54
+ - lib/reporter/default/properties_haproxy.rb
55
+ - lib/reporter/default/properties_network.rb
56
+ - lib/reporter/default/properties_services.rb
57
+ - lib/reporter/default/stats_base.rb
63
58
  homepage: https://github.com/outbrain/onering-report-plugins
64
59
  licenses: []
65
60
  post_install_message:
@@ -80,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
75
  version: '0'
81
76
  requirements: []
82
77
  rubyforge_project:
83
- rubygems_version: 1.8.23
78
+ rubygems_version: 1.8.11
84
79
  signing_key:
85
80
  specification_version: 3
86
81
  summary: Onering system reporting plugins