onering-report-plugins 0.0.61 → 0.0.62

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.
@@ -24,7 +24,10 @@ report do
24
24
  IO.readlines(file) if File.exists?(file)
25
25
  }.flatten.compact.sort.uniq
26
26
 
27
+
27
28
  facts.each do |line|
29
+ Onering::Logger.debug3("-> Facter Line: #{line.inspect}", "Onering::Reporter")
30
+
28
31
  # strip whitespace/kill newline
29
32
  line.strip!
30
33
  line.chomp!
@@ -37,7 +40,7 @@ report do
37
40
  key = (line.length == 1 ? line.first : line.last)
38
41
  val = cleanup_dirty_values(key, Facter.value(line.first))
39
42
 
40
- property key.to_sym, val
43
+ property(key.to_sym, val)
41
44
  rescue Exception => e
42
45
  Onering::Logger.debug(e.message, "onering-report-plugins/properties_facter/#{e.class.name}")
43
46
  next
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.61
4
+ version: 0.0.62
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: &8752600 !ruby/object:Gem::Requirement
16
+ requirement: &22769040 !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: *8752600
24
+ version_requirements: *22769040
25
25
  description: Base plugins for providing system information via the Onering client
26
26
  utility
27
27
  email: ghetzel@outbrain.com