facterdb 0.3.12 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +60 -3
- data/facterdb.gemspec +1 -0
- data/facts/1.6/amazon-2017-x86_64.facts +61 -0
- data/facts/1.7/amazon-2017-x86_64.facts +76 -0
- data/facts/2.0/amazon-2017-x86_64.facts +77 -0
- data/facts/2.0/debian-9-i386.facts +2 -2
- data/facts/2.0/debian-9-x86_64.facts +2 -2
- data/facts/2.1/amazon-2017-x86_64.facts +212 -0
- data/facts/2.1/debian-9-i386.facts +2 -2
- data/facts/2.1/debian-9-x86_64.facts +2 -2
- data/facts/2.2/amazon-2017-x86_64.facts +235 -0
- data/facts/2.2/debian-9-i386.facts +5 -4
- data/facts/2.2/debian-9-x86_64.facts +6 -5
- data/facts/2.3/amazon-2017-x86_64.facts +236 -0
- data/facts/2.3/debian-9-i386.facts +5 -4
- data/facts/2.3/debian-9-x86_64.facts +5 -4
- data/facts/2.4/amazon-2017-x86_64.facts +215 -0
- data/facts/2.4/debian-9-i386.facts +5 -4
- data/facts/2.4/debian-9-x86_64.facts +5 -4
- data/facts/2.4/fedora-20-x86_64.facts +116 -0
- data/facts/2.4/fedora-21-x86_64.facts +123 -0
- data/facts/2.4/fedora-26-x86_64.facts +143 -0
- data/facts/2.5/amazon-2017-x86_64.facts +61 -0
- data/facts/2.5/debian-9-i386.facts +5 -4
- data/facts/2.5/debian-9-x86_64.facts +5 -4
- data/facts/2.5/fedora-20-x86_64.facts +116 -0
- data/facts/2.5/fedora-21-x86_64.facts +123 -0
- data/facts/2.5/fedora-26-x86_64.facts +143 -0
- data/facts/3.0/amazon-4-x86_64.facts +320 -0
- data/facts/3.0/fedora-20-x86_64.facts +116 -0
- data/facts/3.0/fedora-21-x86_64.facts +123 -0
- data/facts/3.0/fedora-26-x86_64.facts +143 -0
- data/facts/3.0/windows-10-i386.facts +70 -23
- data/facts/3.0/windows-10-x86_64.facts +72 -25
- data/facts/3.0/windows-2008 r2-x86_64.facts +70 -23
- data/facts/3.0/windows-2008-x86_64.facts +71 -24
- data/facts/3.0/windows-2012 r2-core-x86_64.facts +76 -29
- data/facts/3.0/windows-2012 r2-x86_64.facts +84 -42
- data/facts/3.0/windows-2012-x86_64.facts +72 -25
- data/facts/3.0/windows-2016-x86_64.facts +71 -24
- data/facts/3.0/windows-7-x86_64.facts +87 -45
- data/facts/3.0/windows-8.1-x86_64.facts +71 -24
- data/facts/3.1/amazon-4-x86_64.facts +350 -0
- data/facts/3.1/fedora-20-x86_64.facts +116 -0
- data/facts/3.1/fedora-21-x86_64.facts +123 -0
- data/facts/3.1/fedora-26-x86_64.facts +143 -0
- data/facts/3.1/windows-10-i386.facts +73 -26
- data/facts/3.1/windows-10-x86_64.facts +75 -28
- data/facts/3.1/windows-2008 r2-x86_64.facts +73 -26
- data/facts/3.1/windows-2008-x86_64.facts +74 -27
- data/facts/3.1/windows-2012 r2-core-x86_64.facts +79 -32
- data/facts/3.1/windows-2012 r2-x86_64.facts +92 -62
- data/facts/3.1/windows-2012-x86_64.facts +75 -28
- data/facts/3.1/windows-2016-x86_64.facts +74 -27
- data/facts/3.1/windows-7-x86_64.facts +95 -65
- data/facts/3.1/windows-8.1-x86_64.facts +73 -26
- data/facts/3.2/fedora-20-x86_64.facts +116 -0
- data/facts/3.2/fedora-21-x86_64.facts +123 -0
- data/facts/3.2/fedora-26-x86_64.facts +143 -0
- data/facts/3.3/amazon-4-x86_64.facts +351 -0
- data/facts/3.3/fedora-20-x86_64.facts +116 -0
- data/facts/3.3/fedora-21-x86_64.facts +123 -0
- data/facts/3.3/fedora-26-x86_64.facts +143 -0
- data/facts/3.3/windows-10-i386.facts +73 -26
- data/facts/3.3/windows-10-x86_64.facts +75 -28
- data/facts/3.3/windows-2008 r2-x86_64.facts +73 -26
- data/facts/3.3/windows-2008-x86_64.facts +74 -27
- data/facts/3.3/windows-2012 r2-core-x86_64.facts +79 -32
- data/facts/3.3/windows-2012 r2-x86_64.facts +70 -23
- data/facts/3.3/windows-2012-x86_64.facts +75 -28
- data/facts/3.3/windows-2016-x86_64.facts +72 -26
- data/facts/3.3/windows-7-x86_64.facts +72 -25
- data/facts/3.3/windows-8.1-x86_64.facts +73 -26
- data/facts/3.4/fedora-20-x86_64.facts +116 -0
- data/facts/3.4/fedora-21-x86_64.facts +123 -0
- data/facts/3.4/fedora-26-x86_64.facts +143 -0
- data/facts/3.4/windows-10-i386.facts +73 -26
- data/facts/3.4/windows-10-x86_64.facts +75 -28
- data/facts/3.4/windows-2008 r2-x86_64.facts +73 -26
- data/facts/3.4/windows-2008-x86_64.facts +74 -27
- data/facts/3.4/windows-2012 r2-core-x86_64.facts +79 -32
- data/facts/3.4/windows-2012 r2-x86_64.facts +70 -23
- data/facts/3.4/windows-2012-x86_64.facts +75 -28
- data/facts/3.4/windows-2016-x86_64.facts +72 -25
- data/facts/3.4/windows-7-x86_64.facts +73 -26
- data/facts/3.4/windows-8.1-x86_64.facts +73 -26
- data/facts/3.5/fedora-20-x86_64.facts +116 -0
- data/facts/3.5/fedora-21-x86_64.facts +123 -0
- data/facts/3.5/fedora-26-x86_64.facts +143 -0
- data/facts/3.5/windows-10-i386.facts +73 -26
- data/facts/3.5/windows-10-x86_64.facts +75 -28
- data/facts/3.5/windows-2008 r2-x86_64.facts +73 -26
- data/facts/3.5/windows-2008-x86_64.facts +74 -27
- data/facts/3.5/windows-2012 r2-core-x86_64.facts +79 -32
- data/facts/3.5/windows-2012 r2-x86_64.facts +70 -23
- data/facts/3.5/windows-2012-x86_64.facts +75 -28
- data/facts/3.5/windows-2016-x86_64.facts +74 -27
- data/facts/3.5/windows-7-x86_64.facts +73 -26
- data/facts/3.5/windows-8.1-x86_64.facts +73 -26
- data/facts/3.6/amazon-2017-x86_64.facts +367 -0
- data/facts/3.6/fedora-20-x86_64.facts +116 -0
- data/facts/3.6/fedora-21-x86_64.facts +123 -0
- data/facts/3.6/fedora-26-x86_64.facts +143 -0
- data/facts/3.6/windows-10-i386.facts +73 -26
- data/facts/3.6/windows-10-x86_64.facts +75 -28
- data/facts/3.6/windows-2008 r2-x86_64.facts +71 -24
- data/facts/3.6/windows-2008-x86_64.facts +74 -27
- data/facts/3.6/windows-2012 r2-core-x86_64.facts +79 -32
- data/facts/3.6/windows-2012 r2-x86_64.facts +70 -23
- data/facts/3.6/windows-2012-x86_64.facts +75 -28
- data/facts/3.6/windows-2016-x86_64.facts +74 -27
- data/facts/3.6/windows-7-x86_64.facts +73 -26
- data/facts/3.6/windows-8.1-x86_64.facts +73 -26
- data/facts/3.7/darwin-14-x86_64.facts +392 -0
- data/facts/3.7/darwin-15-x86_64.facts +410 -0
- data/facts/3.7/darwin-16-x86_64.facts +414 -0
- data/facts/3.7/fedora-20-x86_64.facts +116 -0
- data/facts/3.7/fedora-21-x86_64.facts +123 -0
- data/facts/3.7/fedora-26-x86_64.facts +143 -0
- data/facts/3.7/windows-10-i386.facts +73 -26
- data/facts/3.7/windows-10-x86_64.facts +75 -28
- data/facts/3.7/windows-2008 r2-x86_64.facts +73 -26
- data/facts/3.7/windows-2008-x86_64.facts +74 -27
- data/facts/3.7/windows-2012 r2-core-x86_64.facts +79 -32
- data/facts/3.7/windows-2012 r2-x86_64.facts +70 -23
- data/facts/3.7/windows-2012-x86_64.facts +75 -28
- data/facts/3.7/windows-2016-x86_64.facts +73 -26
- data/facts/3.7/windows-7-x86_64.facts +73 -26
- data/facts/3.7/windows-8.1-x86_64.facts +73 -26
- data/facts/3.8/centos-5-i386.facts +389 -0
- data/facts/3.8/centos-5-x86_64.facts +389 -0
- data/facts/3.8/centos-6-i386.facts +379 -0
- data/facts/3.8/centos-6-x86_64.facts +379 -0
- data/facts/3.8/centos-7-x86_64.facts +433 -0
- data/facts/3.8/darwin-14-x86_64.facts +375 -0
- data/facts/3.8/darwin-15-x86_64.facts +393 -0
- data/facts/3.8/darwin-16-x86_64.facts +397 -0
- data/facts/3.8/debian-7-i386.facts +440 -0
- data/facts/3.8/debian-7-x86_64.facts +440 -0
- data/facts/3.8/debian-8-i386.facts +460 -0
- data/facts/3.8/debian-8-x86_64.facts +460 -0
- data/facts/3.8/debian-9-i386.facts +476 -0
- data/facts/3.8/debian-9-x86_64.facts +476 -0
- data/facts/3.8/fedora-20-x86_64.facts +116 -0
- data/facts/3.8/fedora-21-x86_64.facts +123 -0
- data/facts/3.8/fedora-25-i386.facts +443 -0
- data/facts/3.8/fedora-25-x86_64.facts +443 -0
- data/facts/3.8/fedora-26-x86_64.facts +143 -0
- data/facts/3.8/oraclelinux-5-i386.facts +403 -0
- data/facts/3.8/oraclelinux-5-x86_64.facts +403 -0
- data/facts/3.8/oraclelinux-6-i386.facts +379 -0
- data/facts/3.8/oraclelinux-6-x86_64.facts +384 -0
- data/facts/3.8/oraclelinux-7-x86_64.facts +447 -0
- data/facts/3.8/redhat-5-i386.facts +376 -0
- data/facts/3.8/redhat-5-x86_64.facts +376 -0
- data/facts/3.8/redhat-6-i386.facts +379 -0
- data/facts/3.8/redhat-6-x86_64.facts +379 -0
- data/facts/3.8/redhat-7-x86_64.facts +418 -0
- data/facts/3.8/scientific-5-i386.facts +376 -0
- data/facts/3.8/scientific-5-x86_64.facts +376 -0
- data/facts/3.8/scientific-6-i386.facts +364 -0
- data/facts/3.8/scientific-6-x86_64.facts +364 -0
- data/facts/3.8/scientific-7-x86_64.facts +433 -0
- data/facts/3.8/sles-11-i386.facts +359 -0
- data/facts/3.8/sles-11-x86_64.facts +359 -0
- data/facts/3.8/sles-12-x86_64.facts +386 -0
- data/facts/3.8/ubuntu-14.04-i386.facts +467 -0
- data/facts/3.8/ubuntu-14.04-x86_64.facts +467 -0
- data/facts/3.8/ubuntu-16.04-i386.facts +482 -0
- data/facts/3.8/ubuntu-16.04-x86_64.facts +482 -0
- data/facts/3.8/windows-10-i386.facts +162 -0
- data/facts/3.8/windows-10-x86_64.facts +162 -0
- data/facts/3.8/windows-2008 r2-x86_64.facts +162 -0
- data/facts/3.8/windows-2008-x86_64.facts +162 -0
- data/facts/3.8/windows-2012 r2-core-x86_64.facts +162 -0
- data/facts/3.8/windows-2012 r2-x86_64.facts +162 -0
- data/facts/3.8/windows-2012-x86_64.facts +162 -0
- data/facts/3.8/windows-2016-x86_64.facts +162 -0
- data/facts/3.8/windows-7-x86_64.facts +162 -0
- data/facts/3.8/windows-8.1-x86_64.facts +162 -0
- data/facts/Vagrantfile +11 -1
- data/facts/get_facts.sh +11 -2
- data/lib/facterdb.rb +39 -1
- data/lib/facterdb/version.rb +1 -1
- data/spec/facterdb_spec.rb +94 -0
- data/spec/spec_helper.rb +4 -0
- metadata +113 -3
@@ -0,0 +1,162 @@
|
|
1
|
+
{
|
2
|
+
"agent_specified_environment": "production",
|
3
|
+
"aio_agent_version": "5.1.0",
|
4
|
+
"architecture": "x64",
|
5
|
+
"dhcp_servers": {
|
6
|
+
"Ethernet0": "10.32.22.10",
|
7
|
+
"system": "10.32.22.10"
|
8
|
+
},
|
9
|
+
"dmi": {
|
10
|
+
"manufacturer": "VMware, Inc.",
|
11
|
+
"product": {
|
12
|
+
"name": "VMware7,1",
|
13
|
+
"serial_number": "VMware-42 22 4d be a7 64 37 f6-69 53 5c ec 5e 46 f2 0b"
|
14
|
+
}
|
15
|
+
},
|
16
|
+
"domain": "example.com",
|
17
|
+
"env_windows_installdir": "C:\\Program Files\\Puppet Labs\\Puppet",
|
18
|
+
"facterversion": "3.8.0",
|
19
|
+
"fqdn": "foo.example.com",
|
20
|
+
"hardwareisa": "x64",
|
21
|
+
"hardwaremodel": "x86_64",
|
22
|
+
"hostname": "foo",
|
23
|
+
"id": "B5GMZC25YP3WRFT\\Administrator",
|
24
|
+
"identity": {
|
25
|
+
"privileged": true,
|
26
|
+
"user": "B5GMZC25YP3WRFT\\Administrator"
|
27
|
+
},
|
28
|
+
"interfaces": "Ethernet0",
|
29
|
+
"ipaddress": "10.32.125.84",
|
30
|
+
"ipaddress6": "fe80::e490:85dc:9a71:4d9e%3",
|
31
|
+
"ipaddress6_Ethernet0": "fe80::e490:85dc:9a71:4d9e%3",
|
32
|
+
"ipaddress_Ethernet0": "10.32.125.84",
|
33
|
+
"is_virtual": true,
|
34
|
+
"kernel": "windows",
|
35
|
+
"kernelmajversion": "6.3",
|
36
|
+
"kernelrelease": "6.3.9600",
|
37
|
+
"kernelversion": "6.3.9600",
|
38
|
+
"macaddress": "00:50:56:A2:FD:34",
|
39
|
+
"macaddress_Ethernet0": "00:50:56:A2:FD:34",
|
40
|
+
"manufacturer": "VMware, Inc.",
|
41
|
+
"memory": {
|
42
|
+
"system": {
|
43
|
+
"available": "2.40 GiB",
|
44
|
+
"available_bytes": 2581467136,
|
45
|
+
"capacity": "39.88%",
|
46
|
+
"total": "4.00 GiB",
|
47
|
+
"total_bytes": 4294066176,
|
48
|
+
"used": "1.59 GiB",
|
49
|
+
"used_bytes": 1712599040
|
50
|
+
}
|
51
|
+
},
|
52
|
+
"memoryfree": "2.40 GiB",
|
53
|
+
"memoryfree_mb": 2461.87890625,
|
54
|
+
"memorysize": "4.00 GiB",
|
55
|
+
"memorysize_mb": 4095.140625,
|
56
|
+
"mtu_Ethernet0": 1500,
|
57
|
+
"netmask": "255.255.240.0",
|
58
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
59
|
+
"netmask6_Ethernet0": "ffff:ffff:ffff:ffff::",
|
60
|
+
"netmask_Ethernet0": "255.255.240.0",
|
61
|
+
"network": "10.32.112.0",
|
62
|
+
"network6": "fe80::%3",
|
63
|
+
"network6_Ethernet0": "fe80::%3",
|
64
|
+
"network_Ethernet0": "10.32.112.0",
|
65
|
+
"networking": {
|
66
|
+
"dhcp": "10.32.22.10",
|
67
|
+
"domain": "example.com",
|
68
|
+
"fqdn": "foo.example.com",
|
69
|
+
"hostname": "foo",
|
70
|
+
"interfaces": {
|
71
|
+
"Ethernet0": {
|
72
|
+
"bindings": [
|
73
|
+
{
|
74
|
+
"address": "10.32.125.84",
|
75
|
+
"netmask": "255.255.240.0",
|
76
|
+
"network": "10.32.112.0"
|
77
|
+
}
|
78
|
+
],
|
79
|
+
"bindings6": [
|
80
|
+
{
|
81
|
+
"address": "fe80::e490:85dc:9a71:4d9e%3",
|
82
|
+
"netmask": "ffff:ffff:ffff:ffff::",
|
83
|
+
"network": "fe80::%3"
|
84
|
+
}
|
85
|
+
],
|
86
|
+
"dhcp": "10.32.22.10",
|
87
|
+
"ip": "10.32.125.84",
|
88
|
+
"ip6": "fe80::e490:85dc:9a71:4d9e%3",
|
89
|
+
"mac": "00:50:56:A2:FD:34",
|
90
|
+
"mtu": 1500,
|
91
|
+
"netmask": "255.255.240.0",
|
92
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
93
|
+
"network": "10.32.112.0",
|
94
|
+
"network6": "fe80::%3"
|
95
|
+
}
|
96
|
+
},
|
97
|
+
"ip": "10.32.125.84",
|
98
|
+
"ip6": "fe80::e490:85dc:9a71:4d9e%3",
|
99
|
+
"mac": "00:50:56:A2:FD:34",
|
100
|
+
"mtu": 1500,
|
101
|
+
"netmask": "255.255.240.0",
|
102
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
103
|
+
"network": "10.32.112.0",
|
104
|
+
"network6": "fe80::%3",
|
105
|
+
"primary": "Ethernet0"
|
106
|
+
},
|
107
|
+
"operatingsystem": "windows",
|
108
|
+
"operatingsystemmajrelease": "8.1",
|
109
|
+
"operatingsystemrelease": "8.1",
|
110
|
+
"os": {
|
111
|
+
"architecture": "x64",
|
112
|
+
"family": "windows",
|
113
|
+
"hardware": "x86_64",
|
114
|
+
"name": "windows",
|
115
|
+
"release": {
|
116
|
+
"full": "8.1",
|
117
|
+
"major": "8.1"
|
118
|
+
},
|
119
|
+
"windows": {
|
120
|
+
"system32": "C:\\Windows\\system32"
|
121
|
+
}
|
122
|
+
},
|
123
|
+
"osfamily": "windows",
|
124
|
+
"path": "C:\\Program Files\\Puppet Labs\\Puppet\\puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\facter\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\hiera\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\mcollective\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\sys\\ruby\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\sys\\tools\\bin;C:\\cygwin64\\bin;C:\\ProgramData\\Boxstarter;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Program Files\\Git\\cmd;C:\\Packer\\SysInternals",
|
125
|
+
"physicalprocessorcount": 2,
|
126
|
+
"processor0": "Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz",
|
127
|
+
"processor1": "Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz",
|
128
|
+
"processorcount": 2,
|
129
|
+
"processors": {
|
130
|
+
"count": 2,
|
131
|
+
"isa": "x64",
|
132
|
+
"models": [
|
133
|
+
"Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz",
|
134
|
+
"Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz"
|
135
|
+
],
|
136
|
+
"physicalcount": 2
|
137
|
+
},
|
138
|
+
"productname": "VMware7,1",
|
139
|
+
"puppetversion": "5.1.0",
|
140
|
+
"ruby": {
|
141
|
+
"platform": "x64-mingw32",
|
142
|
+
"sitedir": "C:/Program Files/Puppet Labs/Puppet/sys/ruby/lib/ruby/site_ruby/2.4.0",
|
143
|
+
"version": "2.4.1"
|
144
|
+
},
|
145
|
+
"rubyplatform": "x64-mingw32",
|
146
|
+
"rubysitedir": "C:/Program Files/Puppet Labs/Puppet/sys/ruby/lib/ruby/site_ruby/2.4.0",
|
147
|
+
"rubyversion": "2.4.1",
|
148
|
+
"serialnumber": "VMware-42 22 4d be a7 64 37 f6-69 53 5c ec 5e 46 f2 0b",
|
149
|
+
"system32": "C:\\Windows\\system32",
|
150
|
+
"system_uptime": {
|
151
|
+
"days": 0,
|
152
|
+
"hours": 18,
|
153
|
+
"seconds": 66322,
|
154
|
+
"uptime": "18:25 hours"
|
155
|
+
},
|
156
|
+
"timezone": "Coordinated Universal Time",
|
157
|
+
"uptime": "18:25 hours",
|
158
|
+
"uptime_days": 0,
|
159
|
+
"uptime_hours": 18,
|
160
|
+
"uptime_seconds": 66322,
|
161
|
+
"virtual": "vmware"
|
162
|
+
}
|
data/facts/Vagrantfile
CHANGED
@@ -165,8 +165,18 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
165
165
|
host.vm.provision "shell", path: "get_facts.sh"
|
166
166
|
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
167
167
|
end
|
168
|
+
config.vm.define "freebsd-11-x86_64" do |host|
|
169
|
+
host.vm.box = "bento/freebsd-11.1"
|
170
|
+
host.ssh.shell = '/bin/sh'
|
171
|
+
host.vm.network :private_network, ip: '10.0.0.2'
|
172
|
+
host.vm.synced_folder ".", "/vagrant", :nfs => true
|
173
|
+
host.vm.provision "shell", inline: "pkg install -y devel/ruby-gems"
|
174
|
+
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
175
|
+
host.vm.provision "shell", path: "get_facts.sh"
|
176
|
+
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
177
|
+
end
|
168
178
|
config.vm.define "freebsd-10-x86_64" do |host|
|
169
|
-
host.vm.box = "
|
179
|
+
host.vm.box = "bento/freebsd-10.3"
|
170
180
|
host.vm.network :private_network, ip: '10.0.0.2'
|
171
181
|
host.vm.synced_folder ".", "/vagrant", :nfs => true
|
172
182
|
host.vm.provision "shell", inline: "pkg install -y devel/ruby-gems"
|
data/facts/get_facts.sh
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#!/bin/
|
1
|
+
#!/bin/sh
|
2
2
|
|
3
3
|
export PATH=/opt/puppetlabs/bin:$PATH
|
4
4
|
|
@@ -15,6 +15,8 @@ elif test -f /usr/bin/dnf; then
|
|
15
15
|
elif test -f /usr/bin/yum; then
|
16
16
|
operatingsystemmajrelease=$(cat /etc/redhat-release | cut -d' ' -f4 | cut -c1)
|
17
17
|
osfamily='RedHat'
|
18
|
+
else
|
19
|
+
osfamily=$(uname)
|
18
20
|
fi
|
19
21
|
|
20
22
|
case "${osfamily}" in
|
@@ -58,6 +60,13 @@ case "${osfamily}" in
|
|
58
60
|
done
|
59
61
|
apt-get install -y make gcc libgmp-dev
|
60
62
|
;;
|
63
|
+
'FreeBSD')
|
64
|
+
pkg update
|
65
|
+
pkg install -y sysutils/puppet5 sysutils/facter
|
66
|
+
output_file="/vagrant/$(facter --version | cut -c1-3)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
|
67
|
+
mkdir -p $(dirname ${output_file})
|
68
|
+
[ ! -f ${output_file} ] && facter --show-legacy -p -j | tee ${output_file}
|
69
|
+
;;
|
61
70
|
esac
|
62
71
|
|
63
72
|
operatingsystem=$(facter operatingsystem | tr '[:upper:]' '[:lower:]')
|
@@ -71,7 +80,7 @@ PATH=/opt/puppetlabs/puppet/bin:$PATH
|
|
71
80
|
gem install bundler --no-ri --no-rdoc --no-format-executable
|
72
81
|
bundle install --path vendor/bundler
|
73
82
|
|
74
|
-
for version in 1.6.0 1.7.0 2.0.0 2.1.0 2.2.0 2.3.0 2.4.0; do
|
83
|
+
for version in 1.6.0 1.7.0 2.0.0 2.1.0 2.2.0 2.3.0 2.4.0 2.5.0; do
|
75
84
|
FACTER_GEM_VERSION="~> ${version}" bundle update
|
76
85
|
case "${operatingsystem}" in
|
77
86
|
openbsd)
|
data/lib/facterdb.rb
CHANGED
@@ -3,8 +3,46 @@ require 'jgrep'
|
|
3
3
|
|
4
4
|
module FacterDB
|
5
5
|
|
6
|
+
# @return [String] - returns a giant incomprehensible string of concatenated json data
|
6
7
|
def self.database
|
7
|
-
@database ||= "[#{
|
8
|
+
@database ||= "[#{facterdb_fact_files.map { |f| File.read(f) }.join(',')}]\n"
|
9
|
+
end
|
10
|
+
|
11
|
+
# @return [Boolean] - returns true if we should use the default facterdb database, false otherwise
|
12
|
+
# @note If the user passes anything to the FACTERDB_SKIP_DEFAULTDB environment variable we assume
|
13
|
+
# they want to skip the default db
|
14
|
+
def self.use_defaultdb?
|
15
|
+
ENV['FACTERDB_SKIP_DEFAULTDB'].nil?
|
16
|
+
end
|
17
|
+
|
18
|
+
# @return [Array[String]] - list of all files found in the default facterdb facts path
|
19
|
+
def self.default_fact_files
|
20
|
+
return [] unless use_defaultdb?
|
21
|
+
proj_root = File.join(File.dirname(File.dirname(__FILE__)))
|
22
|
+
facts_dir = File.expand_path(File.join(proj_root, 'facts'))
|
23
|
+
Dir.glob(File.join(facts_dir, "**", '*.facts'))
|
24
|
+
end
|
25
|
+
|
26
|
+
# @return [Array[String]] - list of all files found in the user supplied facterdb facts path
|
27
|
+
# @param fact_paths [String] - a comma separated list of paths to search for fact files
|
28
|
+
def self.external_fact_files(fact_paths = ENV['FACTERDB_SEARCH_PATHS'])
|
29
|
+
fact_paths ||= ''
|
30
|
+
return [] if fact_paths.empty?
|
31
|
+
paths = fact_paths.split(File::PATH_SEPARATOR).map do |fact_path|
|
32
|
+
unless File.directory?(fact_path)
|
33
|
+
warn("[FACTERDB] Ignoring external facts path #{fact_path} as it is not a directory")
|
34
|
+
next nil
|
35
|
+
end
|
36
|
+
fact_path = fact_path.gsub(File::ALT_SEPARATOR, File::SEPARATOR) if File::ALT_SEPARATOR
|
37
|
+
File.join(fact_path.strip, '**', '*.facts')
|
38
|
+
end.compact
|
39
|
+
Dir.glob(paths)
|
40
|
+
end
|
41
|
+
|
42
|
+
# @return [Array[String]] - list of all files found in the default facterdb facts path and user supplied path
|
43
|
+
# @note external fact files supplied by the user will take precedence over default fact files found in this gem
|
44
|
+
def self.facterdb_fact_files
|
45
|
+
(external_fact_files + default_fact_files).uniq
|
8
46
|
end
|
9
47
|
|
10
48
|
def self.get_os_facts(facter_version='*', filter=[])
|
data/lib/facterdb/version.rb
CHANGED
data/spec/facterdb_spec.rb
CHANGED
@@ -2,6 +2,100 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
describe 'FacterDB' do
|
4
4
|
|
5
|
+
describe 'database' do
|
6
|
+
|
7
|
+
before(:each) do
|
8
|
+
stub_const("File::PATH_SEPARATOR", ":")
|
9
|
+
ENV['FACTERDB_SKIP_DEFAULTDB'] = nil
|
10
|
+
FacterDB.instance_variable_set(:@database, nil)
|
11
|
+
end
|
12
|
+
|
13
|
+
it 'skip default facts' do
|
14
|
+
ENV['FACTERDB_SKIP_DEFAULTDB'] = 'true'
|
15
|
+
expect(FacterDB.use_defaultdb?).to eq(false)
|
16
|
+
end
|
17
|
+
|
18
|
+
it 'use default facts' do
|
19
|
+
expect(FacterDB.use_defaultdb?).to eq(true)
|
20
|
+
end
|
21
|
+
|
22
|
+
it '#external_fact_files with env variable' do
|
23
|
+
ENV['FACTERDB_SEARCH_PATHS'] = File.join(project_dir, 'facts', '2.4')
|
24
|
+
expect(FacterDB.external_fact_files.count).to be >= 50
|
25
|
+
end
|
26
|
+
|
27
|
+
it '#external_fact_files with env variable and multiple paths' do
|
28
|
+
ENV['FACTERDB_SEARCH_PATHS'] = [File.join(project_dir, 'facts', '2.4'), File.join(project_dir, 'facts', '2.3')].join(File::PATH_SEPARATOR)
|
29
|
+
expect(FacterDB.external_fact_files.count).to be >= 150
|
30
|
+
end
|
31
|
+
|
32
|
+
it '#external_fact_files with argument' do
|
33
|
+
ENV['FACTERDB_SEARCH_PATHS'] = nil
|
34
|
+
path = File.join(project_dir, 'facts', '2.4')
|
35
|
+
expect(FacterDB.external_fact_files(path).count).to be >= 102
|
36
|
+
end
|
37
|
+
|
38
|
+
it '#external_fact_files without argument or env variable' do
|
39
|
+
ENV['FACTERDB_SEARCH_PATHS'] = nil
|
40
|
+
expect(FacterDB.external_fact_files.count).to be 0
|
41
|
+
end
|
42
|
+
|
43
|
+
it '#default_fact_files' do
|
44
|
+
expect(FacterDB.default_fact_files.count).to be >= 1000
|
45
|
+
end
|
46
|
+
|
47
|
+
it '#facterdb_fact_files' do
|
48
|
+
ENV['FACTERDB_SEARCH_PATHS'] = File.join(project_dir, 'facts', '2.4')
|
49
|
+
external_count = FacterDB.external_fact_files.count
|
50
|
+
internal_count = FacterDB.default_fact_files.count
|
51
|
+
# because we call unique on the array we remove the duplicates which skews this test
|
52
|
+
expect(FacterDB.facterdb_fact_files.count).to eq(internal_count)
|
53
|
+
end
|
54
|
+
|
55
|
+
it '#database' do
|
56
|
+
ENV['FACTERDB_SEARCH_PATHS'] = nil
|
57
|
+
# to be an incomprehensible string
|
58
|
+
expect(FacterDB.database).to be_a String
|
59
|
+
end
|
60
|
+
|
61
|
+
it '#database with external paths' do
|
62
|
+
ENV['FACTERDB_SEARCH_PATHS'] = File.join(project_dir, 'facts', '2.4')
|
63
|
+
# to be an incomprehensible string
|
64
|
+
expect(FacterDB.database).to be_a String
|
65
|
+
end
|
66
|
+
|
67
|
+
it 'without internal paths' do
|
68
|
+
ENV['FACTERDB_SKIP_DEFAULTDB'] = 'true'
|
69
|
+
ENV['FACTERDB_SEARCH_PATHS'] = nil
|
70
|
+
expect(FacterDB.facterdb_fact_files).to eq([])
|
71
|
+
end
|
72
|
+
|
73
|
+
describe :windows do
|
74
|
+
before(:each) do
|
75
|
+
stub_const("File::PATH_SEPARATOR", ";")
|
76
|
+
stub_const("File::ALT_SEPARATOR", '\\')
|
77
|
+
stub_const("File::SEPARATOR", '/')
|
78
|
+
allow(File).to receive(:directory?).and_return(true)
|
79
|
+
end
|
80
|
+
|
81
|
+
it '#external_fact_files with env variable and multiple paths' do
|
82
|
+
ENV['FACTERDB_SEARCH_PATHS'] = [File.join(project_dir, 'facts', '2.4').gsub('/', '\\'), File.join(project_dir, 'facts', '2.3').gsub('/', '\\')].join(File::PATH_SEPARATOR)
|
83
|
+
expect(FacterDB.external_fact_files.count).to be >= 150
|
84
|
+
end
|
85
|
+
|
86
|
+
it '#external_fact_files with env variable' do
|
87
|
+
ENV['FACTERDB_SEARCH_PATHS'] = File.join(project_dir, 'facts', '2.4').gsub('/', '\\')
|
88
|
+
expect(FacterDB.external_fact_files.count).to be >= 50
|
89
|
+
end
|
90
|
+
|
91
|
+
it '#external_fact_files with argument' do
|
92
|
+
ENV['FACTERDB_SEARCH_PATHS'] = nil
|
93
|
+
path = File.join(project_dir, 'facts', '2.4').gsub('/', '\\')
|
94
|
+
expect(FacterDB.external_fact_files(path).count).to be >= 102
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
5
99
|
describe '#get_os_facts' do
|
6
100
|
context 'without parameters' do
|
7
101
|
subject { FacterDB.get_os_facts() }
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: facterdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mickaël Canévet
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: coveralls
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: pry
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: rspec
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -117,6 +131,7 @@ files:
|
|
117
131
|
- Rakefile
|
118
132
|
- bin/facterdb
|
119
133
|
- facterdb.gemspec
|
134
|
+
- facts/1.6/amazon-2017-x86_64.facts
|
120
135
|
- facts/1.6/archlinux-i386.facts
|
121
136
|
- facts/1.6/archlinux-x86_64.facts
|
122
137
|
- facts/1.6/centos-5-i386.facts
|
@@ -187,6 +202,7 @@ files:
|
|
187
202
|
- facts/1.6/ubuntu-15.10-x86_64.facts
|
188
203
|
- facts/1.6/ubuntu-16.04-i386.facts
|
189
204
|
- facts/1.6/ubuntu-16.04-x86_64.facts
|
205
|
+
- facts/1.7/amazon-2017-x86_64.facts
|
190
206
|
- facts/1.7/archlinux-i386.facts
|
191
207
|
- facts/1.7/archlinux-x86_64.facts
|
192
208
|
- facts/1.7/centos-5-i386.facts
|
@@ -257,6 +273,7 @@ files:
|
|
257
273
|
- facts/1.7/ubuntu-15.10-x86_64.facts
|
258
274
|
- facts/1.7/ubuntu-16.04-i386.facts
|
259
275
|
- facts/1.7/ubuntu-16.04-x86_64.facts
|
276
|
+
- facts/2.0/amazon-2017-x86_64.facts
|
260
277
|
- facts/2.0/archlinux-i386.facts
|
261
278
|
- facts/2.0/archlinux-x86_64.facts
|
262
279
|
- facts/2.0/centos-5-i386.facts
|
@@ -342,6 +359,7 @@ files:
|
|
342
359
|
- facts/2.0/ubuntu-15.10-x86_64.facts
|
343
360
|
- facts/2.0/ubuntu-16.04-i386.facts
|
344
361
|
- facts/2.0/ubuntu-16.04-x86_64.facts
|
362
|
+
- facts/2.1/amazon-2017-x86_64.facts
|
345
363
|
- facts/2.1/archlinux-i386.facts
|
346
364
|
- facts/2.1/archlinux-x86_64.facts
|
347
365
|
- facts/2.1/centos-5-i386.facts
|
@@ -437,6 +455,7 @@ files:
|
|
437
455
|
- facts/2.1/windows-2016-x86_64.facts
|
438
456
|
- facts/2.1/windows-7-x86_64.facts
|
439
457
|
- facts/2.1/windows-8.1-x86_64.facts
|
458
|
+
- facts/2.2/amazon-2017-x86_64.facts
|
440
459
|
- facts/2.2/archlinux-i386.facts
|
441
460
|
- facts/2.2/archlinux-x86_64.facts
|
442
461
|
- facts/2.2/centos-5-i386.facts
|
@@ -532,6 +551,7 @@ files:
|
|
532
551
|
- facts/2.2/windows-2016-x86_64.facts
|
533
552
|
- facts/2.2/windows-7-x86_64.facts
|
534
553
|
- facts/2.2/windows-8.1-x86_64.facts
|
554
|
+
- facts/2.3/amazon-2017-x86_64.facts
|
535
555
|
- facts/2.3/archlinux-i386.facts
|
536
556
|
- facts/2.3/archlinux-x86_64.facts
|
537
557
|
- facts/2.3/centos-5-i386.facts
|
@@ -627,6 +647,7 @@ files:
|
|
627
647
|
- facts/2.3/windows-2016-x86_64.facts
|
628
648
|
- facts/2.3/windows-7-x86_64.facts
|
629
649
|
- facts/2.3/windows-8.1-x86_64.facts
|
650
|
+
- facts/2.4/amazon-2017-x86_64.facts
|
630
651
|
- facts/2.4/archlinux-i386.facts
|
631
652
|
- facts/2.4/archlinux-x86_64.facts
|
632
653
|
- facts/2.4/centos-5-i386.facts
|
@@ -649,6 +670,8 @@ files:
|
|
649
670
|
- facts/2.4/debian-9-x86_64.facts
|
650
671
|
- facts/2.4/fedora-19-i386.facts
|
651
672
|
- facts/2.4/fedora-19-x86_64.facts
|
673
|
+
- facts/2.4/fedora-20-x86_64.facts
|
674
|
+
- facts/2.4/fedora-21-x86_64.facts
|
652
675
|
- facts/2.4/fedora-22-i386.facts
|
653
676
|
- facts/2.4/fedora-22-x86_64.facts
|
654
677
|
- facts/2.4/fedora-23-i386.facts
|
@@ -657,6 +680,7 @@ files:
|
|
657
680
|
- facts/2.4/fedora-24-x86_64.facts
|
658
681
|
- facts/2.4/fedora-25-i386.facts
|
659
682
|
- facts/2.4/fedora-25-x86_64.facts
|
683
|
+
- facts/2.4/fedora-26-x86_64.facts
|
660
684
|
- facts/2.4/freebsd-10-i386.facts
|
661
685
|
- facts/2.4/freebsd-10-x86_64.facts
|
662
686
|
- facts/2.4/freebsd-9-i386.facts
|
@@ -725,6 +749,7 @@ files:
|
|
725
749
|
- facts/2.4/windows-7-x64.facts
|
726
750
|
- facts/2.4/windows-7-x86_64.facts
|
727
751
|
- facts/2.4/windows-8.1-x86_64.facts
|
752
|
+
- facts/2.5/amazon-2017-x86_64.facts
|
728
753
|
- facts/2.5/centos-5-i386.facts
|
729
754
|
- facts/2.5/centos-5-x86_64.facts
|
730
755
|
- facts/2.5/centos-6-i386.facts
|
@@ -739,10 +764,13 @@ files:
|
|
739
764
|
- facts/2.5/debian-8-x86_64.facts
|
740
765
|
- facts/2.5/debian-9-i386.facts
|
741
766
|
- facts/2.5/debian-9-x86_64.facts
|
767
|
+
- facts/2.5/fedora-20-x86_64.facts
|
768
|
+
- facts/2.5/fedora-21-x86_64.facts
|
742
769
|
- facts/2.5/fedora-24-i386.facts
|
743
770
|
- facts/2.5/fedora-24-x86_64.facts
|
744
771
|
- facts/2.5/fedora-25-i386.facts
|
745
772
|
- facts/2.5/fedora-25-x86_64.facts
|
773
|
+
- facts/2.5/fedora-26-x86_64.facts
|
746
774
|
- facts/2.5/oraclelinux-5-i386.facts
|
747
775
|
- facts/2.5/oraclelinux-5-x86_64.facts
|
748
776
|
- facts/2.5/oraclelinux-6-i386.facts
|
@@ -778,6 +806,7 @@ files:
|
|
778
806
|
- facts/2.5/windows-2016-x86_64.facts
|
779
807
|
- facts/2.5/windows-7-x86_64.facts
|
780
808
|
- facts/2.5/windows-8.1-x86_64.facts
|
809
|
+
- facts/3.0/amazon-4-x86_64.facts
|
781
810
|
- facts/3.0/centos-5-i386.facts
|
782
811
|
- facts/3.0/centos-5-x86_64.facts
|
783
812
|
- facts/3.0/centos-6-i386.facts
|
@@ -790,6 +819,9 @@ files:
|
|
790
819
|
- facts/3.0/debian-7-x86_64.facts
|
791
820
|
- facts/3.0/debian-8-i386.facts
|
792
821
|
- facts/3.0/debian-8-x86_64.facts
|
822
|
+
- facts/3.0/fedora-20-x86_64.facts
|
823
|
+
- facts/3.0/fedora-21-x86_64.facts
|
824
|
+
- facts/3.0/fedora-26-x86_64.facts
|
793
825
|
- facts/3.0/oraclelinux-5-i386.facts
|
794
826
|
- facts/3.0/oraclelinux-5-x86_64.facts
|
795
827
|
- facts/3.0/oraclelinux-6-i386.facts
|
@@ -825,6 +857,7 @@ files:
|
|
825
857
|
- facts/3.0/windows-7-i386.facts
|
826
858
|
- facts/3.0/windows-7-x86_64.facts
|
827
859
|
- facts/3.0/windows-8.1-x86_64.facts
|
860
|
+
- facts/3.1/amazon-4-x86_64.facts
|
828
861
|
- facts/3.1/centos-5-i386.facts
|
829
862
|
- facts/3.1/centos-5-x86_64.facts
|
830
863
|
- facts/3.1/centos-6-i386.facts
|
@@ -839,10 +872,13 @@ files:
|
|
839
872
|
- facts/3.1/debian-7-x86_64.facts
|
840
873
|
- facts/3.1/debian-8-i386.facts
|
841
874
|
- facts/3.1/debian-8-x86_64.facts
|
875
|
+
- facts/3.1/fedora-20-x86_64.facts
|
876
|
+
- facts/3.1/fedora-21-x86_64.facts
|
842
877
|
- facts/3.1/fedora-22-i386.facts
|
843
878
|
- facts/3.1/fedora-22-x86_64.facts
|
844
879
|
- facts/3.1/fedora-23-i386.facts
|
845
880
|
- facts/3.1/fedora-23-x86_64.facts
|
881
|
+
- facts/3.1/fedora-26-x86_64.facts
|
846
882
|
- facts/3.1/linuxmint-18-x86_64.facts
|
847
883
|
- facts/3.1/oraclelinux-5-i386.facts
|
848
884
|
- facts/3.1/oraclelinux-5-x86_64.facts
|
@@ -884,6 +920,10 @@ files:
|
|
884
920
|
- facts/3.2/aix-53-powerpc.facts
|
885
921
|
- facts/3.2/aix-61-powerpc.facts
|
886
922
|
- facts/3.2/aix-71-powerpc.facts
|
923
|
+
- facts/3.2/fedora-20-x86_64.facts
|
924
|
+
- facts/3.2/fedora-21-x86_64.facts
|
925
|
+
- facts/3.2/fedora-26-x86_64.facts
|
926
|
+
- facts/3.3/amazon-4-x86_64.facts
|
887
927
|
- facts/3.3/centos-5-i386.facts
|
888
928
|
- facts/3.3/centos-5-x86_64.facts
|
889
929
|
- facts/3.3/centos-6-i386.facts
|
@@ -896,8 +936,11 @@ files:
|
|
896
936
|
- facts/3.3/debian-7-x86_64.facts
|
897
937
|
- facts/3.3/debian-8-i386.facts
|
898
938
|
- facts/3.3/debian-8-x86_64.facts
|
939
|
+
- facts/3.3/fedora-20-x86_64.facts
|
940
|
+
- facts/3.3/fedora-21-x86_64.facts
|
899
941
|
- facts/3.3/fedora-24-i386.facts
|
900
942
|
- facts/3.3/fedora-24-x86_64.facts
|
943
|
+
- facts/3.3/fedora-26-x86_64.facts
|
901
944
|
- facts/3.3/linuxmint-18-x86_64.facts
|
902
945
|
- facts/3.3/oraclelinux-5-i386.facts
|
903
946
|
- facts/3.3/oraclelinux-5-x86_64.facts
|
@@ -947,8 +990,11 @@ files:
|
|
947
990
|
- facts/3.4/debian-7-x86_64.facts
|
948
991
|
- facts/3.4/debian-8-i386.facts
|
949
992
|
- facts/3.4/debian-8-x86_64.facts
|
993
|
+
- facts/3.4/fedora-20-x86_64.facts
|
994
|
+
- facts/3.4/fedora-21-x86_64.facts
|
950
995
|
- facts/3.4/fedora-24-i386.facts
|
951
996
|
- facts/3.4/fedora-24-x86_64.facts
|
997
|
+
- facts/3.4/fedora-26-x86_64.facts
|
952
998
|
- facts/3.4/oraclelinux-5-i386.facts
|
953
999
|
- facts/3.4/oraclelinux-5-x86_64.facts
|
954
1000
|
- facts/3.4/oraclelinux-6-i386.facts
|
@@ -997,8 +1043,11 @@ files:
|
|
997
1043
|
- facts/3.5/debian-7-x86_64.facts
|
998
1044
|
- facts/3.5/debian-8-i386.facts
|
999
1045
|
- facts/3.5/debian-8-x86_64.facts
|
1046
|
+
- facts/3.5/fedora-20-x86_64.facts
|
1047
|
+
- facts/3.5/fedora-21-x86_64.facts
|
1000
1048
|
- facts/3.5/fedora-24-i386.facts
|
1001
1049
|
- facts/3.5/fedora-24-x86_64.facts
|
1050
|
+
- facts/3.5/fedora-26-x86_64.facts
|
1002
1051
|
- facts/3.5/oraclelinux-5-i386.facts
|
1003
1052
|
- facts/3.5/oraclelinux-5-x86_64.facts
|
1004
1053
|
- facts/3.5/oraclelinux-6-i386.facts
|
@@ -1035,6 +1084,7 @@ files:
|
|
1035
1084
|
- facts/3.5/windows-2016-x86_64.facts
|
1036
1085
|
- facts/3.5/windows-7-x86_64.facts
|
1037
1086
|
- facts/3.5/windows-8.1-x86_64.facts
|
1087
|
+
- facts/3.6/amazon-2017-x86_64.facts
|
1038
1088
|
- facts/3.6/centos-5-i386.facts
|
1039
1089
|
- facts/3.6/centos-5-x86_64.facts
|
1040
1090
|
- facts/3.6/centos-6-i386.facts
|
@@ -1048,10 +1098,13 @@ files:
|
|
1048
1098
|
- facts/3.6/debian-7-x86_64.facts
|
1049
1099
|
- facts/3.6/debian-8-i386.facts
|
1050
1100
|
- facts/3.6/debian-8-x86_64.facts
|
1101
|
+
- facts/3.6/fedora-20-x86_64.facts
|
1102
|
+
- facts/3.6/fedora-21-x86_64.facts
|
1051
1103
|
- facts/3.6/fedora-24-i386.facts
|
1052
1104
|
- facts/3.6/fedora-24-x86_64.facts
|
1053
1105
|
- facts/3.6/fedora-25-i386.facts
|
1054
1106
|
- facts/3.6/fedora-25-x86_64.facts
|
1107
|
+
- facts/3.6/fedora-26-x86_64.facts
|
1055
1108
|
- facts/3.6/oraclelinux-5-i386.facts
|
1056
1109
|
- facts/3.6/oraclelinux-5-x86_64.facts
|
1057
1110
|
- facts/3.6/oraclelinux-6-i386.facts
|
@@ -1094,14 +1147,20 @@ files:
|
|
1094
1147
|
- facts/3.7/centos-6-i386.facts
|
1095
1148
|
- facts/3.7/centos-6-x86_64.facts
|
1096
1149
|
- facts/3.7/centos-7-x86_64.facts
|
1150
|
+
- facts/3.7/darwin-14-x86_64.facts
|
1151
|
+
- facts/3.7/darwin-15-x86_64.facts
|
1152
|
+
- facts/3.7/darwin-16-x86_64.facts
|
1097
1153
|
- facts/3.7/debian-7-i386.facts
|
1098
1154
|
- facts/3.7/debian-7-x86_64.facts
|
1099
1155
|
- facts/3.7/debian-8-i386.facts
|
1100
1156
|
- facts/3.7/debian-8-x86_64.facts
|
1157
|
+
- facts/3.7/fedora-20-x86_64.facts
|
1158
|
+
- facts/3.7/fedora-21-x86_64.facts
|
1101
1159
|
- facts/3.7/fedora-24-i386.facts
|
1102
1160
|
- facts/3.7/fedora-24-x86_64.facts
|
1103
1161
|
- facts/3.7/fedora-25-i386.facts
|
1104
1162
|
- facts/3.7/fedora-25-x86_64.facts
|
1163
|
+
- facts/3.7/fedora-26-x86_64.facts
|
1105
1164
|
- facts/3.7/oraclelinux-5-i386.facts
|
1106
1165
|
- facts/3.7/oraclelinux-5-x86_64.facts
|
1107
1166
|
- facts/3.7/oraclelinux-6-i386.facts
|
@@ -1134,6 +1193,57 @@ files:
|
|
1134
1193
|
- facts/3.7/windows-2016-x86_64.facts
|
1135
1194
|
- facts/3.7/windows-7-x86_64.facts
|
1136
1195
|
- facts/3.7/windows-8.1-x86_64.facts
|
1196
|
+
- facts/3.8/centos-5-i386.facts
|
1197
|
+
- facts/3.8/centos-5-x86_64.facts
|
1198
|
+
- facts/3.8/centos-6-i386.facts
|
1199
|
+
- facts/3.8/centos-6-x86_64.facts
|
1200
|
+
- facts/3.8/centos-7-x86_64.facts
|
1201
|
+
- facts/3.8/darwin-14-x86_64.facts
|
1202
|
+
- facts/3.8/darwin-15-x86_64.facts
|
1203
|
+
- facts/3.8/darwin-16-x86_64.facts
|
1204
|
+
- facts/3.8/debian-7-i386.facts
|
1205
|
+
- facts/3.8/debian-7-x86_64.facts
|
1206
|
+
- facts/3.8/debian-8-i386.facts
|
1207
|
+
- facts/3.8/debian-8-x86_64.facts
|
1208
|
+
- facts/3.8/debian-9-i386.facts
|
1209
|
+
- facts/3.8/debian-9-x86_64.facts
|
1210
|
+
- facts/3.8/fedora-20-x86_64.facts
|
1211
|
+
- facts/3.8/fedora-21-x86_64.facts
|
1212
|
+
- facts/3.8/fedora-25-i386.facts
|
1213
|
+
- facts/3.8/fedora-25-x86_64.facts
|
1214
|
+
- facts/3.8/fedora-26-x86_64.facts
|
1215
|
+
- facts/3.8/oraclelinux-5-i386.facts
|
1216
|
+
- facts/3.8/oraclelinux-5-x86_64.facts
|
1217
|
+
- facts/3.8/oraclelinux-6-i386.facts
|
1218
|
+
- facts/3.8/oraclelinux-6-x86_64.facts
|
1219
|
+
- facts/3.8/oraclelinux-7-x86_64.facts
|
1220
|
+
- facts/3.8/redhat-5-i386.facts
|
1221
|
+
- facts/3.8/redhat-5-x86_64.facts
|
1222
|
+
- facts/3.8/redhat-6-i386.facts
|
1223
|
+
- facts/3.8/redhat-6-x86_64.facts
|
1224
|
+
- facts/3.8/redhat-7-x86_64.facts
|
1225
|
+
- facts/3.8/scientific-5-i386.facts
|
1226
|
+
- facts/3.8/scientific-5-x86_64.facts
|
1227
|
+
- facts/3.8/scientific-6-i386.facts
|
1228
|
+
- facts/3.8/scientific-6-x86_64.facts
|
1229
|
+
- facts/3.8/scientific-7-x86_64.facts
|
1230
|
+
- facts/3.8/sles-11-i386.facts
|
1231
|
+
- facts/3.8/sles-11-x86_64.facts
|
1232
|
+
- facts/3.8/sles-12-x86_64.facts
|
1233
|
+
- facts/3.8/ubuntu-14.04-i386.facts
|
1234
|
+
- facts/3.8/ubuntu-14.04-x86_64.facts
|
1235
|
+
- facts/3.8/ubuntu-16.04-i386.facts
|
1236
|
+
- facts/3.8/ubuntu-16.04-x86_64.facts
|
1237
|
+
- facts/3.8/windows-10-i386.facts
|
1238
|
+
- facts/3.8/windows-10-x86_64.facts
|
1239
|
+
- facts/3.8/windows-2008 r2-x86_64.facts
|
1240
|
+
- facts/3.8/windows-2008-x86_64.facts
|
1241
|
+
- facts/3.8/windows-2012 r2-core-x86_64.facts
|
1242
|
+
- facts/3.8/windows-2012 r2-x86_64.facts
|
1243
|
+
- facts/3.8/windows-2012-x86_64.facts
|
1244
|
+
- facts/3.8/windows-2016-x86_64.facts
|
1245
|
+
- facts/3.8/windows-7-x86_64.facts
|
1246
|
+
- facts/3.8/windows-8.1-x86_64.facts
|
1137
1247
|
- facts/Gemfile
|
1138
1248
|
- facts/Vagrantfile
|
1139
1249
|
- facts/Windows_README.md
|
@@ -1175,7 +1285,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1175
1285
|
version: '0'
|
1176
1286
|
requirements: []
|
1177
1287
|
rubyforge_project:
|
1178
|
-
rubygems_version: 2.
|
1288
|
+
rubygems_version: 2.5.2.1
|
1179
1289
|
signing_key:
|
1180
1290
|
specification_version: 4
|
1181
1291
|
summary: A Database of OS facts provided by Facter
|