facterdb 2.0.1 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop_todo.yml +10 -34
- data/CHANGELOG.md +28 -0
- data/bin/legacy-facts-striper +127 -0
- data/database/list_arch_os_facter.md +6 -16
- data/database/list_facter_os_arch.md +211 -227
- data/database/list_os_arch_facter.md +45 -56
- data/database/list_os_facter_arch.md +210 -229
- data/database/table.md +0 -3
- data/facts/4.0/almalinux-8-x86_64.facts +0 -63
- data/facts/4.0/almalinux-9-x86_64.facts +0 -59
- data/facts/4.0/debian-11-x86_64.facts +0 -58
- data/facts/4.0/freebsd-11-x86_64.facts +0 -42
- data/facts/4.0/freebsd-12-x86_64.facts +0 -42
- data/facts/4.0/freebsd-13-x86_64.facts +0 -42
- data/facts/4.0/opensuse-15-x86_64.facts +0 -54
- data/facts/4.0/oraclelinux-7-x86_64.facts +23 -16
- data/facts/4.0/redhat-8-x86_64.facts +0 -64
- data/facts/4.0/rocky-8-x86_64.facts +0 -60
- data/facts/4.0/rocky-9-x86_64.facts +0 -64
- data/facts/4.0/scientific-7-x86_64.facts +23 -16
- data/facts/4.0/solaris-11-sun4v.facts +0 -6
- data/facts/4.0/ubuntu-18.04-x86_64.facts +0 -60
- data/facts/4.0/ubuntu-20.04-x86_64.facts +0 -60
- data/facts/4.0/ubuntu-21.04-x86_64.facts +0 -60
- data/facts/4.0/ubuntu-21.10-x86_64.facts +0 -60
- data/facts/4.1/almalinux-8-x86_64.facts +0 -63
- data/facts/4.1/almalinux-9-x86_64.facts +0 -59
- data/facts/4.1/debian-11-x86_64.facts +0 -58
- data/facts/4.1/freebsd-11-x86_64.facts +0 -42
- data/facts/4.1/freebsd-12-x86_64.facts +0 -42
- data/facts/4.1/freebsd-13-x86_64.facts +0 -42
- data/facts/4.1/opensuse-15-x86_64.facts +0 -54
- data/facts/4.1/redhat-8-x86_64.facts +0 -64
- data/facts/4.1/rocky-8-x86_64.facts +0 -60
- data/facts/4.1/rocky-9-x86_64.facts +0 -64
- data/facts/4.1/ubuntu-18.04-x86_64.facts +0 -60
- data/facts/4.1/ubuntu-20.04-x86_64.facts +0 -60
- data/facts/4.1/ubuntu-21.04-x86_64.facts +0 -60
- data/facts/4.1/ubuntu-21.10-x86_64.facts +0 -60
- data/facts/4.2/almalinux-8-x86_64.facts +0 -59
- data/facts/4.2/almalinux-9-x86_64.facts +0 -59
- data/facts/4.2/amazon-2022-x86_64.facts +0 -7
- data/facts/4.2/archlinux-x86_64.facts +13 -56
- data/facts/4.2/centos-9-x86_64.facts +0 -62
- data/facts/4.2/darwin-20-x86_64.facts +1 -63
- data/facts/4.2/debian-11-x86_64.facts +0 -58
- data/facts/4.2/debian-12-i386.facts +0 -58
- data/facts/4.2/debian-12-x86_64.facts +0 -58
- data/facts/4.2/fedora-36-x86_64.facts +0 -63
- data/facts/4.2/fedora-37-x86_64.facts +0 -63
- data/facts/4.2/fedora-38-x86_64.facts +0 -62
- data/facts/4.2/fedora-39-x86_64.facts +0 -62
- data/facts/4.2/freebsd-11-x86_64.facts +0 -42
- data/facts/4.2/freebsd-12-x86_64.facts +0 -42
- data/facts/4.2/freebsd-13-x86_64.facts +0 -42
- data/facts/4.2/gentoo-2-x86_64.facts +0 -65
- data/facts/4.2/opensuse-15-x86_64.facts +0 -54
- data/facts/4.2/oraclelinux-7-x86_64.facts +0 -63
- data/facts/4.2/oraclelinux-8-x86_64.facts +0 -63
- data/facts/4.2/oraclelinux-9-x86_64.facts +0 -12
- data/facts/4.2/popos-21.10-x86_64.facts +0 -36
- data/facts/4.2/redhat-8-x86_64.facts +0 -64
- data/facts/4.2/redhat-9-x86_64.facts +0 -64
- data/facts/4.2/rocky-8-x86_64.facts +0 -60
- data/facts/4.2/rocky-9-x86_64.facts +0 -64
- data/facts/4.2/scientific-7-x86_64.facts +0 -63
- data/facts/4.2/sles-12-x86_64.facts +0 -54
- data/facts/4.2/sles-15-x86_64.facts +0 -58
- data/facts/4.2/ubuntu-18.04-x86_64.facts +0 -60
- data/facts/4.2/ubuntu-20.04-x86_64.facts +0 -60
- data/facts/4.2/ubuntu-21.04-x86_64.facts +0 -60
- data/facts/4.2/ubuntu-21.10-x86_64.facts +0 -60
- data/facts/4.2/ubuntu-22.04-x86_64.facts +0 -60
- data/facts/4.2/ubuntu-22.10-x86_64.facts +0 -60
- data/facts/4.2/windows-10-x86_64.facts +1 -44
- data/facts/4.2/windows-11-x86_64.facts +1 -44
- data/facts/4.2/windows-2012 r2-x86_64.facts +1 -42
- data/facts/4.2/windows-2012-x86_64.facts +7 -42
- data/facts/4.2/windows-2016-core-x86_64.facts +7 -43
- data/facts/4.2/windows-2016-x86_64.facts +7 -43
- data/facts/4.2/windows-2019-core-x86_64.facts +1 -43
- data/facts/4.2/windows-2019-x86_64.facts +1 -43
- data/facts/4.2/windows-2022-core-x86_64.facts +1 -44
- data/facts/4.2/windows-2022-x86_64.facts +1 -44
- data/facts/4.3/almalinux-8-x86_64.facts +0 -59
- data/facts/4.3/almalinux-9-x86_64.facts +0 -59
- data/facts/4.3/archlinux-x86_64.facts +13 -56
- data/facts/4.3/centos-9-x86_64.facts +0 -62
- data/facts/4.3/debian-11-x86_64.facts +0 -58
- data/facts/4.3/debian-12-i386.facts +0 -58
- data/facts/4.3/debian-12-x86_64.facts +0 -58
- data/facts/4.3/fedora-36-x86_64.facts +0 -63
- data/facts/4.3/fedora-37-x86_64.facts +0 -63
- data/facts/4.3/fedora-38-x86_64.facts +0 -62
- data/facts/4.3/fedora-39-x86_64.facts +0 -62
- data/facts/4.3/freebsd-13-x86_64.facts +0 -43
- data/facts/4.3/gentoo-2-x86_64.facts +0 -65
- data/facts/4.3/opensuse-15-x86_64.facts +0 -54
- data/facts/4.3/oraclelinux-8-x86_64.facts +0 -68
- data/facts/4.3/oraclelinux-9-x86_64.facts +0 -60
- data/facts/4.3/redhat-8-x86_64.facts +0 -64
- data/facts/4.3/redhat-9-x86_64.facts +0 -64
- data/facts/4.3/rocky-8-x86_64.facts +0 -64
- data/facts/4.3/rocky-9-x86_64.facts +0 -64
- data/facts/4.3/sles-12-x86_64.facts +0 -61
- data/facts/4.3/ubuntu-18.04-x86_64.facts +0 -60
- data/facts/4.3/ubuntu-20.04-x86_64.facts +0 -60
- data/facts/4.3/ubuntu-22.04-x86_64.facts +0 -60
- data/facts/4.3/windows-10-x86_64.facts +1 -44
- data/facts/4.3/windows-11-x86_64.facts +1 -44
- data/facts/4.3/windows-2012 r2-x86_64.facts +2 -43
- data/facts/4.3/windows-2012-x86_64.facts +1 -42
- data/facts/4.3/windows-2016-core-x86_64.facts +1 -43
- data/facts/4.3/windows-2016-x86_64.facts +1 -43
- data/facts/4.3/windows-2019-core-x86_64.facts +1 -43
- data/facts/4.3/windows-2019-x86_64.facts +1 -43
- data/facts/4.3/windows-2022-core-x86_64.facts +1 -44
- data/facts/4.3/windows-2022-x86_64.facts +1 -44
- data/facts/4.4/almalinux-8-x86_64.facts +0 -59
- data/facts/4.4/almalinux-9-x86_64.facts +0 -59
- data/facts/4.4/archlinux-x86_64.facts +13 -56
- data/facts/4.4/centos-9-x86_64.facts +0 -62
- data/facts/4.4/debian-11-x86_64.facts +0 -58
- data/facts/4.4/debian-12-i386.facts +0 -58
- data/facts/4.4/debian-12-x86_64.facts +0 -58
- data/facts/4.4/fedora-36-x86_64.facts +0 -63
- data/facts/4.4/fedora-37-x86_64.facts +0 -63
- data/facts/4.4/fedora-38-x86_64.facts +0 -62
- data/facts/4.4/fedora-39-x86_64.facts +0 -62
- data/facts/4.4/freebsd-13-x86_64.facts +0 -41
- data/facts/4.4/gentoo-2-x86_64.facts +0 -65
- data/facts/4.4/opensuse-15-x86_64.facts +0 -54
- data/facts/4.4/oraclelinux-8-x86_64.facts +0 -68
- data/facts/4.4/oraclelinux-9-x86_64.facts +0 -60
- data/facts/4.4/redhat-8-x86_64.facts +0 -64
- data/facts/4.4/redhat-9-x86_64.facts +0 -64
- data/facts/4.4/rocky-8-x86_64.facts +0 -64
- data/facts/4.4/rocky-9-x86_64.facts +0 -64
- data/facts/4.4/sles-12-x86_64.facts +0 -61
- data/facts/4.4/ubuntu-18.04-x86_64.facts +0 -60
- data/facts/4.4/ubuntu-20.04-x86_64.facts +0 -60
- data/facts/4.4/ubuntu-22.04-x86_64.facts +0 -60
- data/facts/4.4/windows-10-x86_64.facts +1 -44
- data/facts/4.4/windows-11-x86_64.facts +1 -44
- data/facts/4.4/windows-2012 r2-x86_64.facts +1 -42
- data/facts/4.4/windows-2012-x86_64.facts +1 -42
- data/facts/4.4/windows-2016-core-x86_64.facts +1 -43
- data/facts/4.4/windows-2016-x86_64.facts +2 -44
- data/facts/4.4/windows-2019-core-x86_64.facts +1 -43
- data/facts/4.4/windows-2019-x86_64.facts +1 -43
- data/facts/4.4/windows-2022-core-x86_64.facts +1 -44
- data/facts/4.4/windows-2022-x86_64.facts +1 -44
- data/facts/4.5/almalinux-8-x86_64.facts +0 -59
- data/facts/4.5/almalinux-9-x86_64.facts +0 -59
- data/facts/4.5/amazon-2-x86_64.facts +0 -54
- data/facts/4.5/archlinux-x86_64.facts +13 -56
- data/facts/4.5/centos-9-x86_64.facts +0 -62
- data/facts/4.5/debian-11-x86_64.facts +0 -58
- data/facts/4.5/debian-12-x86_64.facts +0 -58
- data/facts/4.5/fedora-36-x86_64.facts +0 -63
- data/facts/4.5/fedora-37-x86_64.facts +0 -63
- data/facts/4.5/fedora-38-x86_64.facts +0 -62
- data/facts/4.5/fedora-39-x86_64.facts +0 -62
- data/facts/4.5/freebsd-12-x86_64.facts +0 -43
- data/facts/4.5/freebsd-13-x86_64.facts +0 -43
- data/facts/4.5/gentoo-2-x86_64.facts +0 -65
- data/facts/4.5/opensuse-15-x86_64.facts +0 -54
- data/facts/4.5/oraclelinux-8-x86_64.facts +0 -68
- data/facts/4.5/oraclelinux-9-x86_64.facts +0 -60
- data/facts/4.5/redhat-8-x86_64.facts +0 -64
- data/facts/4.5/redhat-9-x86_64.facts +0 -64
- data/facts/4.5/rocky-8-x86_64.facts +0 -64
- data/facts/4.5/rocky-9-x86_64.facts +0 -64
- data/facts/4.5/ubuntu-18.04-x86_64.facts +0 -60
- data/facts/4.5/ubuntu-20.04-x86_64.facts +0 -60
- data/facts/4.5/ubuntu-22.04-x86_64.facts +0 -60
- data/facts/4.5/windows-10-x86_64.facts +1 -44
- data/facts/4.5/windows-11-x86_64.facts +1 -44
- data/facts/4.5/windows-2019-x86_64.facts +1 -43
- data/facts/4.5/windows-2022-x86_64.facts +1 -44
- data/facts/4.6/almalinux-8-x86_64.facts +0 -59
- data/facts/4.6/almalinux-9-x86_64.facts +0 -59
- data/facts/4.6/archlinux-x86_64.facts +13 -56
- data/facts/4.6/centos-9-x86_64.facts +0 -62
- data/facts/4.6/debian-11-x86_64.facts +0 -58
- data/facts/4.6/debian-12-x86_64.facts +0 -58
- data/facts/4.6/fedora-36-x86_64.facts +0 -63
- data/facts/4.6/fedora-37-x86_64.facts +0 -63
- data/facts/4.6/fedora-38-x86_64.facts +0 -62
- data/facts/4.6/fedora-39-x86_64.facts +0 -62
- data/facts/4.6/gentoo-2-x86_64.facts +0 -65
- data/facts/4.6/oraclelinux-8-x86_64.facts +0 -68
- data/facts/4.6/oraclelinux-9-x86_64.facts +0 -60
- data/facts/4.6/redhat-8-x86_64.facts +0 -64
- data/facts/4.6/redhat-9-x86_64.facts +0 -64
- data/facts/4.6/rocky-9-x86_64.facts +0 -64
- data/facts/4.6/ubuntu-20.04-x86_64.facts +0 -60
- data/facts/4.6/ubuntu-22.04-x86_64.facts +0 -60
- data/facts/4.6/windows-10-x86_64.facts +1 -44
- data/facts/4.6/windows-11-x86_64.facts +1 -44
- data/facts/4.6/windows-2019-x86_64.facts +1 -43
- data/facts/4.6/windows-2022-x86_64.facts +1 -44
- data/facts/4.7/almalinux-8-x86_64.facts +0 -59
- data/facts/4.7/almalinux-9-x86_64.facts +0 -59
- data/facts/4.7/archlinux-x86_64.facts +13 -56
- data/facts/4.7/centos-9-x86_64.facts +0 -62
- data/facts/4.7/debian-11-x86_64.facts +0 -58
- data/facts/4.7/debian-12-x86_64.facts +0 -58
- data/facts/4.7/fedora-36-x86_64.facts +0 -63
- data/facts/4.7/fedora-37-x86_64.facts +0 -63
- data/facts/4.7/fedora-38-x86_64.facts +0 -62
- data/facts/4.7/fedora-39-x86_64.facts +0 -62
- data/facts/4.7/gentoo-2-x86_64.facts +0 -65
- data/facts/4.7/openbsd-7-x86_64.facts +0 -31
- data/facts/4.7/opensuse-15-x86_64.facts +0 -54
- data/facts/4.7/oraclelinux-8-x86_64.facts +0 -68
- data/facts/4.7/oraclelinux-9-x86_64.facts +0 -60
- data/facts/4.7/redhat-8-x86_64.facts +0 -64
- data/facts/4.7/redhat-9-x86_64.facts +0 -64
- data/facts/4.7/rocky-9-x86_64.facts +0 -64
- data/facts/4.7/ubuntu-20.04-x86_64.facts +0 -60
- data/facts/4.7/ubuntu-22.04-x86_64.facts +0 -60
- data/facts/4.7/windows-10-x86_64.facts +1 -44
- data/facts/4.7/windows-11-x86_64.facts +1 -44
- data/facts/4.7/windows-2019-x86_64.facts +1 -43
- data/facts/4.7/windows-2022-x86_64.facts +1 -44
- data/facts/Vagrantfile +0 -32
- data/facts/get_facts.sh +10 -10
- data/facts/windows_get_facts.ps1 +1 -1
- data/lib/facterdb/bin.rb +1 -1
- data/lib/facterdb/version.rb +1 -1
- data/lib/facterdb.rb +6 -33
- data/spec/facter_db_spec.rb +27 -91
- data/spec/facts_spec.rb +24 -2
- metadata +4 -18
- data/facts/4.0/centos-7-x86_64.facts +0 -694
- data/facts/4.0/centos-8-x86_64.facts +0 -512
- data/facts/4.0/redhat-7-x86_64.facts +0 -694
- data/facts/4.1/centos-7-x86_64.facts +0 -582
- data/facts/4.1/centos-8-x86_64.facts +0 -514
- data/facts/4.2/centos-7-x86_64.facts +0 -593
- data/facts/4.2/centos-8-x86_64.facts +0 -521
- data/facts/4.2/redhat-7-x86_64.facts +0 -536
- data/facts/4.3/centos-7-x86_64.facts +0 -592
- data/facts/4.3/centos-8-x86_64.facts +0 -521
- data/facts/4.4/centos-7-x86_64.facts +0 -592
- data/facts/4.4/centos-8-x86_64.facts +0 -521
- data/facts/4.5/centos-7-x86_64.facts +0 -602
- data/facts/4.5/centos-8-x86_64.facts +0 -527
- data/facts/4.6/centos-8-x86_64.facts +0 -529
- data/facts/4.7/centos-8-x86_64.facts +0 -529
@@ -1,6 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"aio_agent_version": "8.6.0",
|
3
|
-
"architecture": "x64",
|
4
3
|
"dhcp_servers": {
|
5
4
|
"Ethernet": "10.0.2.2",
|
6
5
|
"system": "10.0.2.2"
|
@@ -13,28 +12,20 @@
|
|
13
12
|
"uuid": "6B456DEB-9630-430D-9F85-AEBD695A160B"
|
14
13
|
}
|
15
14
|
},
|
16
|
-
"domain": "example.com",
|
17
15
|
"env_windows_installdir": "C:\\Program Files\\Puppet Labs\\Puppet",
|
18
16
|
"facterversion": "4.7.0",
|
19
17
|
"fips_enabled": false,
|
20
|
-
"fqdn": "foo.example.com",
|
21
|
-
"hardwareisa": "x64",
|
22
|
-
"hardwaremodel": "x86_64",
|
23
|
-
"hostname": "foo",
|
24
18
|
"hypervisors": {
|
25
19
|
"virtualbox": {
|
26
20
|
"revision": "161095",
|
27
21
|
"version": "7.0.14"
|
28
22
|
}
|
29
23
|
},
|
30
|
-
"id": "FOO\\vagrant",
|
31
24
|
"identity": {
|
32
25
|
"privileged": true,
|
33
26
|
"user": "FOO\\vagrant"
|
34
27
|
},
|
35
28
|
"interfaces": "Ethernet",
|
36
|
-
"ipaddress": "10.0.2.15",
|
37
|
-
"ipaddress6": "fe80::4c6a:201b:6dd8:dfcc",
|
38
29
|
"ipaddress6_Ethernet": "fe80::4c6a:201b:6dd8:dfcc",
|
39
30
|
"ipaddress_Ethernet": "10.0.2.15",
|
40
31
|
"is_virtual": true,
|
@@ -42,9 +33,7 @@
|
|
42
33
|
"kernelmajversion": "10.0",
|
43
34
|
"kernelrelease": "10.0.19045",
|
44
35
|
"kernelversion": "10.0.19045",
|
45
|
-
"macaddress": "08:00:27:85:56:BC",
|
46
36
|
"macaddress_Ethernet": "08:00:27:85:56:BC",
|
47
|
-
"manufacturer": "innotek GmbH",
|
48
37
|
"memory": {
|
49
38
|
"system": {
|
50
39
|
"available": "2.53 GiB",
|
@@ -56,17 +45,9 @@
|
|
56
45
|
"used_bytes": 1557131264
|
57
46
|
}
|
58
47
|
},
|
59
|
-
"memoryfree": "2.53 GiB",
|
60
|
-
"memoryfree_mb": 2594.6953125,
|
61
|
-
"memorysize": "3.98 GiB",
|
62
|
-
"memorysize_mb": 4079.69140625,
|
63
48
|
"mtu_Ethernet": 1500,
|
64
|
-
"netmask": "255.255.255.0",
|
65
|
-
"netmask6": "ffff:ffff:ffff:ffff::",
|
66
49
|
"netmask6_Ethernet": "ffff:ffff:ffff:ffff::",
|
67
50
|
"netmask_Ethernet": "255.255.255.0",
|
68
|
-
"network": "10.0.2.0",
|
69
|
-
"network6": "fe80::",
|
70
51
|
"network6_Ethernet": "fe80::",
|
71
52
|
"network_Ethernet": "10.0.2.0",
|
72
53
|
"networking": {
|
@@ -114,9 +95,6 @@
|
|
114
95
|
"primary": "Ethernet",
|
115
96
|
"scope6": "link"
|
116
97
|
},
|
117
|
-
"operatingsystem": "windows",
|
118
|
-
"operatingsystemmajrelease": "10",
|
119
|
-
"operatingsystemrelease": "10",
|
120
98
|
"os": {
|
121
99
|
"architecture": "x64",
|
122
100
|
"family": "windows",
|
@@ -135,11 +113,7 @@
|
|
135
113
|
"system32": "C:\\Windows\\system32"
|
136
114
|
}
|
137
115
|
},
|
138
|
-
"osfamily": "windows",
|
139
116
|
"path": "C:\\Program Files\\Puppet Labs\\Puppet\\puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\OpenSSH-Win64;C:\\Users\\vagrant\\AppData\\Local\\Microsoft\\WindowsApps",
|
140
|
-
"physicalprocessorcount": 1,
|
141
|
-
"processor0": "Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz",
|
142
|
-
"processorcount": 2,
|
143
117
|
"processors": {
|
144
118
|
"cores": 2,
|
145
119
|
"count": 2,
|
@@ -150,19 +124,13 @@
|
|
150
124
|
"physicalcount": 1,
|
151
125
|
"threads": 1
|
152
126
|
},
|
153
|
-
"productname": "VirtualBox",
|
154
127
|
"puppetversion": "8.6.0",
|
155
128
|
"ruby": {
|
156
129
|
"platform": "x64-mingw32",
|
157
130
|
"sitedir": "C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/site_ruby/3.2.0",
|
158
131
|
"version": "3.2.3"
|
159
132
|
},
|
160
|
-
"rubyplatform": "x64-mingw32",
|
161
|
-
"rubysitedir": "C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/site_ruby/3.2.0",
|
162
|
-
"rubyversion": "3.2.3",
|
163
|
-
"scope6": "link",
|
164
133
|
"scope6_Ethernet": "link",
|
165
|
-
"serialnumber": "0",
|
166
134
|
"ssh": {
|
167
135
|
"dsa": {
|
168
136
|
"fingerprints": {
|
@@ -205,7 +173,6 @@
|
|
205
173
|
"sshfp_ed25519": "SSHFP 4 1 5b2b28c04b8a81b54399e20e2d36946298ed0984\nSSHFP 4 2 ee29a9053223bb924a4da7a89d16be7f041d9dd422428a31d1c3694b57d7a05e",
|
206
174
|
"sshfp_rsa": "SSHFP 1 1 31acd9fc22a72d0cad2f671cb8fb61e60a40172b\nSSHFP 1 2 35c2e8c6c2416d20539b2c42afff5b21c9b4f6795dbab497038d1d369d76771b",
|
207
175
|
"sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDBaNeXcnDCdoHwqqk6NjPsbHQ25/btQOzW9UzeV7AIF5lFqeshEIvyJXnSnQbgO770dNMcsTi4/lXbTs/0GsrLFQwZL/h0a+hDO0Nb8ZecNsev82Jnhmxw0ikMLfRysdPePhQxKeHD8T8Q/X20TWvpHQ8eJ47P2jHEB6muSP/9eCTSQzlvZ90a4CnyiJa0ambx8qw9nrLnA8pXH3xiHvhDi9FwFbUlkqt49EzayglsumIhC2VZPvJpylT4dIcMPAkpPHfjCKtjfKTU32EGygDuFtCw9KreUw7eOAPqoRBYSH8TEl/pxBEY32Wo3l5GImVMx7JRKdv89nzB2wB6v8630F9/07WczAkeeCoJ9vW+JRPvNngSeRKvR2E5QEAkHu6d7zT0BFXVocDI5P+NFlmgj87vliBuX6O8fVWLWOGgsQLaMbDuUI5VXI475llGU/hrEFwsQjpsHEu+A1UYJgvhge3TRzVYwB/7A4m9+MPwTyKD45WhEp3vMoV3dTKzleU=",
|
208
|
-
"system32": "C:\\Windows\\system32",
|
209
176
|
"system_uptime": {
|
210
177
|
"days": 0,
|
211
178
|
"hours": 0,
|
@@ -213,15 +180,5 @@
|
|
213
180
|
"uptime": "0:07 hours"
|
214
181
|
},
|
215
182
|
"timezone": "Coordinated Universal Time",
|
216
|
-
"
|
217
|
-
"uptime_days": 0,
|
218
|
-
"uptime_hours": 0,
|
219
|
-
"uptime_seconds": 427,
|
220
|
-
"uuid": "6B456DEB-9630-430D-9F85-AEBD695A160B",
|
221
|
-
"virtual": "virtualbox",
|
222
|
-
"windows_display_version": "22H2",
|
223
|
-
"windows_edition_id": "EnterpriseEval",
|
224
|
-
"windows_installation_type": "Client",
|
225
|
-
"windows_product_name": "Windows 10 Enterprise Evaluation",
|
226
|
-
"windows_release_id": "22H2"
|
183
|
+
"virtual": "virtualbox"
|
227
184
|
}
|
@@ -1,6 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"aio_agent_version": "8.6.0",
|
3
|
-
"architecture": "x64",
|
4
3
|
"dhcp_servers": {
|
5
4
|
"Ethernet": "10.0.2.2",
|
6
5
|
"system": "10.0.2.2"
|
@@ -13,28 +12,20 @@
|
|
13
12
|
"uuid": "128B9558-F609-41F5-A88F-5F84C5DC854E"
|
14
13
|
}
|
15
14
|
},
|
16
|
-
"domain": "example.com",
|
17
15
|
"env_windows_installdir": "C:\\Program Files\\Puppet Labs\\Puppet",
|
18
16
|
"facterversion": "4.7.0",
|
19
17
|
"fips_enabled": false,
|
20
|
-
"fqdn": "foo.example.com",
|
21
|
-
"hardwareisa": "x64",
|
22
|
-
"hardwaremodel": "x86_64",
|
23
|
-
"hostname": "foo",
|
24
18
|
"hypervisors": {
|
25
19
|
"virtualbox": {
|
26
20
|
"revision": "161095",
|
27
21
|
"version": "7.0.14"
|
28
22
|
}
|
29
23
|
},
|
30
|
-
"id": "FOO\\vagrant",
|
31
24
|
"identity": {
|
32
25
|
"privileged": true,
|
33
26
|
"user": "FOO\\vagrant"
|
34
27
|
},
|
35
28
|
"interfaces": "Ethernet",
|
36
|
-
"ipaddress": "10.0.2.15",
|
37
|
-
"ipaddress6": "fe80::f72f:511:e1c3:e451",
|
38
29
|
"ipaddress6_Ethernet": "fe80::f72f:511:e1c3:e451",
|
39
30
|
"ipaddress_Ethernet": "10.0.2.15",
|
40
31
|
"is_virtual": true,
|
@@ -42,9 +33,7 @@
|
|
42
33
|
"kernelmajversion": "10.0",
|
43
34
|
"kernelrelease": "10.0.22631",
|
44
35
|
"kernelversion": "10.0.22631",
|
45
|
-
"macaddress": "08:00:27:02:6D:35",
|
46
36
|
"macaddress_Ethernet": "08:00:27:02:6D:35",
|
47
|
-
"manufacturer": "innotek GmbH",
|
48
37
|
"memory": {
|
49
38
|
"system": {
|
50
39
|
"available": "2.38 GiB",
|
@@ -56,17 +45,9 @@
|
|
56
45
|
"used_bytes": 1724084224
|
57
46
|
}
|
58
47
|
},
|
59
|
-
"memoryfree": "2.38 GiB",
|
60
|
-
"memoryfree_mb": 2435.4765625,
|
61
|
-
"memorysize": "3.98 GiB",
|
62
|
-
"memorysize_mb": 4079.69140625,
|
63
48
|
"mtu_Ethernet": 1500,
|
64
|
-
"netmask": "255.255.255.0",
|
65
|
-
"netmask6": "ffff:ffff:ffff:ffff::",
|
66
49
|
"netmask6_Ethernet": "ffff:ffff:ffff:ffff::",
|
67
50
|
"netmask_Ethernet": "255.255.255.0",
|
68
|
-
"network": "10.0.2.0",
|
69
|
-
"network6": "fe80::",
|
70
51
|
"network6_Ethernet": "fe80::",
|
71
52
|
"network_Ethernet": "10.0.2.0",
|
72
53
|
"networking": {
|
@@ -114,9 +95,6 @@
|
|
114
95
|
"primary": "Ethernet",
|
115
96
|
"scope6": "link"
|
116
97
|
},
|
117
|
-
"operatingsystem": "windows",
|
118
|
-
"operatingsystemmajrelease": "11",
|
119
|
-
"operatingsystemrelease": "11",
|
120
98
|
"os": {
|
121
99
|
"architecture": "x64",
|
122
100
|
"family": "windows",
|
@@ -135,11 +113,7 @@
|
|
135
113
|
"system32": "C:\\Windows\\system32"
|
136
114
|
}
|
137
115
|
},
|
138
|
-
"osfamily": "windows",
|
139
116
|
"path": "C:\\Program Files\\Puppet Labs\\Puppet\\puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\OpenSSH-Win64;C:\\Users\\vagrant\\AppData\\Local\\Microsoft\\WindowsApps",
|
140
|
-
"physicalprocessorcount": 1,
|
141
|
-
"processor0": "Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz",
|
142
|
-
"processorcount": 2,
|
143
117
|
"processors": {
|
144
118
|
"cores": 2,
|
145
119
|
"count": 2,
|
@@ -150,19 +124,13 @@
|
|
150
124
|
"physicalcount": 1,
|
151
125
|
"threads": 1
|
152
126
|
},
|
153
|
-
"productname": "VirtualBox",
|
154
127
|
"puppetversion": "8.6.0",
|
155
128
|
"ruby": {
|
156
129
|
"platform": "x64-mingw32",
|
157
130
|
"sitedir": "C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/site_ruby/3.2.0",
|
158
131
|
"version": "3.2.3"
|
159
132
|
},
|
160
|
-
"rubyplatform": "x64-mingw32",
|
161
|
-
"rubysitedir": "C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/site_ruby/3.2.0",
|
162
|
-
"rubyversion": "3.2.3",
|
163
|
-
"scope6": "link",
|
164
133
|
"scope6_Ethernet": "link",
|
165
|
-
"serialnumber": "0",
|
166
134
|
"ssh": {
|
167
135
|
"dsa": {
|
168
136
|
"fingerprints": {
|
@@ -205,7 +173,6 @@
|
|
205
173
|
"sshfp_ed25519": "SSHFP 4 1 e4feb7a0cf8595bd25cb289d34ce00c34a4305ba\nSSHFP 4 2 f34b7083851d17408228ebd6e6c8810546d754422c2610deece70fb00ba67b34",
|
206
174
|
"sshfp_rsa": "SSHFP 1 1 97b9f1dd63e212d5c8fa5a67adc3181553359641\nSSHFP 1 2 d4fd0cb9f4a5708df564e31936f5da0212d5d44a34d82d1686217fd844560ce6",
|
207
175
|
"sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDPObcF1zh9ZSz1t6Mr0tsf6Ahx2/JPw+MMHbazirNyqeKotcsI6eibmGfnBu6aGhdvvMg9OPmxT1jdIevFtsTfVRym3cQ0nzJ5BacUQhKmIHuJ9zH18Et0BE4KgAsCLp7YD5kdB2T5FkHTrToQpH9vWGnCoYcXhK+4bYINxXwyQGSErPOwG+3154DstjdF4AZn6UQge7N0+F3lX7yWoGl5+QZxMU8QWbTahemvxscZcujy07sUI2sHBHY3jfxhrw4lfS9xani92bOv/D9+Tu+dPFwbu/bItyinNyyghtfqzMxcbe3Ukf1a5nP8Bz3fmW3YJV0Q6DLqjKqGmNwUWQ5bj5H0hqJdtdC2qmfaTi602/bseTVClsxZ7g7HBOJXpgOTVew04lybsAwtup+J1qtQX7ToGtm2vQpMwUUaJwabN/KVlhnA7bwWf5diN0YRqRmGWWyAkeVzJGkIfHrOPEh0mEf9R7VI3QePqLxatrnzPoeRRuI9+Ez7wMUM10nU4tE=",
|
208
|
-
"system32": "C:\\Windows\\system32",
|
209
176
|
"system_uptime": {
|
210
177
|
"days": 0,
|
211
178
|
"hours": 0,
|
@@ -213,15 +180,5 @@
|
|
213
180
|
"uptime": "0:07 hours"
|
214
181
|
},
|
215
182
|
"timezone": "Coordinated Universal Time",
|
216
|
-
"
|
217
|
-
"uptime_days": 0,
|
218
|
-
"uptime_hours": 0,
|
219
|
-
"uptime_seconds": 422,
|
220
|
-
"uuid": "128B9558-F609-41F5-A88F-5F84C5DC854E",
|
221
|
-
"virtual": "virtualbox",
|
222
|
-
"windows_display_version": "23H2",
|
223
|
-
"windows_edition_id": "EnterpriseEval",
|
224
|
-
"windows_installation_type": "Client",
|
225
|
-
"windows_product_name": "Windows 10 Enterprise Evaluation",
|
226
|
-
"windows_release_id": "23H2"
|
183
|
+
"virtual": "virtualbox"
|
227
184
|
}
|
@@ -1,6 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"aio_agent_version": "8.6.0",
|
3
|
-
"architecture": "x64",
|
4
3
|
"dhcp_servers": {
|
5
4
|
"Ethernet": "10.0.2.2",
|
6
5
|
"system": "10.0.2.2"
|
@@ -13,28 +12,20 @@
|
|
13
12
|
"uuid": "D30E43A8-C27A-4EA3-8C40-808DDE5CE052"
|
14
13
|
}
|
15
14
|
},
|
16
|
-
"domain": "example.com",
|
17
15
|
"env_windows_installdir": "C:\\Program Files\\Puppet Labs\\Puppet",
|
18
16
|
"facterversion": "4.7.0",
|
19
17
|
"fips_enabled": false,
|
20
|
-
"fqdn": "foo.example.com",
|
21
|
-
"hardwareisa": "x64",
|
22
|
-
"hardwaremodel": "x86_64",
|
23
|
-
"hostname": "foo",
|
24
18
|
"hypervisors": {
|
25
19
|
"virtualbox": {
|
26
20
|
"revision": "161095",
|
27
21
|
"version": "7.0.14"
|
28
22
|
}
|
29
23
|
},
|
30
|
-
"id": "FOO\\vagrant",
|
31
24
|
"identity": {
|
32
25
|
"privileged": true,
|
33
26
|
"user": "FOO\\vagrant"
|
34
27
|
},
|
35
28
|
"interfaces": "Ethernet",
|
36
|
-
"ipaddress": "10.0.2.15",
|
37
|
-
"ipaddress6": "fe80::5156:1072:2404:1e7f",
|
38
29
|
"ipaddress6_Ethernet": "fe80::5156:1072:2404:1e7f",
|
39
30
|
"ipaddress_Ethernet": "10.0.2.15",
|
40
31
|
"is_virtual": true,
|
@@ -42,9 +33,7 @@
|
|
42
33
|
"kernelmajversion": "10.0",
|
43
34
|
"kernelrelease": "10.0.17763",
|
44
35
|
"kernelversion": "10.0.17763",
|
45
|
-
"macaddress": "08:00:27:E5:87:1C",
|
46
36
|
"macaddress_Ethernet": "08:00:27:E5:87:1C",
|
47
|
-
"manufacturer": "innotek GmbH",
|
48
37
|
"memory": {
|
49
38
|
"system": {
|
50
39
|
"available": "1018.89 MiB",
|
@@ -56,17 +45,9 @@
|
|
56
45
|
"used_bytes": 1061994496
|
57
46
|
}
|
58
47
|
},
|
59
|
-
"memoryfree": "1018.89 MiB",
|
60
|
-
"memoryfree_mb": 1018.89453125,
|
61
|
-
"memorysize": "1.98 GiB",
|
62
|
-
"memorysize_mb": 2031.69140625,
|
63
48
|
"mtu_Ethernet": 1500,
|
64
|
-
"netmask": "255.255.255.0",
|
65
|
-
"netmask6": "ffff:ffff:ffff:ffff::",
|
66
49
|
"netmask6_Ethernet": "ffff:ffff:ffff:ffff::",
|
67
50
|
"netmask_Ethernet": "255.255.255.0",
|
68
|
-
"network": "10.0.2.0",
|
69
|
-
"network6": "fe80::",
|
70
51
|
"network6_Ethernet": "fe80::",
|
71
52
|
"network_Ethernet": "10.0.2.0",
|
72
53
|
"networking": {
|
@@ -114,9 +95,6 @@
|
|
114
95
|
"primary": "Ethernet",
|
115
96
|
"scope6": "link"
|
116
97
|
},
|
117
|
-
"operatingsystem": "windows",
|
118
|
-
"operatingsystemmajrelease": "2019",
|
119
|
-
"operatingsystemrelease": "2019",
|
120
98
|
"os": {
|
121
99
|
"architecture": "x64",
|
122
100
|
"family": "windows",
|
@@ -134,11 +112,7 @@
|
|
134
112
|
"system32": "C:\\Windows\\system32"
|
135
113
|
}
|
136
114
|
},
|
137
|
-
"osfamily": "windows",
|
138
115
|
"path": "C:\\Program Files\\Puppet Labs\\Puppet\\puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\OpenSSH-Win64;C:\\Users\\vagrant\\AppData\\Local\\Microsoft\\WindowsApps",
|
139
|
-
"physicalprocessorcount": 1,
|
140
|
-
"processor0": "Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz",
|
141
|
-
"processorcount": 2,
|
142
116
|
"processors": {
|
143
117
|
"cores": 2,
|
144
118
|
"count": 2,
|
@@ -149,19 +123,13 @@
|
|
149
123
|
"physicalcount": 1,
|
150
124
|
"threads": 1
|
151
125
|
},
|
152
|
-
"productname": "VirtualBox",
|
153
126
|
"puppetversion": "8.6.0",
|
154
127
|
"ruby": {
|
155
128
|
"platform": "x64-mingw32",
|
156
129
|
"sitedir": "C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/site_ruby/3.2.0",
|
157
130
|
"version": "3.2.3"
|
158
131
|
},
|
159
|
-
"rubyplatform": "x64-mingw32",
|
160
|
-
"rubysitedir": "C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/site_ruby/3.2.0",
|
161
|
-
"rubyversion": "3.2.3",
|
162
|
-
"scope6": "link",
|
163
132
|
"scope6_Ethernet": "link",
|
164
|
-
"serialnumber": "0",
|
165
133
|
"ssh": {
|
166
134
|
"dsa": {
|
167
135
|
"fingerprints": {
|
@@ -204,7 +172,6 @@
|
|
204
172
|
"sshfp_ed25519": "SSHFP 4 1 9f196515ee27ca6ccee218024bfeb5b0a99d7812\nSSHFP 4 2 427cf51cb6b2a4f5eea42a9b26c761b443b9c4dff2218b24128525d2de39fe74",
|
205
173
|
"sshfp_rsa": "SSHFP 1 1 3596c7925dde9b4364b40ad238a04c8818100f3d\nSSHFP 1 2 f5085e8839097058fb84b33775337f2de0d77df772765907e697e2d7f5b4e32b",
|
206
174
|
"sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABgQC/gv55+SwnN/BrQPIUXbVGip65xZA3RnbyxFe5wKxHxkmfWsPNhuojDOFLpwKKU1ugNPNuTIChGkI0FyQYU1Ch4Sn4/zk5WN6JMdCP62L/nOMu8LuyTQbzJJyhIhC1r3/kfY2OyrVolZBCCmoSdSFSh39VwapMmcrizMALc3r1g9uLjBP/PZcgffWODA04c5GhX8KAEKQbNGbCXRvI56wHQjmM8QG53we4BfBsQoDyV7O/zU1Xl4ofvfIDWTYWpbOFNHfA4/FvjwaqekWIU4cFoenX+6xi7gzUgXRalYQmA5VZcw/Lo5YExMi2CSkQyUxdjbV9WSGcVgFuBaNRPvbwgPSLZx7+tlsaDh/5hZcVTb9n2siHyi9bX6V3gcIZ0f9evo2lNOi59bZ5bxcI/yttZ9/oz1gRqiwbR9ABq0/u01tjZbvBp8REwffnAQcWWlCj8bpsoSSM5Tgvd14sJ1Ajy88IjZ3MWvZkEWDxiZOWRmh2azL/qWXrdbPI2gudJHk=",
|
207
|
-
"system32": "C:\\Windows\\system32",
|
208
175
|
"system_uptime": {
|
209
176
|
"days": 0,
|
210
177
|
"hours": 0,
|
@@ -212,14 +179,5 @@
|
|
212
179
|
"uptime": "0:06 hours"
|
213
180
|
},
|
214
181
|
"timezone": "Coordinated Universal Time",
|
215
|
-
"
|
216
|
-
"uptime_days": 0,
|
217
|
-
"uptime_hours": 0,
|
218
|
-
"uptime_seconds": 377,
|
219
|
-
"uuid": "D30E43A8-C27A-4EA3-8C40-808DDE5CE052",
|
220
|
-
"virtual": "virtualbox",
|
221
|
-
"windows_edition_id": "ServerStandardEval",
|
222
|
-
"windows_installation_type": "Server Core",
|
223
|
-
"windows_product_name": "Windows Server 2019 Standard Evaluation",
|
224
|
-
"windows_release_id": "1809"
|
182
|
+
"virtual": "virtualbox"
|
225
183
|
}
|
@@ -1,6 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"aio_agent_version": "8.6.0",
|
3
|
-
"architecture": "x64",
|
4
3
|
"dhcp_servers": {
|
5
4
|
"Ethernet": "10.0.2.2",
|
6
5
|
"system": "10.0.2.2"
|
@@ -13,28 +12,20 @@
|
|
13
12
|
"uuid": "F2FE13B6-2E77-4300-B709-3654FF7B6063"
|
14
13
|
}
|
15
14
|
},
|
16
|
-
"domain": "example.com",
|
17
15
|
"env_windows_installdir": "C:\\Program Files\\Puppet Labs\\Puppet",
|
18
16
|
"facterversion": "4.7.0",
|
19
17
|
"fips_enabled": false,
|
20
|
-
"fqdn": "foo.example.com",
|
21
|
-
"hardwareisa": "x64",
|
22
|
-
"hardwaremodel": "x86_64",
|
23
|
-
"hostname": "foo",
|
24
18
|
"hypervisors": {
|
25
19
|
"virtualbox": {
|
26
20
|
"revision": "161095",
|
27
21
|
"version": "7.0.14"
|
28
22
|
}
|
29
23
|
},
|
30
|
-
"id": "FOO\\vagrant",
|
31
24
|
"identity": {
|
32
25
|
"privileged": true,
|
33
26
|
"user": "FOO\\vagrant"
|
34
27
|
},
|
35
28
|
"interfaces": "Ethernet",
|
36
|
-
"ipaddress": "10.0.2.15",
|
37
|
-
"ipaddress6": "fe80::8d97:e947:bec7:8686",
|
38
29
|
"ipaddress6_Ethernet": "fe80::8d97:e947:bec7:8686",
|
39
30
|
"ipaddress_Ethernet": "10.0.2.15",
|
40
31
|
"is_virtual": true,
|
@@ -42,9 +33,7 @@
|
|
42
33
|
"kernelmajversion": "10.0",
|
43
34
|
"kernelrelease": "10.0.20348",
|
44
35
|
"kernelversion": "10.0.20348",
|
45
|
-
"macaddress": "08:00:27:E7:59:F0",
|
46
36
|
"macaddress_Ethernet": "08:00:27:E7:59:F0",
|
47
|
-
"manufacturer": "innotek GmbH",
|
48
37
|
"memory": {
|
49
38
|
"system": {
|
50
39
|
"available": "957.90 MiB",
|
@@ -56,17 +45,9 @@
|
|
56
45
|
"used_bytes": 1125953536
|
57
46
|
}
|
58
47
|
},
|
59
|
-
"memoryfree": "957.90 MiB",
|
60
|
-
"memoryfree_mb": 957.8984375,
|
61
|
-
"memorysize": "1.98 GiB",
|
62
|
-
"memorysize_mb": 2031.69140625,
|
63
48
|
"mtu_Ethernet": 1500,
|
64
|
-
"netmask": "255.255.255.0",
|
65
|
-
"netmask6": "ffff:ffff:ffff:ffff::",
|
66
49
|
"netmask6_Ethernet": "ffff:ffff:ffff:ffff::",
|
67
50
|
"netmask_Ethernet": "255.255.255.0",
|
68
|
-
"network": "10.0.2.0",
|
69
|
-
"network6": "fe80::",
|
70
51
|
"network6_Ethernet": "fe80::",
|
71
52
|
"network_Ethernet": "10.0.2.0",
|
72
53
|
"networking": {
|
@@ -114,9 +95,6 @@
|
|
114
95
|
"primary": "Ethernet",
|
115
96
|
"scope6": "link"
|
116
97
|
},
|
117
|
-
"operatingsystem": "windows",
|
118
|
-
"operatingsystemmajrelease": "2022",
|
119
|
-
"operatingsystemrelease": "2022",
|
120
98
|
"os": {
|
121
99
|
"architecture": "x64",
|
122
100
|
"family": "windows",
|
@@ -135,11 +113,7 @@
|
|
135
113
|
"system32": "C:\\Windows\\system32"
|
136
114
|
}
|
137
115
|
},
|
138
|
-
"osfamily": "windows",
|
139
116
|
"path": "C:\\Program Files\\Puppet Labs\\Puppet\\puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\OpenSSH-Win64;C:\\Users\\vagrant\\AppData\\Local\\Microsoft\\WindowsApps",
|
140
|
-
"physicalprocessorcount": 1,
|
141
|
-
"processor0": "Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz",
|
142
|
-
"processorcount": 2,
|
143
117
|
"processors": {
|
144
118
|
"cores": 2,
|
145
119
|
"count": 2,
|
@@ -150,19 +124,13 @@
|
|
150
124
|
"physicalcount": 1,
|
151
125
|
"threads": 1
|
152
126
|
},
|
153
|
-
"productname": "VirtualBox",
|
154
127
|
"puppetversion": "8.6.0",
|
155
128
|
"ruby": {
|
156
129
|
"platform": "x64-mingw32",
|
157
130
|
"sitedir": "C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/site_ruby/3.2.0",
|
158
131
|
"version": "3.2.3"
|
159
132
|
},
|
160
|
-
"rubyplatform": "x64-mingw32",
|
161
|
-
"rubysitedir": "C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/site_ruby/3.2.0",
|
162
|
-
"rubyversion": "3.2.3",
|
163
|
-
"scope6": "link",
|
164
133
|
"scope6_Ethernet": "link",
|
165
|
-
"serialnumber": "0",
|
166
134
|
"ssh": {
|
167
135
|
"dsa": {
|
168
136
|
"fingerprints": {
|
@@ -205,7 +173,6 @@
|
|
205
173
|
"sshfp_ed25519": "SSHFP 4 1 d90c588d7e89b743439d6bbde8cbf68de80f554c\nSSHFP 4 2 4a3633cdbef6f2e3d7aebacb4cd127890cdb0d05a8fffa36047a2da574008117",
|
206
174
|
"sshfp_rsa": "SSHFP 1 1 c9f7a8861f449e575242f99981ed7580d609f86c\nSSHFP 1 2 5f9ff10646bb92e2f762c650f1f4486331b2848960ab8519031f1fdf1bd92d19",
|
207
175
|
"sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDQfE6HJW1DZInpdu3xQG1ok0bY+IK2Jhfk3kGd087eE8nuzm1O0JLe5A9elSLCe1I63MTxadw/ZI48DiAnd4q8MckaqU2bE7ycfO1N6KLvBIZ6bmlWR+XpW/0rxLD3aP/lvuu7R731PdgfH5APDyyqYLVdPI1JdvfopJf/55gJqjdZkNE4S5OGUqXEuiwPYL56OgNntwqvoRDvOLQ8DDPNlcz/PGR0tIxhakUM7cPhkBYSZWvTnoJQCJcyx9OE7li9dH0ZnfQ2wezm0cro2Nh3enRN0yeHZ69CvWMoMbotxlKDdM0Gyn7rEvP/9JVr9Mll9UjqO8qbFJYc4E0QjmMQNrEjH9d+F8JsavMh9azZ9f4X2vY83A658RnbweJIscITmIeqPiyyoWLDDJ5XniatYTfpMXKk5SpkvRf7l/LzywK0NsCRioOppOw+mxHcsuDgPYiCmkLq7LYbC6FMZc/PtqpA+UNnxxTsnOfTtIfSyrkIo+LdBPcpxtkiBCZ5AFU=",
|
208
|
-
"system32": "C:\\Windows\\system32",
|
209
176
|
"system_uptime": {
|
210
177
|
"days": 0,
|
211
178
|
"hours": 0,
|
@@ -213,15 +180,5 @@
|
|
213
180
|
"uptime": "0:06 hours"
|
214
181
|
},
|
215
182
|
"timezone": "Coordinated Universal Time",
|
216
|
-
"
|
217
|
-
"uptime_days": 0,
|
218
|
-
"uptime_hours": 0,
|
219
|
-
"uptime_seconds": 376,
|
220
|
-
"uuid": "F2FE13B6-2E77-4300-B709-3654FF7B6063",
|
221
|
-
"virtual": "virtualbox",
|
222
|
-
"windows_display_version": "21H2",
|
223
|
-
"windows_edition_id": "ServerStandardEval",
|
224
|
-
"windows_installation_type": "Server Core",
|
225
|
-
"windows_product_name": "Windows Server 2022 Standard Evaluation",
|
226
|
-
"windows_release_id": "21H2"
|
183
|
+
"virtual": "virtualbox"
|
227
184
|
}
|
data/facts/Vagrantfile
CHANGED
@@ -72,38 +72,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
72
72
|
host.vm.provision 'shell', path: 'get_facts.sh'
|
73
73
|
host.vm.provision 'shell', inline: '/sbin/shutdown -h now'
|
74
74
|
end
|
75
|
-
config.vm.define 'centos-7-x86_64', autostart: false do |host|
|
76
|
-
host.vm.box = 'centos/7'
|
77
|
-
host.vm.network :private_network, ip: '10.0.0.2'
|
78
|
-
host.vm.synced_folder '.', '/vagrant', nfs: true, nfs_udp: false
|
79
|
-
host.vm.provision 'shell', inline: 'yum -y install ruby-devel gcc wget net-tools'
|
80
|
-
host.vm.provision 'file', source: 'Gemfile', destination: 'Gemfile'
|
81
|
-
host.vm.provision 'shell', path: 'get_facts.sh'
|
82
|
-
host.vm.provision 'shell', inline: '/sbin/shutdown -h now'
|
83
|
-
end
|
84
|
-
config.vm.define 'centos-8-x86_64', autostart: false do |host|
|
85
|
-
host.vm.box = 'centos/8'
|
86
|
-
host.vm.synced_folder '.', '/vagrant'
|
87
|
-
host.vm.provision 'shell', inline: 'dnf -y install wget make gcc net-tools'
|
88
|
-
host.vm.provision 'file', source: 'Gemfile', destination: 'Gemfile'
|
89
|
-
host.vm.provision 'shell', path: 'get_facts.sh'
|
90
|
-
host.vm.provision 'shell', inline: '/sbin/shutdown -h now'
|
91
|
-
host.vbguest.auto_update = true
|
92
|
-
end
|
93
|
-
# images are at https://cloud.centos.org/centos/8-stream/x86_64/images/
|
94
|
-
# (check for version updates periodically)
|
95
|
-
# facts land as centos-8-x86_64.facts
|
96
|
-
config.vm.define 'centos-stream8-x86_64', autostart: false do |host|
|
97
|
-
host.vm.box = 'centos/stream8'
|
98
|
-
host.vm.box_url = 'https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-Vagrant-8-20240513.0.x86_64.vagrant-virtualbox.box'
|
99
|
-
host.vm.synced_folder '.', '/vagrant'
|
100
|
-
host.vm.provision 'shell', inline: 'dnf -y install wget make gcc net-tools'
|
101
|
-
host.vm.provision 'file', source: 'Gemfile', destination: 'Gemfile'
|
102
|
-
host.vm.provision 'shell', path: 'get_facts.sh'
|
103
|
-
# commented to allow manual retrieval of facts
|
104
|
-
# host.vm.provision 'shell', inline: '/sbin/shutdown -h now'
|
105
|
-
host.vbguest.auto_update = true
|
106
|
-
end
|
107
75
|
# images are at https://cloud.centos.org/centos/9-stream/x86_64/images/
|
108
76
|
# can be imported with `vagrant box add --name centos/stream9 $url` you can also
|
109
77
|
# use the host.vm.box_url below
|
data/facts/get_facts.sh
CHANGED
@@ -75,7 +75,7 @@ case "${osfamily}" in
|
|
75
75
|
if yum install -y puppet-agent-${puppet_agent_version}; then
|
76
76
|
output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter os.name | tr '[:upper:]' '[:lower:]')-$(facter os.release.major)-$(facter os.hardware).facts"
|
77
77
|
mkdir -p $(dirname ${output_file})
|
78
|
-
facter --
|
78
|
+
facter --puppet --json | tee ${output_file}
|
79
79
|
fi
|
80
80
|
done
|
81
81
|
yum remove -y puppet8-release
|
@@ -93,7 +93,7 @@ case "${osfamily}" in
|
|
93
93
|
if apt_install puppet-agent=${puppet_agent_version}*; then
|
94
94
|
output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter os.name | tr '[:upper:]' '[:lower:]')-$(facter os.release.major)-$(facter os.hardware).facts"
|
95
95
|
mkdir -p $(dirname ${output_file})
|
96
|
-
facter --
|
96
|
+
facter --puppet --json | tee ${output_file}
|
97
97
|
fi
|
98
98
|
done
|
99
99
|
apt-get -y remove --purge puppet8-release
|
@@ -107,7 +107,7 @@ case "${osfamily}" in
|
|
107
107
|
apt_install ruby rubygems ruby-dev puppet facter
|
108
108
|
output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
|
109
109
|
mkdir -p $(dirname ${output_file})
|
110
|
-
facter --
|
110
|
+
facter --puppet --json | tee ${output_file}
|
111
111
|
fi
|
112
112
|
;;
|
113
113
|
'FreeBSD')
|
@@ -124,7 +124,7 @@ case "${osfamily}" in
|
|
124
124
|
[ "${hardwaremodel}" = 'amd64' ] && hardwaremodel=x86_64
|
125
125
|
output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-${hardwaremodel}.facts"
|
126
126
|
mkdir -p $(dirname ${output_file})
|
127
|
-
[ ! -f ${output_file} ] && facter --
|
127
|
+
[ ! -f ${output_file} ] && facter --puppet --json | tee ${output_file}
|
128
128
|
done
|
129
129
|
;;
|
130
130
|
'OpenBSD')
|
@@ -133,7 +133,7 @@ case "${osfamily}" in
|
|
133
133
|
# Vagrant box should already have puppet & facter installed
|
134
134
|
output_file="/vagrant/$(facter --version | cut -d. -f1-2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemrelease)-${hardwaremodel}.facts"
|
135
135
|
mkdir -p $(dirname ${output_file})
|
136
|
-
[ ! -f ${output_file} ] && facter --
|
136
|
+
[ ! -f ${output_file} ] && facter --puppet --json | tee ${output_file}
|
137
137
|
;;
|
138
138
|
'Suse')
|
139
139
|
# install deps that we need later for gem based setup
|
@@ -149,7 +149,7 @@ case "${osfamily}" in
|
|
149
149
|
if zypper --gpg-auto-import-keys --non-interactive install puppet-agent-${puppet_agent_version}; then
|
150
150
|
output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
|
151
151
|
mkdir -p $(dirname ${output_file})
|
152
|
-
facter --
|
152
|
+
facter --puppet --json | tee ${output_file}
|
153
153
|
fi
|
154
154
|
done
|
155
155
|
zypper --non-interactive remove puppet8-release
|
@@ -159,13 +159,13 @@ case "${osfamily}" in
|
|
159
159
|
pacman --sync --refresh --sysupgrade --noconfirm ruby ruby-bundler base-devel dnsutils facter augeas
|
160
160
|
output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter hardwaremodel).facts"
|
161
161
|
mkdir -p $(dirname ${output_file})
|
162
|
-
facter --
|
162
|
+
facter --puppet --json | tee ${output_file}
|
163
163
|
;;
|
164
164
|
'Gentoo')
|
165
165
|
emerge -vq1 dev-lang/ruby dev-ruby/bundler app-admin/puppet dev-ruby/facter sys-apps/dmidecode app-admin/augeas
|
166
166
|
output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter hardwaremodel).facts"
|
167
167
|
mkdir -p $(dirname ${output_file})
|
168
|
-
facter --
|
168
|
+
facter --puppet --json | tee ${output_file}
|
169
169
|
esac
|
170
170
|
|
171
171
|
# this lower section relies on the ruby version and facter version that came
|
@@ -214,6 +214,6 @@ for version in 4.2.14 4.3.0 4.4.3 4.5.2 4.6.0 4.7.0; do
|
|
214
214
|
fi
|
215
215
|
mkdir -p $(dirname $output_file)
|
216
216
|
echo $version | grep -q -E '^1\.' &&
|
217
|
-
FACTER_GEM_VERSION="~> ${version}" bundle exec facter --
|
218
|
-
FACTER_GEM_VERSION="~> ${version}" bundle exec facter --
|
217
|
+
FACTER_GEM_VERSION="~> ${version}" bundle exec facter --json | bundle exec ruby -e 'require "json"; jj JSON.parse gets' | tee $output_file ||
|
218
|
+
FACTER_GEM_VERSION="~> ${version}" bundle exec facter --json | tee $output_file
|
219
219
|
done
|
data/facts/windows_get_facts.ps1
CHANGED
@@ -88,7 +88,7 @@ foreach ($pupAgentVer in $puppetAgentVersions) {
|
|
88
88
|
# the domain name will fallback to the hypervisor's domain.
|
89
89
|
$env:FACTER_fqdn = $fqdn
|
90
90
|
|
91
|
-
$facterArgs = @("
|
91
|
+
$facterArgs = @("--json", "--puppet")
|
92
92
|
$facterProcess = Start-Process -FilePath $facterBin -ArgumentList $facterArgs -Wait -PassThru -RedirectStandardOutput "X:\$facterVer\$Os-$Osmaj-$Hw.facts"
|
93
93
|
if ($facterProcess.ExitCode -ne 0) {
|
94
94
|
Write-Host "Facter failed."
|
data/lib/facterdb/bin.rb
CHANGED
data/lib/facterdb/version.rb
CHANGED