onering-report-plugins 0.0.20 → 0.0.21

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,3 +1,15 @@
1
+ Facter.add('uuid') do
2
+ setcode do
3
+ if Facter.value('uuid')
4
+ Facter.value('uuid')
5
+ elsif Facter::Util::Resolution.which('dmidecode')
6
+ Facter::Util::Resolution.exec('dmidecode -s system-uuid').strip.chomp
7
+ else
8
+ nil
9
+ end
10
+ end
11
+ end
12
+
1
13
  Facter.add('signature') do
2
14
  setcode do
3
15
  if File.size?("/etc/onering/signature")
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.20
4
+ version: 0.0.21
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: