onering-report-plugins 0.0.43 → 0.0.44
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.
- data/lib/etc/facter.list +3 -2
- data/lib/facter/onering_properties_onering.rb +17 -0
- metadata +4 -3
data/lib/etc/facter.list
CHANGED
@@ -10,9 +10,10 @@ ipaddress:ip
|
|
10
10
|
default_macaddress:mac
|
11
11
|
default_gateway:gateway
|
12
12
|
kernelrelease:kernel
|
13
|
-
kernelarguments
|
13
|
+
kernelarguments:@kernelarguments
|
14
14
|
architecture:arch
|
15
15
|
operatingsystem:distro
|
16
16
|
operatingsystemrelease:version
|
17
17
|
signature
|
18
|
-
boottime:booted_at
|
18
|
+
boottime:booted_at
|
19
|
+
onering:@onering
|
@@ -0,0 +1,17 @@
|
|
1
|
+
if Facter::Util::Resolution.which('onering')
|
2
|
+
onering = {}
|
3
|
+
|
4
|
+
if defined?(Gem)
|
5
|
+
if defined?(Gem::Specification)
|
6
|
+
if Gem::Specification.respond_to?(:find_by_name)
|
7
|
+
onering[:version] = Gem::Specification.find_by_name('onering-client').version.to_s
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
unless onering.empty?
|
13
|
+
Facter.add('onering') do
|
14
|
+
setcode { onering }
|
15
|
+
end
|
16
|
+
end
|
17
|
+
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.
|
4
|
+
version: 0.0.44
|
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: &
|
16
|
+
requirement: &17565780 !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: *
|
24
|
+
version_requirements: *17565780
|
25
25
|
description: Base plugins for providing system information via the Onering client
|
26
26
|
utility
|
27
27
|
email: ghetzel@outbrain.com
|
@@ -35,6 +35,7 @@ files:
|
|
35
35
|
- lib/facter/onering_properties_netstat.rb
|
36
36
|
- lib/facter/onering_properties_services.rb
|
37
37
|
- lib/facter/onering_properties_chef.rb
|
38
|
+
- lib/facter/onering_properties_onering.rb
|
38
39
|
- lib/facter/onering_properties_physical.rb
|
39
40
|
- lib/facter/onering_properties_system.rb
|
40
41
|
- lib/facter/onering_properties_id.rb
|