facterdb 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +24 -5
  3. data/README.md +9 -4
  4. data/Rakefile +16 -4
  5. data/facterdb.gemspec +1 -1
  6. data/facts/1.6/amazon-2-x86_64.facts +53 -0
  7. data/facts/1.6/amazon-2016-x86_64.facts +62 -0
  8. data/facts/1.7/amazon-2-x86_64.facts +76 -0
  9. data/facts/1.7/amazon-2016-x86_64.facts +78 -0
  10. data/facts/2.0/amazon-2-x86_64.facts +77 -0
  11. data/facts/2.0/amazon-2016-x86_64.facts +79 -0
  12. data/facts/2.1/amazon-2-x86_64.facts +90 -0
  13. data/facts/2.1/amazon-2016-x86_64.facts +90 -0
  14. data/facts/2.2/amazon-2-x86_64.facts +106 -0
  15. data/facts/2.2/amazon-2016-x86_64.facts +113 -0
  16. data/facts/2.3/amazon-2-x86_64.facts +107 -0
  17. data/facts/2.3/amazon-2016-x86_64.facts +114 -0
  18. data/facts/2.4/amazon-2-x86_64.facts +110 -0
  19. data/facts/2.4/amazon-2016-x86_64.facts +117 -0
  20. data/facts/2.4/raspbian-9-armv6l.facts +116 -0
  21. data/facts/2.4/raspbian-9-armv7l.facts +116 -0
  22. data/facts/2.5/amazon-2-x86_64.facts +116 -0
  23. data/facts/2.5/amazon-2016-x86_64.facts +117 -0
  24. data/facts/3.0/amazon-4-x86_64.facts +123 -173
  25. data/facts/3.1/amazon-4-x86_64.facts +127 -177
  26. data/facts/3.10/amazon-2-x86_64.facts +382 -0
  27. data/facts/3.10/amazon-2016-x86_64.facts +324 -0
  28. data/facts/3.11/amazon-2-x86_64.facts +488 -0
  29. data/facts/3.11/amazon-2016-x86_64.facts +379 -0
  30. data/facts/3.11/raspbian-10-armv6l.facts +392 -0
  31. data/facts/3.11/raspbian-10-armv7l.facts +392 -0
  32. data/facts/3.11/solaris-11-i86pc.facts +647 -0
  33. data/facts/3.11/solaris-11-sun4v.facts +618 -0
  34. data/facts/3.12/amazon-2-x86_64.facts +385 -0
  35. data/facts/3.12/amazon-2016-x86_64.facts +327 -0
  36. data/facts/3.13/amazon-2-x86_64.facts +385 -0
  37. data/facts/3.13/amazon-2016-x86_64.facts +327 -0
  38. data/facts/3.13/debian-10-x86_64.facts +534 -0
  39. data/facts/3.14/amazon-2-x86_64.facts +385 -0
  40. data/facts/3.14/amazon-2016-x86_64.facts +327 -0
  41. data/facts/3.14/debian-10-x86_64.facts +534 -0
  42. data/facts/3.14/solaris-11-i86pc.facts +647 -0
  43. data/facts/3.14/solaris-11-sun4v.facts +618 -0
  44. data/facts/3.3/amazon-4-x86_64.facts +127 -177
  45. data/facts/3.6/amazon-2-x86_64.facts +375 -0
  46. data/facts/3.6/amazon-2016-x86_64.facts +317 -0
  47. data/facts/3.7/amazon-2-x86_64.facts +375 -0
  48. data/facts/3.7/amazon-2016-x86_64.facts +317 -0
  49. data/facts/3.8/amazon-2-x86_64.facts +375 -0
  50. data/facts/3.8/amazon-2016-x86_64.facts +317 -0
  51. data/facts/3.9/amazon-2-x86_64.facts +381 -0
  52. data/facts/3.9/amazon-2016-x86_64.facts +323 -0
  53. data/facts/Vagrantfile +14 -0
  54. data/facts/get_facts.sh +8 -0
  55. data/lib/facterdb/version.rb +1 -1
  56. metadata +50 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7e5f9fac062b8eb5fa3676cc2803cf1ae7cae9bace4d77646fd290494862161d
4
- data.tar.gz: 57ead77cf910cafaa5d89ca4b3d75e30444630b1dd13c138a610a7a90d69b35b
3
+ metadata.gz: 41f9f7851f4e49d32ccdb478e3ffb99c6afe3fc62306519201a552690492d6d6
4
+ data.tar.gz: b80bbe9f21389d071e7897a90c9ef74babab4d6d98a6e5349764965e8e9cc265
5
5
  SHA512:
6
- metadata.gz: 92d6ce15d7ac98f8dd29a813da8fd3729c9dce48d5b3fb500fcce007e131f282397b07eff0f97e646f0092c4cf5606b0ac3058463cb33fb9d64ebbdb1c2e4ca9
7
- data.tar.gz: bac13a65e236ae5a528f9c4ed04d8222ba9ac034f3df9744b6530a7ce57c5d620217437c461fdc2196867628da0badec469d1ec7b2c75b1035e40edab089ae9d
6
+ metadata.gz: 55353d07ac7fd216382e6715a3ab896c2f60ef84bfab352c613db08005ada96051bdd6d54226151e4af2e6b1b4905d9f92432a185a29e5ab899399e9d92e6fa1
7
+ data.tar.gz: 2627c2a95b7c9782ae0f10dfc679cd1fb4285ce743bd594d8896d8d1b621860d7809b4e3dfc20ab28257c0b206ca257bfdffef0e85d4301ae0feb5d9b32536d8
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.3.0](https://rubygems.org/gems/facterdb/versions/1.3.0) (2020-04-15)
4
+
5
+ [Full Changelog](https://github.com/camptocamp/facterdb/compare/1.2.0...1.3.0)
6
+
7
+ **Closed issues:**
8
+
9
+ - Raspbian support [\#135](https://github.com/camptocamp/facterdb/issues/135)
10
+
11
+ **Merged pull requests:**
12
+
13
+ - Add Debian 10 facter 3.13/3.14 sets [\#152](https://github.com/camptocamp/facterdb/pull/152) ([bastelfreak](https://github.com/bastelfreak))
14
+ - Pin to facter \< 4 to avoid automatic upgrade [\#151](https://github.com/camptocamp/facterdb/pull/151) ([raphink](https://github.com/raphink))
15
+ - AmazonLinux facts added [\#147](https://github.com/camptocamp/facterdb/pull/147) ([bFekete](https://github.com/bFekete))
16
+ - Add facts for Raspbian 9 and 10; alter Rakefile to support Raspbian [\#136](https://github.com/camptocamp/facterdb/pull/136) ([threepistons](https://github.com/threepistons))
17
+
3
18
  ## [1.2.0](https://rubygems.org/gems/facterdb/versions/1.2.0) (2020-01-08)
4
19
 
5
20
  [Full Changelog](https://github.com/camptocamp/facterdb/compare/1.1.0...1.2.0)
@@ -21,6 +36,7 @@
21
36
 
22
37
  **Merged pull requests:**
23
38
 
39
+ - Adding facts from Solaris 11 x86 & SPARC [\#149](https://github.com/camptocamp/facterdb/pull/149) ([genebean](https://github.com/genebean))
24
40
  - Add Gentoo 3.11 factset [\#143](https://github.com/camptocamp/facterdb/pull/143) ([bastelfreak](https://github.com/bastelfreak))
25
41
  - archlinux: set correct FQDN/hostname [\#142](https://github.com/camptocamp/facterdb/pull/142) ([bastelfreak](https://github.com/bastelfreak))
26
42
  - Add Fedora 30 facts for Facter 3.11 [\#141](https://github.com/camptocamp/facterdb/pull/141) ([baurmatt](https://github.com/baurmatt))
@@ -134,14 +150,21 @@
134
150
  - facts/2.5/fedora-28-x86\_64.facts broken [\#91](https://github.com/camptocamp/facterdb/issues/91)
135
151
  - Add facter 2.5 Gentoo facts [\#90](https://github.com/camptocamp/facterdb/issues/90)
136
152
 
153
+ **Merged pull requests:**
154
+
155
+ - \(maint\) Add `rake table` task + update README.md + better Windows detection [\#76](https://github.com/camptocamp/facterdb/pull/76) ([glennsarti](https://github.com/glennsarti))
156
+
137
157
  ## [0.5.2](https://rubygems.org/gems/facterdb/versions/0.5.2) (2018-04-30)
138
158
 
139
159
  [Full Changelog](https://github.com/camptocamp/facterdb/compare/0.5.1...0.5.2)
140
160
 
161
+ **Implemented enhancements:**
162
+
163
+ - Release prep for 0.4.0 [\#66](https://github.com/camptocamp/facterdb/pull/66) ([DavidS](https://github.com/DavidS))
164
+
141
165
  **Merged pull requests:**
142
166
 
143
167
  - add Ubuntu 18.04 facts [\#82](https://github.com/camptocamp/facterdb/pull/82) ([bastelfreak](https://github.com/bastelfreak))
144
- - \(maint\) Add `rake table` task + update README.md + better Windows detection [\#76](https://github.com/camptocamp/facterdb/pull/76) ([glennsarti](https://github.com/glennsarti))
145
168
  - Added Solaris 10 facts on Facter 3.9 [\#75](https://github.com/camptocamp/facterdb/pull/75) ([sirinek](https://github.com/sirinek))
146
169
 
147
170
  ## [0.5.1](https://rubygems.org/gems/facterdb/versions/0.5.1) (2018-03-06)
@@ -173,10 +196,6 @@
173
196
 
174
197
  [Full Changelog](https://github.com/camptocamp/facterdb/compare/0.4.0...0.4.1)
175
198
 
176
- **Implemented enhancements:**
177
-
178
- - Release prep for 0.4.0 [\#66](https://github.com/camptocamp/facterdb/pull/66) ([DavidS](https://github.com/DavidS))
179
-
180
199
  ## [0.4.0](https://rubygems.org/gems/facterdb/versions/0.4.0) (2017-10-24)
181
200
 
182
201
  [Full Changelog](https://github.com/camptocamp/facterdb/compare/0.3.12...0.4.0)
data/README.md CHANGED
@@ -63,9 +63,11 @@ FacterDB::get_facts('osfamily=Debian')
63
63
  | AIX 5300 | | | | | | | | | | | 1 | | | | | | | | | | | | |
64
64
  | AIX 6100 | | | | | | | | | | | 1 | | | | | | | | | | | | |
65
65
  | AIX 7100 | | | | | | | | | | | 1 | | | | | | | 1 | | | | | |
66
- | Amazon | 1 | | | | | | | | | | | | | | | | | | | | | | |
66
+ | Amazon | 3 | | | | 1 | 1 | 1 | | | | | | | | | | | | | | | | |
67
+ | Amazon 2 | | | | | | | | 1 | | | | | | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
68
+ | Amazon 2016 | | | | | 1 | 1 | 1 | 1 | | | | | | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
67
69
  | Amazon 2017 | | | | | 1 | 1 | 1 | | | | | | | | 1 | | | | | | | | |
68
- | Amazon 4 | | 1 | 1 | 1 | | | | | 1 | 1 | | 1 | | | | | | | | | | | |
70
+ | Amazon 4 | | 3 | 3 | 3 | | | | | 1 | 1 | | 1 | | | | | | | | | | | |
69
71
  | Archlinux | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | | | | | | | | | | 1 | 1 | 1 | 1 | 1 | 1 |
70
72
  | CentOS 5 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | | |
71
73
  | CentOS 6 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 | 1 |
@@ -77,7 +79,7 @@ FacterDB::get_facts('osfamily=Debian')
77
79
  | Darwin 16 | | | | | 1 | 1 | 1 | 1 | | | | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
78
80
  | Darwin 17 | | | | | 1 | 1 | 1 | 1 | | | | | | | | | | 1 | 1 | 1 | 1 | 1 | 1 |
79
81
  | Darwin 18 | | | | | 1 | 1 | 1 | 1 | | | | | | | | | | | | 1 | | 1 | 1 |
80
- | Debian 10 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | | | | | | | | | | | 1 | | | |
82
+ | Debian 10 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | | | | | | | | | | | 1 | | 1 | 1 |
81
83
  | Debian 6 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | 2 | | | | | | | | | | | | | |
82
84
  | Debian 7 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | 2 | 2 | 2 | 2 | 2 | | | | | | |
83
85
  | Debian 8 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 | 1 | 1 | 1 | 1 |
@@ -113,6 +115,8 @@ FacterDB::get_facts('osfamily=Debian')
113
115
  | OracleLinux 5 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 | 1 | | | |
114
116
  | OracleLinux 6 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 | 2 | 1 | 1 | 1 |
115
117
  | OracleLinux 7 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 2 | 2 | | 2 | 1 | 1 | 2 | 1 | 1 | 1 | 1 | 2 | 1 | 1 | 1 |
118
+ | Raspbian 10 | | | | | | | | | | | | | | | | | | | | 2 | | | |
119
+ | Raspbian 9 | | | | | | | 2 | | | | | | | | | | | | | | | | |
116
120
  | RedHat 5 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | | |
117
121
  | RedHat 6 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | 2 | 2 | 3 | 2 | 2 | 2 | 2 | 2 | 1 | 1 | 1 |
118
122
  | RedHat 7 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 2 | 2 | | 2 | 1 | 1 | 2 | 1 | 1 | 1 | 1 | 2 | 1 | 1 | 1 |
@@ -126,7 +130,8 @@ FacterDB::get_facts('osfamily=Debian')
126
130
  | Solaris | | | | | | | | 1 | | | | | | | | | | 1 | | 1 | | | |
127
131
  | Solaris 1 | | | | | | | | 1 | | | | | | | | | | | | | | | |
128
132
  | Solaris 11 | 1 | 1 | | | | | | | | | | | | | | | | | | | | | |
129
- | Solaris 2 | | | 1 | 1 | 1 | 2 | 2 | | | | | | | | | | | | | | | | |
133
+ | Solaris 2 | | | 1 | 1 | 1 | 2 | 2 | | | | | | | | | | | | | 1 | | | 1 |
134
+ | Solaris 3 | | | | | | | | | | | | | | | | | | | | 1 | | | 1 |
130
135
  | Ubuntu 10.04 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | | | | | | | | | | | | | | | |
131
136
  | Ubuntu 12.04 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | 2 | 2 | | | | | | | | | |
132
137
  | Ubuntu 14.04 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 | 1 | 1 | 1 | 1 |
data/Rakefile CHANGED
@@ -29,12 +29,23 @@ end
29
29
  def factset_to_os_label(fs)
30
30
  os_rel = '???'
31
31
  os_name = '????'
32
- if fs.key?(:os) && (fs[:os]['release']['major'] =~ /\d/)
32
+ if fs.key?(:os) && fs[:os].key?('release') && (fs[:os]['release']['major'] =~ /\d/)
33
33
  os_name = fs[:os]['name']
34
+ fail = Hash.new
35
+ os = fs[:os]
36
+ distro = os.fetch('lsb', os.fetch('distro', fail))
37
+ if distro.key?('id')
38
+ os_id = distro['id']
39
+ elsif distro.key?('distid')
40
+ os_id = distro['distid']
41
+ else
42
+ os_id = '@@@@@@@@@@'
43
+ end
34
44
  os_rel = fs[:os]['release']['major']
35
45
  os__rel = fs[:os]['release']['full']
36
46
  elsif fs.key? :operatingsystem
37
47
  os_name = fs[:operatingsystem]
48
+ os_id = fs.fetch(:lsbdistid, '@@@@@@@@@@')
38
49
  os_rel = fs.fetch(:operatingsystemmajrelease, fs.fetch(:lsbmajdistrelease, nil))
39
50
  os__rel = fs.fetch(:lsbdistrelease, fs.fetch(:operatingsystemrelease, '@@@'))
40
51
  else
@@ -42,7 +53,6 @@ def factset_to_os_label(fs)
42
53
  pp fs
43
54
  fail( 'ERROR: unrecognized facterset format' )
44
55
  end
45
-
46
56
  # Sanitize OS names to match the formats used in the facterdb README
47
57
  label = "#{os_name} #{os_rel}"
48
58
  if os_name =~ /^(Archlinux|Gentoo)$/
@@ -56,8 +66,10 @@ def factset_to_os_label(fs)
56
66
  label = "#{os_name} #{os__rel.split('.')[1]}"
57
67
  elsif fs[:_facterdb_filename] =~ /sles-15-/
58
68
  label = "SLES 15"
59
- elsif os_name.start_with?('Debian') && fs[:lsbdistid] == 'LinuxMint'
60
- label = "#{fs[:lsbdistid]} #{fs[:lsbmajdistrelease]}"
69
+ elsif os_name.start_with?('Debian') && os_id == 'LinuxMint'
70
+ label = "#{os_id} #{fs[:lsbmajdistrelease]}"
71
+ elsif os_name.start_with?('Debian') && os_id == 'Raspbian'
72
+ label = "#{os_id} #{os_rel}"
61
73
  elsif os_name =~ /^windows$/
62
74
  db_filename = fs[:_facterdb_filename] || 'there_is_no_filename'
63
75
  if db_filename =~ /windows-10-/
@@ -21,6 +21,6 @@ Gem::Specification.new do |s|
21
21
  s.add_development_dependency 'pry'
22
22
  s.add_development_dependency 'rspec'
23
23
  s.add_development_dependency 'github_changelog_generator', '~> 1.10', '< 1.10.4'
24
- s.add_runtime_dependency 'facter'
24
+ s.add_runtime_dependency 'facter', '< 4.0.0'
25
25
  s.add_runtime_dependency 'jgrep'
26
26
  end
@@ -0,0 +1,53 @@
1
+ {
2
+ "gem_version": "~> 1.6.0",
3
+ "architecture": "x86_64",
4
+ "kernel": "Linux",
5
+ "augeasversion": "1.12.0",
6
+ "domain": "example.com",
7
+ "macaddress": "08:00:27:d5:a3:c3",
8
+ "facterversion": "1.6.18",
9
+ "fqdn": "foo.example.com",
10
+ "hardwareisa": "x86_64",
11
+ "hardwaremodel": "x86_64",
12
+ "hostname": "foo",
13
+ "id": "root",
14
+ "interfaces": "eth0,lo",
15
+ "macaddress_eth0": "08:00:27:d5:a3:c3",
16
+ "ipaddress": "10.0.2.15",
17
+ "kernelmajversion": "4.14",
18
+ "kernelrelease": "4.14.154-128.181.amzn2.x86_64",
19
+ "kernelversion": "4.14.154",
20
+ "boardmanufacturer": "Oracle Corporation",
21
+ "boardproductname": "VirtualBox",
22
+ "boardserialnumber": "0",
23
+ "manufacturer": "innotek GmbH",
24
+ "productname": "VirtualBox",
25
+ "serialnumber": "0",
26
+ "type": "Other",
27
+ "memorysize": "985.54 MB",
28
+ "memoryfree": "813.95 MB",
29
+ "swapsize": "0.00 kB",
30
+ "swapfree": "0.00 kB",
31
+ "memorytotal": "985.54 MB",
32
+ "operatingsystem": "Amazon",
33
+ "operatingsystemrelease": "4.14.154-128.181.amzn2.x86_64",
34
+ "osfamily": "Linux",
35
+ "path": "/home/vagrant/vendor/bundler/ruby/2.5.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin",
36
+ "physicalprocessorcount": 1,
37
+ "processor0": "Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz",
38
+ "processorcount": "1",
39
+ "ps": "ps -ef",
40
+ "rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.5.0",
41
+ "rubyversion": "2.5.3",
42
+ "selinux": "false",
43
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQCzt7VD+RI3cTlhjLrmXiEovOBn0PXzt5ezZmd/E5n3FCO6enAuc3gJZvE6Xhi44lGspTxYQ3bZDnASLF0/oEklrhof173tWAD/gm0JHz9FCXx/msL5VRt+m4kFZ5MRPCwXMYw8hjsuqj8DHtaBleoWyslZWZwBOjLKm7RKR668wrS5cuFtaqK0TrvVMUd6LKL37S/Hs7BPCbKLmgCZgyXuorDmvHvDf161MS/jsS32YfGyuKviDZlfMwK9EqtUlFCf5VNHbrl4CBE2ccLIhqqADZWGTYHqqP3XnJ/WylCPA4uewCg+4XZfqRcel77ny3dfsOQnZxerihHB81TTqv7b",
44
+ "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBP7HYO0Z/t7NKY8iwAyq4Hg5I9fPSTSmZ27fz3u51rZwjoZYUkPMw6PxVUus8pJE4Lq09ifB+Z7UNnJYmp8r+7g=",
45
+ "timezone": "UTC",
46
+ "uniqueid": "007f0100",
47
+ "uptime": "0:06 hours",
48
+ "uptime_days": 0,
49
+ "uptime_hours": 0,
50
+ "uptime_seconds": 366,
51
+ "virtual": "kvm",
52
+ "is_virtual": "true"
53
+ }
@@ -0,0 +1,62 @@
1
+ {
2
+ "gem_version": "~> 1.6.0",
3
+ "architecture": "x86_64",
4
+ "kernel": "Linux",
5
+ "augeasversion": "1.12.0",
6
+ "domain": "example.com",
7
+ "macaddress": "08:00:27:24:46:86",
8
+ "facterversion": "1.6.18",
9
+ "fqdn": "foo.example.com",
10
+ "hardwareisa": "x86_64",
11
+ "hardwaremodel": "x86_64",
12
+ "hostname": "foo",
13
+ "id": "root",
14
+ "interfaces": "eth0,lo",
15
+ "ipaddress_eth0": "10.0.2.15",
16
+ "macaddress_eth0": "08:00:27:24:46:86",
17
+ "netmask_eth0": "255.255.255.0",
18
+ "mtu_eth0": "1500",
19
+ "ipaddress_lo": "127.0.0.1",
20
+ "netmask_lo": "255.0.0.0",
21
+ "mtu_lo": "65536",
22
+ "ipaddress": "10.0.2.15",
23
+ "kernelmajversion": "4.4",
24
+ "kernelrelease": "4.4.44-39.55.amzn1.x86_64",
25
+ "kernelversion": "4.4.44",
26
+ "boardmanufacturer": "Oracle Corporation",
27
+ "boardproductname": "VirtualBox",
28
+ "boardserialnumber": "0",
29
+ "manufacturer": "innotek GmbH",
30
+ "productname": "VirtualBox",
31
+ "serialnumber": "0",
32
+ "type": "Other",
33
+ "memorysize": "996.94 MB",
34
+ "memoryfree": "874.55 MB",
35
+ "swapsize": "0.00 kB",
36
+ "swapfree": "0.00 kB",
37
+ "memorytotal": "996.94 MB",
38
+ "netmask": "255.255.255.0",
39
+ "network_eth0": "10.0.2.0",
40
+ "network_lo": "127.0.0.0",
41
+ "operatingsystem": "Amazon",
42
+ "operatingsystemrelease": "4.4.44-39.55.amzn1.x86_64",
43
+ "osfamily": "Linux",
44
+ "path": "/home/vagrant/vendor/bundler/ruby/2.5.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/aws/bin:/root/bin",
45
+ "physicalprocessorcount": 1,
46
+ "processor0": "Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz",
47
+ "processorcount": "1",
48
+ "ps": "ps -ef",
49
+ "rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.5.0",
50
+ "rubyversion": "2.5.3",
51
+ "selinux": "false",
52
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDZ1lqGL2XwHIZ9fAJbcht6kKAthGOPsz5aC5sM1QP+mY3ouLB5jrwSpQcV51KvIl30IHu3Rp/Jrl06TpN9nw2kZnSMV0dY1k24ujEwF0CpL4STuv9AHkjD0tUFOa1BqmUukLYFKz2cZroUkFO9GZ4l/Z1EZGquQt37x+q0rq45IKlcoWyttLYFmX6zQhK7ICwnrjfTNXs8ID8g0NEFSne1AoDrHa3QjY/Epa5QVQpEOvJ/hrS5yJ2wYp7Rlg3uR4J+sA/Dpn6UCYC/xlj/aXcl90HPORlIy50gLpzLj55fcH6rTIMcLp5hl5gVyr5lygk+Ep5FiuYBMUPzCeCQ6o0v",
53
+ "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBIl9DhX/TT6XkAxp7ROAIP8/67ycpIo7t0+NSP4f0FJy9W2Ifj8m+l0i6zxMATRSOmgDNI+PL/TtLLWRZQ/VbQk=",
54
+ "timezone": "UTC",
55
+ "uniqueid": "007f0100",
56
+ "uptime": "0:05 hours",
57
+ "uptime_days": 0,
58
+ "uptime_hours": 0,
59
+ "uptime_seconds": 319,
60
+ "virtual": "kvm",
61
+ "is_virtual": "true"
62
+ }
@@ -0,0 +1,76 @@
1
+ {
2
+ "gem_version": "~> 1.7.0",
3
+ "architecture": "x86_64",
4
+ "augeasversion": "1.12.0",
5
+ "kernel": "Linux",
6
+ "blockdevice_sda_size": 26843545600,
7
+ "blockdevice_sda_vendor": "ATA",
8
+ "blockdevice_sda_model": "VBOX HARDDISK",
9
+ "blockdevices": "sda",
10
+ "domain": "example.com",
11
+ "macaddress": "08:00:27:d5:a3:c3",
12
+ "osfamily": "RedHat",
13
+ "operatingsystem": "Amazon",
14
+ "facterversion": "1.7.6",
15
+ "filesystems": "xfs",
16
+ "fqdn": "foo.example.com",
17
+ "hardwareisa": "x86_64",
18
+ "hardwaremodel": "x86_64",
19
+ "hostname": "foo",
20
+ "id": "root",
21
+ "interfaces": "eth0,lo",
22
+ "ipaddress_eth0": "10.0.2.15",
23
+ "macaddress_eth0": "08:00:27:d5:a3:c3",
24
+ "netmask_eth0": "255.255.255.0",
25
+ "ipaddress_lo": "127.0.0.1",
26
+ "netmask_lo": "255.0.0.0",
27
+ "ipaddress": "10.0.2.15",
28
+ "kernelmajversion": "4.14",
29
+ "kernelrelease": "4.14.154-128.181.amzn2.x86_64",
30
+ "kernelversion": "4.14.154",
31
+ "boardmanufacturer": "Oracle Corporation",
32
+ "boardproductname": "VirtualBox",
33
+ "boardserialnumber": "0",
34
+ "bios_vendor": "innotek GmbH",
35
+ "bios_version": "VirtualBox",
36
+ "bios_release_date": "12/01/2006",
37
+ "manufacturer": "innotek GmbH",
38
+ "productname": "VirtualBox",
39
+ "serialnumber": "0",
40
+ "uuid": "2775E86A-EC06-4791-B2F2-C923CEB7A5C2",
41
+ "type": "Other",
42
+ "memorysize": "985.54 MB",
43
+ "memoryfree": "810.14 MB",
44
+ "swapsize": "0.00 MB",
45
+ "swapfree": "0.00 MB",
46
+ "swapsize_mb": "0.00",
47
+ "swapfree_mb": "0.00",
48
+ "memorysize_mb": "985.54",
49
+ "memoryfree_mb": "810.14",
50
+ "memorytotal": "985.54 MB",
51
+ "netmask": "255.255.255.0",
52
+ "network_eth0": "10.0.2.0",
53
+ "network_lo": "127.0.0.0",
54
+ "operatingsystemmajrelease": "4",
55
+ "operatingsystemrelease": "4.14.154-128.181.amzn2.x86_64",
56
+ "path": "/home/vagrant/vendor/bundler/ruby/2.5.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin",
57
+ "physicalprocessorcount": 1,
58
+ "processor0": "Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz",
59
+ "processorcount": "1",
60
+ "ps": "ps -ef",
61
+ "rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.5.0",
62
+ "rubyversion": "2.5.3",
63
+ "selinux": "false",
64
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQCzt7VD+RI3cTlhjLrmXiEovOBn0PXzt5ezZmd/E5n3FCO6enAuc3gJZvE6Xhi44lGspTxYQ3bZDnASLF0/oEklrhof173tWAD/gm0JHz9FCXx/msL5VRt+m4kFZ5MRPCwXMYw8hjsuqj8DHtaBleoWyslZWZwBOjLKm7RKR668wrS5cuFtaqK0TrvVMUd6LKL37S/Hs7BPCbKLmgCZgyXuorDmvHvDf161MS/jsS32YfGyuKviDZlfMwK9EqtUlFCf5VNHbrl4CBE2ccLIhqqADZWGTYHqqP3XnJ/WylCPA4uewCg+4XZfqRcel77ny3dfsOQnZxerihHB81TTqv7b",
65
+ "sshfp_rsa": "SSHFP 1 1 ef92c5aad85bb02166cd22c177c9bda5f700bc51\nSSHFP 1 2 ee352de2e36afbc76bb1f19311d30f681ff6153a8a53d9766ddf81f35afdcfca",
66
+ "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBP7HYO0Z/t7NKY8iwAyq4Hg5I9fPSTSmZ27fz3u51rZwjoZYUkPMw6PxVUus8pJE4Lq09ifB+Z7UNnJYmp8r+7g=",
67
+ "sshfp_ecdsa": "SSHFP 3 1 f85c1e7a914aa7b76694dc854e7311d01223a84b\nSSHFP 3 2 6fe18ab8c51fcfafb4497eeaf7e2da45e5e8d345d29678ce1acafbeb51647980",
68
+ "timezone": "UTC",
69
+ "uniqueid": "007f0100",
70
+ "uptime": "0:06 hours",
71
+ "uptime_days": 0,
72
+ "uptime_hours": 0,
73
+ "uptime_seconds": 370,
74
+ "virtual": "kvm",
75
+ "is_virtual": "true"
76
+ }
@@ -0,0 +1,78 @@
1
+ {
2
+ "gem_version": "~> 1.7.0",
3
+ "architecture": "x86_64",
4
+ "augeasversion": "1.12.0",
5
+ "kernel": "Linux",
6
+ "blockdevice_sda_size": 8589934592,
7
+ "blockdevice_sda_vendor": "ATA",
8
+ "blockdevice_sda_model": "VBOX HARDDISK",
9
+ "blockdevices": "sda",
10
+ "domain": "example.com",
11
+ "macaddress": "08:00:27:24:46:86",
12
+ "osfamily": "RedHat",
13
+ "operatingsystem": "Amazon",
14
+ "facterversion": "1.7.6",
15
+ "filesystems": "ext3,ext4",
16
+ "fqdn": "foo.example.com",
17
+ "hardwareisa": "x86_64",
18
+ "hardwaremodel": "x86_64",
19
+ "hostname": "foo",
20
+ "id": "root",
21
+ "interfaces": "eth0,lo",
22
+ "ipaddress_eth0": "10.0.2.15",
23
+ "macaddress_eth0": "08:00:27:24:46:86",
24
+ "netmask_eth0": "255.255.255.0",
25
+ "mtu_eth0": "1500",
26
+ "ipaddress_lo": "127.0.0.1",
27
+ "netmask_lo": "255.0.0.0",
28
+ "mtu_lo": "65536",
29
+ "ipaddress": "10.0.2.15",
30
+ "kernelmajversion": "4.4",
31
+ "kernelrelease": "4.4.44-39.55.amzn1.x86_64",
32
+ "kernelversion": "4.4.44",
33
+ "boardmanufacturer": "Oracle Corporation",
34
+ "boardproductname": "VirtualBox",
35
+ "boardserialnumber": "0",
36
+ "bios_vendor": "innotek GmbH",
37
+ "bios_version": "VirtualBox",
38
+ "bios_release_date": "12/01/2006",
39
+ "manufacturer": "innotek GmbH",
40
+ "productname": "VirtualBox",
41
+ "serialnumber": "0",
42
+ "uuid": "170E71AA-95F8-4004-B5C2-79D0352D7D23",
43
+ "type": "Other",
44
+ "memorysize": "996.94 MB",
45
+ "memoryfree": "872.01 MB",
46
+ "swapsize": "0.00 MB",
47
+ "swapfree": "0.00 MB",
48
+ "swapsize_mb": "0.00",
49
+ "swapfree_mb": "0.00",
50
+ "memorysize_mb": "996.94",
51
+ "memoryfree_mb": "872.01",
52
+ "memorytotal": "996.94 MB",
53
+ "netmask": "255.255.255.0",
54
+ "network_eth0": "10.0.2.0",
55
+ "network_lo": "127.0.0.0",
56
+ "operatingsystemmajrelease": "4",
57
+ "operatingsystemrelease": "4.4.44-39.55.amzn1.x86_64",
58
+ "path": "/home/vagrant/vendor/bundler/ruby/2.5.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/aws/bin:/root/bin",
59
+ "physicalprocessorcount": 1,
60
+ "processor0": "Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz",
61
+ "processorcount": "1",
62
+ "ps": "ps -ef",
63
+ "rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.5.0",
64
+ "rubyversion": "2.5.3",
65
+ "selinux": "false",
66
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDZ1lqGL2XwHIZ9fAJbcht6kKAthGOPsz5aC5sM1QP+mY3ouLB5jrwSpQcV51KvIl30IHu3Rp/Jrl06TpN9nw2kZnSMV0dY1k24ujEwF0CpL4STuv9AHkjD0tUFOa1BqmUukLYFKz2cZroUkFO9GZ4l/Z1EZGquQt37x+q0rq45IKlcoWyttLYFmX6zQhK7ICwnrjfTNXs8ID8g0NEFSne1AoDrHa3QjY/Epa5QVQpEOvJ/hrS5yJ2wYp7Rlg3uR4J+sA/Dpn6UCYC/xlj/aXcl90HPORlIy50gLpzLj55fcH6rTIMcLp5hl5gVyr5lygk+Ep5FiuYBMUPzCeCQ6o0v",
67
+ "sshfp_rsa": "SSHFP 1 1 62609e9683ca74c4076fbc583047df10f3d889ea\nSSHFP 1 2 aeb4e2c9242e3a2bbc81cc5718b38f3ca97fda038f7fe436278389d40536e066",
68
+ "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBIl9DhX/TT6XkAxp7ROAIP8/67ycpIo7t0+NSP4f0FJy9W2Ifj8m+l0i6zxMATRSOmgDNI+PL/TtLLWRZQ/VbQk=",
69
+ "sshfp_ecdsa": "SSHFP 3 1 f7209576950731ce607d529e7fad5798f39e3c79\nSSHFP 3 2 dc50a6f0c262a3e650301b904db34834e9c6733b78c44da6d971c7a64051a7f4",
70
+ "timezone": "UTC",
71
+ "uniqueid": "007f0100",
72
+ "uptime": "0:05 hours",
73
+ "uptime_days": 0,
74
+ "uptime_hours": 0,
75
+ "uptime_seconds": 323,
76
+ "virtual": "kvm",
77
+ "is_virtual": "true"
78
+ }
@@ -0,0 +1,77 @@
1
+ {
2
+ "gem_version": "~> 2.0.0",
3
+ "architecture": "x86_64",
4
+ "augeasversion": "1.12.0",
5
+ "kernel": "Linux",
6
+ "blockdevice_sda_size": 26843545600,
7
+ "blockdevice_sda_vendor": "ATA",
8
+ "blockdevice_sda_model": "VBOX HARDDISK",
9
+ "blockdevices": "sda",
10
+ "domain": "example.com",
11
+ "macaddress": "08:00:27:d5:a3:c3",
12
+ "osfamily": "RedHat",
13
+ "operatingsystem": "Amazon",
14
+ "facterversion": "2.0.2",
15
+ "filesystems": "xfs",
16
+ "fqdn": "foo.example.com",
17
+ "hardwareisa": "x86_64",
18
+ "hardwaremodel": "x86_64",
19
+ "hostname": "foo",
20
+ "id": "root",
21
+ "interfaces": "eth0,lo",
22
+ "ipaddress_eth0": "10.0.2.15",
23
+ "macaddress_eth0": "08:00:27:d5:a3:c3",
24
+ "netmask_eth0": "255.255.255.0",
25
+ "ipaddress_lo": "127.0.0.1",
26
+ "netmask_lo": "255.0.0.0",
27
+ "ipaddress": "10.0.2.15",
28
+ "kernelmajversion": "4.14",
29
+ "kernelrelease": "4.14.154-128.181.amzn2.x86_64",
30
+ "kernelversion": "4.14.154",
31
+ "boardmanufacturer": "Oracle Corporation",
32
+ "boardproductname": "VirtualBox",
33
+ "boardserialnumber": "0",
34
+ "bios_vendor": "innotek GmbH",
35
+ "bios_version": "VirtualBox",
36
+ "bios_release_date": "12/01/2006",
37
+ "manufacturer": "innotek GmbH",
38
+ "productname": "VirtualBox",
39
+ "serialnumber": "0",
40
+ "uuid": "2775E86A-EC06-4791-B2F2-C923CEB7A5C2",
41
+ "type": "Other",
42
+ "memorysize": "985.54 MB",
43
+ "memoryfree": "819.80 MB",
44
+ "swapsize": "0.00 MB",
45
+ "swapfree": "0.00 MB",
46
+ "swapsize_mb": "0.00",
47
+ "swapfree_mb": "0.00",
48
+ "memorysize_mb": "985.54",
49
+ "memoryfree_mb": "819.80",
50
+ "netmask": "255.255.255.0",
51
+ "network_eth0": "10.0.2.0",
52
+ "network_lo": "127.0.0.0",
53
+ "operatingsystemmajrelease": "4",
54
+ "operatingsystemrelease": "4.14.154-128.181.amzn2.x86_64",
55
+ "path": "/home/vagrant/vendor/bundler/ruby/2.5.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin",
56
+ "physicalprocessorcount": "1",
57
+ "processor0": "Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz",
58
+ "processorcount": "1",
59
+ "ps": "ps -ef",
60
+ "rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.5.0",
61
+ "rubyversion": "2.5.3",
62
+ "selinux": "false",
63
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQCzt7VD+RI3cTlhjLrmXiEovOBn0PXzt5ezZmd/E5n3FCO6enAuc3gJZvE6Xhi44lGspTxYQ3bZDnASLF0/oEklrhof173tWAD/gm0JHz9FCXx/msL5VRt+m4kFZ5MRPCwXMYw8hjsuqj8DHtaBleoWyslZWZwBOjLKm7RKR668wrS5cuFtaqK0TrvVMUd6LKL37S/Hs7BPCbKLmgCZgyXuorDmvHvDf161MS/jsS32YfGyuKviDZlfMwK9EqtUlFCf5VNHbrl4CBE2ccLIhqqADZWGTYHqqP3XnJ/WylCPA4uewCg+4XZfqRcel77ny3dfsOQnZxerihHB81TTqv7b",
64
+ "sshfp_rsa": "SSHFP 1 1 ef92c5aad85bb02166cd22c177c9bda5f700bc51\nSSHFP 1 2 ee352de2e36afbc76bb1f19311d30f681ff6153a8a53d9766ddf81f35afdcfca",
65
+ "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBP7HYO0Z/t7NKY8iwAyq4Hg5I9fPSTSmZ27fz3u51rZwjoZYUkPMw6PxVUus8pJE4Lq09ifB+Z7UNnJYmp8r+7g=",
66
+ "sshfp_ecdsa": "SSHFP 3 1 f85c1e7a914aa7b76694dc854e7311d01223a84b\nSSHFP 3 2 6fe18ab8c51fcfafb4497eeaf7e2da45e5e8d345d29678ce1acafbeb51647980",
67
+ "sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIFcZRjX0s2qeMtkwUMh+28gOAS9hykSl7jHBafv7sx/v",
68
+ "sshfp_ed25519": "SSHFP 4 1 ea5e3e5078d0a6b37f6ed3c63d80998c96e8ef2d\nSSHFP 4 2 02ec148f1fe59a293f6bffef72ef51e5217127a0172e6d34243b9f0ddc694626",
69
+ "timezone": "UTC",
70
+ "uniqueid": "007f0100",
71
+ "uptime": "0:06 hours",
72
+ "uptime_days": 0,
73
+ "uptime_hours": 0,
74
+ "uptime_seconds": 374,
75
+ "virtual": "kvm",
76
+ "is_virtual": "true"
77
+ }