simp-rspec-puppet-facts 1.0.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +97 -3
- data/facts/1.6/centos-6-x86_64.facts +0 -0
- data/facts/1.6/centos-7-x86_64.facts +0 -0
- data/facts/1.6/redhat-6-x86_64.facts +0 -0
- data/facts/1.6/redhat-7-x86_64.facts +0 -0
- data/facts/1.7/centos-6-x86_64.facts +104 -0
- data/facts/1.7/centos-7-x86_64.facts +102 -0
- data/facts/1.7/redhat-6-x86_64.facts +107 -0
- data/facts/1.7/redhat-7-x86_64.facts +102 -0
- data/facts/2.0/centos-6-x86_64.facts +200 -0
- data/facts/2.0/centos-7-x86_64.facts +194 -0
- data/facts/2.0/redhat-6-x86_64.facts +196 -0
- data/facts/2.0/redhat-7-x86_64.facts +195 -0
- data/facts/2.1/centos-6-x86_64.facts +212 -0
- data/facts/2.1/centos-7-x86_64.facts +212 -0
- data/facts/2.1/redhat-6-x86_64.facts +208 -0
- data/facts/2.1/redhat-7-x86_64.facts +213 -0
- data/facts/2.2/centos-6-x86_64.facts +235 -0
- data/facts/2.2/centos-7-x86_64.facts +235 -0
- data/facts/2.2/redhat-6-x86_64.facts +231 -0
- data/facts/2.2/redhat-7-x86_64.facts +236 -0
- data/facts/2.3/centos-6-x86_64.facts +236 -0
- data/facts/2.3/centos-7-x86_64.facts +236 -0
- data/facts/2.3/redhat-6-x86_64.facts +232 -0
- data/facts/2.3/redhat-7-x86_64.facts +237 -0
- data/facts/2.4/centos-6-x86_64.facts +236 -0
- data/facts/2.4/centos-7-x86_64.facts +236 -0
- data/facts/2.4/redhat-6-x86_64.facts +232 -0
- data/facts/2.4/redhat-7-x86_64.facts +237 -0
- data/facts/3.0/centos-6-x86_64.facts +339 -0
- data/facts/3.0/centos-7-x86_64.facts +343 -0
- data/facts/3.0/redhat-6-x86_64.facts +338 -0
- data/facts/3.0/redhat-7-x86_64.facts +348 -0
- data/facts/3.1/centos-6-x86_64.facts +368 -0
- data/facts/3.1/centos-7-x86_64.facts +372 -0
- data/facts/3.1/redhat-6-x86_64.facts +367 -0
- data/facts/3.1/redhat-7-x86_64.facts +377 -0
- data/facts/Gemfile +11 -0
- data/facts/Vagrantfile +34 -0
- data/facts/get_facts.sh +35 -0
- data/lib/simp/rspec-puppet-facts.rb +100 -40
- data/lib/simp/version.rb +4 -0
- data/spec/fixtures/metadata.json +2 -2
- data/spec/simp_rspec_puppet_facts_spec.rb +120 -51
- data/spec/spec_helper.rb +0 -6
- metadata +107 -70
@@ -0,0 +1,348 @@
|
|
1
|
+
{
|
2
|
+
"acpid_enabled": true,
|
3
|
+
"augeas": {
|
4
|
+
"version": "1.4.0"
|
5
|
+
},
|
6
|
+
"boot_dir_uuid": "26ae70e9-4393-4187-b8c5-f2eaa52a4fb5",
|
7
|
+
"cmdline": {
|
8
|
+
"BOOT_IMAGE": "/vmlinuz-3.10.0-327.el7.x86_64",
|
9
|
+
"root": "/dev/mapper/rhel-root",
|
10
|
+
"ro": null,
|
11
|
+
"crashkernel": "auto",
|
12
|
+
"rd.lvm.lv": "rhel/swap",
|
13
|
+
"rhgb": null,
|
14
|
+
"quiet": null,
|
15
|
+
"LANG": "en_US.UTF-8"
|
16
|
+
},
|
17
|
+
"cpuinfo": {
|
18
|
+
"processor0": {
|
19
|
+
"vendor_id": "GenuineIntel",
|
20
|
+
"cpu_family": "6",
|
21
|
+
"model": "61",
|
22
|
+
"model_name": "Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz",
|
23
|
+
"stepping": "4",
|
24
|
+
"microcode": "0x19",
|
25
|
+
"cpu_MHz": "3092.884",
|
26
|
+
"cache_size": "4096 KB",
|
27
|
+
"physical_id": "0",
|
28
|
+
"siblings": "1",
|
29
|
+
"core_id": "0",
|
30
|
+
"cpu_cores": "1",
|
31
|
+
"apicid": "0",
|
32
|
+
"initial_apicid": "0",
|
33
|
+
"fpu": "yes",
|
34
|
+
"fpu_exception": "yes",
|
35
|
+
"cpuid_level": "20",
|
36
|
+
"wp": "yes",
|
37
|
+
"flags": [
|
38
|
+
"fpu",
|
39
|
+
"vme",
|
40
|
+
"de",
|
41
|
+
"pse",
|
42
|
+
"tsc",
|
43
|
+
"msr",
|
44
|
+
"pae",
|
45
|
+
"mce",
|
46
|
+
"cx8",
|
47
|
+
"apic",
|
48
|
+
"sep",
|
49
|
+
"mtrr",
|
50
|
+
"pge",
|
51
|
+
"mca",
|
52
|
+
"cmov",
|
53
|
+
"pat",
|
54
|
+
"pse36",
|
55
|
+
"clflush",
|
56
|
+
"mmx",
|
57
|
+
"fxsr",
|
58
|
+
"sse",
|
59
|
+
"sse2",
|
60
|
+
"syscall",
|
61
|
+
"nx",
|
62
|
+
"rdtscp",
|
63
|
+
"lm",
|
64
|
+
"constant_tsc",
|
65
|
+
"rep_good",
|
66
|
+
"nopl",
|
67
|
+
"xtopology",
|
68
|
+
"nonstop_tsc",
|
69
|
+
"pni",
|
70
|
+
"pclmulqdq",
|
71
|
+
"monitor",
|
72
|
+
"ssse3",
|
73
|
+
"cx16",
|
74
|
+
"sse4_1",
|
75
|
+
"sse4_2",
|
76
|
+
"movbe",
|
77
|
+
"popcnt",
|
78
|
+
"aes",
|
79
|
+
"xsave",
|
80
|
+
"avx",
|
81
|
+
"rdrand",
|
82
|
+
"hypervisor",
|
83
|
+
"lahf_lm",
|
84
|
+
"abm",
|
85
|
+
"3dnowprefetch",
|
86
|
+
"rdseed"
|
87
|
+
],
|
88
|
+
"bogomips": "6185.76",
|
89
|
+
"clflush_size": "64",
|
90
|
+
"cache_alignment": "64",
|
91
|
+
"address_sizes": "39 bits physical, 48 bits virtual",
|
92
|
+
"power_management": "power management"
|
93
|
+
}
|
94
|
+
},
|
95
|
+
"defaultgateway": "10.0.2.2",
|
96
|
+
"defaultgatewayiface": "enp0s3",
|
97
|
+
"disks": {
|
98
|
+
"sda": {
|
99
|
+
"model": "VBOX HARDDISK",
|
100
|
+
"size": "36.00 GiB",
|
101
|
+
"size_bytes": 38654705664,
|
102
|
+
"vendor": "ATA"
|
103
|
+
}
|
104
|
+
},
|
105
|
+
"dmi": {
|
106
|
+
"bios": {
|
107
|
+
"release_date": "12/01/2006",
|
108
|
+
"vendor": "innotek GmbH",
|
109
|
+
"version": "VirtualBox"
|
110
|
+
},
|
111
|
+
"board": {
|
112
|
+
"manufacturer": "Oracle Corporation",
|
113
|
+
"product": "VirtualBox",
|
114
|
+
"serial_number": "0"
|
115
|
+
},
|
116
|
+
"chassis": {
|
117
|
+
"type": "Other"
|
118
|
+
},
|
119
|
+
"manufacturer": "innotek GmbH",
|
120
|
+
"product": {
|
121
|
+
"name": "VirtualBox",
|
122
|
+
"serial_number": "0",
|
123
|
+
"uuid": "34D3157B-EE15-4BB7-80B4-1CAB1D14262F"
|
124
|
+
}
|
125
|
+
},
|
126
|
+
"facterversion": "3.0.2",
|
127
|
+
"filesystems": "xfs",
|
128
|
+
"fips_enabled": true,
|
129
|
+
"fullrun": "false",
|
130
|
+
"gdm_version": "0.0.0",
|
131
|
+
"grub_version": "2.02~beta2",
|
132
|
+
"has_tpm": true,
|
133
|
+
"identity": {
|
134
|
+
"gid": 0,
|
135
|
+
"group": "root",
|
136
|
+
"uid": 0,
|
137
|
+
"user": "root"
|
138
|
+
},
|
139
|
+
"init_systems": [
|
140
|
+
"rc",
|
141
|
+
"systemd",
|
142
|
+
"sysv"
|
143
|
+
],
|
144
|
+
"ipv6_enabled": true,
|
145
|
+
"is_pe": true,
|
146
|
+
"is_virtual": true,
|
147
|
+
"kernel": "Linux",
|
148
|
+
"kernelmajversion": "3.10",
|
149
|
+
"kernelrelease": "3.10.0-327.el7.x86_64",
|
150
|
+
"kernelversion": "3.10.0",
|
151
|
+
"load_averages": {
|
152
|
+
"15m": 0.02,
|
153
|
+
"1m": 0.2,
|
154
|
+
"5m": 0.05
|
155
|
+
},
|
156
|
+
"memory": {
|
157
|
+
"swap": {
|
158
|
+
"available": "1.00 GiB",
|
159
|
+
"available_bytes": 1073737728,
|
160
|
+
"capacity": "0%",
|
161
|
+
"total": "1.00 GiB",
|
162
|
+
"total_bytes": 1073737728,
|
163
|
+
"used": "0 bytes",
|
164
|
+
"used_bytes": 0
|
165
|
+
},
|
166
|
+
"system": {
|
167
|
+
"available": "365.16 MiB",
|
168
|
+
"available_bytes": 382898176,
|
169
|
+
"capacity": "25.33%",
|
170
|
+
"total": "489.04 MiB",
|
171
|
+
"total_bytes": 512798720,
|
172
|
+
"used": "123.88 MiB",
|
173
|
+
"used_bytes": 129900544
|
174
|
+
}
|
175
|
+
},
|
176
|
+
"mountpoints": {
|
177
|
+
"/": {
|
178
|
+
"available": "33.12 GiB",
|
179
|
+
"available_bytes": 35565457408,
|
180
|
+
"capacity": "3.85%",
|
181
|
+
"device": "/dev/mapper/rhel-root",
|
182
|
+
"filesystem": "xfs",
|
183
|
+
"options": [
|
184
|
+
"rw",
|
185
|
+
"relatime",
|
186
|
+
"attr2",
|
187
|
+
"inode64",
|
188
|
+
"noquota"
|
189
|
+
],
|
190
|
+
"size": "34.45 GiB",
|
191
|
+
"size_bytes": 36988276736,
|
192
|
+
"used": "1.33 GiB",
|
193
|
+
"used_bytes": 1422819328
|
194
|
+
},
|
195
|
+
"/boot": {
|
196
|
+
"available": "371.55 MiB",
|
197
|
+
"available_bytes": 389595136,
|
198
|
+
"capacity": "25.19%",
|
199
|
+
"device": "/dev/sda1",
|
200
|
+
"filesystem": "xfs",
|
201
|
+
"options": [
|
202
|
+
"rw",
|
203
|
+
"relatime",
|
204
|
+
"attr2",
|
205
|
+
"inode64",
|
206
|
+
"noquota"
|
207
|
+
],
|
208
|
+
"size": "496.67 MiB",
|
209
|
+
"size_bytes": 520794112,
|
210
|
+
"used": "125.12 MiB",
|
211
|
+
"used_bytes": 131198976
|
212
|
+
}
|
213
|
+
},
|
214
|
+
"networking": {
|
215
|
+
"dhcp": "10.0.2.2",
|
216
|
+
"domain": "example.com",
|
217
|
+
"fqdn": "foo.example.com",
|
218
|
+
"hostname": "foo",
|
219
|
+
"interfaces": {
|
220
|
+
"enp0s3": {
|
221
|
+
"dhcp": "10.0.2.2",
|
222
|
+
"ip": "10.0.2.15",
|
223
|
+
"ip6": "fe80::a00:27ff:fefb:4e9e",
|
224
|
+
"mac": "08:00:27:fb:4e:9e",
|
225
|
+
"mtu": 1500,
|
226
|
+
"netmask": "255.255.255.0",
|
227
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
228
|
+
"network": "10.0.2.0",
|
229
|
+
"network6": "fe80::"
|
230
|
+
},
|
231
|
+
"lo": {
|
232
|
+
"ip": "127.0.0.1",
|
233
|
+
"ip6": "::1",
|
234
|
+
"mtu": 65536,
|
235
|
+
"netmask": "255.0.0.0",
|
236
|
+
"netmask6": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
|
237
|
+
"network": "127.0.0.0",
|
238
|
+
"network6": "::1"
|
239
|
+
}
|
240
|
+
},
|
241
|
+
"ip": "10.0.2.15",
|
242
|
+
"ip6": "fe80::a00:27ff:fefb:4e9e",
|
243
|
+
"mac": "08:00:27:fb:4e:9e",
|
244
|
+
"mtu": 1500,
|
245
|
+
"netmask": "255.255.255.0",
|
246
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
247
|
+
"network": "10.0.2.0",
|
248
|
+
"network6": "fe80::"
|
249
|
+
},
|
250
|
+
"openldap_arch": "i386",
|
251
|
+
"os": {
|
252
|
+
"architecture": "x86_64",
|
253
|
+
"family": "RedHat",
|
254
|
+
"hardware": "x86_64",
|
255
|
+
"name": "RedHat",
|
256
|
+
"release": {
|
257
|
+
"full": "7.2",
|
258
|
+
"major": "7",
|
259
|
+
"minor": "2"
|
260
|
+
},
|
261
|
+
"selinux": {
|
262
|
+
"enabled": false
|
263
|
+
}
|
264
|
+
},
|
265
|
+
"partitions": {
|
266
|
+
"/dev/mapper/rhel-root": {
|
267
|
+
"filesystem": "xfs",
|
268
|
+
"mount": "/",
|
269
|
+
"size": "0 bytes",
|
270
|
+
"size_bytes": 0,
|
271
|
+
"uuid": "c7df9cee-11aa-4924-bb97-a6e5609074e4"
|
272
|
+
},
|
273
|
+
"/dev/mapper/rhel-swap": {
|
274
|
+
"filesystem": "swap",
|
275
|
+
"size": "0 bytes",
|
276
|
+
"size_bytes": 0,
|
277
|
+
"uuid": "12e4d10a-0215-40f4-999c-cdda69a81e0e"
|
278
|
+
},
|
279
|
+
"/dev/sda1": {
|
280
|
+
"filesystem": "xfs",
|
281
|
+
"mount": "/boot",
|
282
|
+
"size": "500.00 MiB",
|
283
|
+
"size_bytes": 524288000,
|
284
|
+
"uuid": "26ae70e9-4393-4187-b8c5-f2eaa52a4fb5"
|
285
|
+
},
|
286
|
+
"/dev/sda2": {
|
287
|
+
"filesystem": "LVM2_member",
|
288
|
+
"size": "35.51 GiB",
|
289
|
+
"size_bytes": 38129369088,
|
290
|
+
"uuid": "TZpq2a-lF1X-0AhR-39lC-OG8V-Mbox-dyhox3"
|
291
|
+
}
|
292
|
+
},
|
293
|
+
"path": "/opt/puppetlabs/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin",
|
294
|
+
"processors": {
|
295
|
+
"count": 1,
|
296
|
+
"isa": "x86_64",
|
297
|
+
"models": [
|
298
|
+
"Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz"
|
299
|
+
],
|
300
|
+
"physicalcount": 1
|
301
|
+
},
|
302
|
+
"puppet_ruby_dir": "/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet",
|
303
|
+
"radius_version": "unknown",
|
304
|
+
"reboot_required": true,
|
305
|
+
"root_home": "/root",
|
306
|
+
"ruby": {
|
307
|
+
"platform": "x86_64-linux",
|
308
|
+
"sitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
|
309
|
+
"version": "2.1.6"
|
310
|
+
},
|
311
|
+
"runlevel": "3",
|
312
|
+
"shmall": "18446744073692774399",
|
313
|
+
"ssh": {
|
314
|
+
"ecdsa": {
|
315
|
+
"fingerprints": {
|
316
|
+
"sha1": "SSHFP 3 1 d44325c8395220c069b904fb775545ea172028a9",
|
317
|
+
"sha256": "SSHFP 3 2 a60f5d46c5f1aae180628f668b5c2f253d5134911dac877de0746563659e964a"
|
318
|
+
},
|
319
|
+
"key": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFfbV5ASN7bH9k8g3xRPTnWgtJZ34JEJuA5cLPVXOFtx9RVa1JRDMkhReLCNoYebvFNqZR/jyILoGd8zonv0HpE="
|
320
|
+
},
|
321
|
+
"ed25519": {
|
322
|
+
"fingerprints": {
|
323
|
+
"sha1": "SSHFP 4 1 d8809518ff1125aa291eb2c91c1ec5a6c3c64a4a",
|
324
|
+
"sha256": "SSHFP 4 2 45e26effcb888f15104870cc1c5182068f68966513ec452c8478c7ee2fad7029"
|
325
|
+
},
|
326
|
+
"key": "AAAAC3NzaC1lZDI1NTE5AAAAIEH9zW3/vlU6ToqjIGoRKBxBJCKad7f4/A4cqe+QddYO"
|
327
|
+
},
|
328
|
+
"rsa": {
|
329
|
+
"fingerprints": {
|
330
|
+
"sha1": "SSHFP 1 1 d9ef3f8744fb5c16b18285bf1bc3d8dc466a9061",
|
331
|
+
"sha256": "SSHFP 1 2 9489100f59197122bb05f1cc36e786de0dae1f2bef8148ad1eca98e5c068147f"
|
332
|
+
},
|
333
|
+
"key": "AAAAB3NzaC1yc2EAAAADAQABAAABAQCske477GChfDYp42V41KDzWPm4tFaizuv6pgDX5ta+Mmx+aIzH8sHqEJI8CHbueD4RPcewrVhuCKjVp/8L9Ei+Fvix45Hu5SFcGMsNnYU0xIZ7DIPMmrYxfaN7LOv7mpNQuRgteOSiEsVtBbBnITnnOsmSFS325cg1exEhO714w6Zrq2Ba2iE1iIsbI+B5i5MCmRtxx8lXf7mm26dzwLgzEehyVSunDrsNSLOSKe2ak/fPwuANozePIFaBPAnzbqdC0vlZhPIXS4Es5FGkBWjURGC3sgkMRhIwVl1JKCID1ShBIwF5iS3TrLFBN1KswpULNeWS+BKwZ3a7XNedtxvB"
|
334
|
+
}
|
335
|
+
},
|
336
|
+
"system_uptime": {
|
337
|
+
"days": 0,
|
338
|
+
"hours": 0,
|
339
|
+
"seconds": 28,
|
340
|
+
"uptime": "0:00 hours"
|
341
|
+
},
|
342
|
+
"timezone": "EDT",
|
343
|
+
"tmp_mount_dev_shm": "rw,nosuid,nodev",
|
344
|
+
"tmp_mount_fstype_dev_shm": "tmpfs",
|
345
|
+
"tmp_mount_path_dev_shm": "tmpfs",
|
346
|
+
"uid_min": "1000",
|
347
|
+
"virtual": "virtualbox"
|
348
|
+
}
|
@@ -0,0 +1,368 @@
|
|
1
|
+
{
|
2
|
+
"acpid_enabled": true,
|
3
|
+
"augeas": {
|
4
|
+
"version": "1.4.0"
|
5
|
+
},
|
6
|
+
"boot_dir_uuid": "04018524-a7ad-485e-a07a-27b820c4c774",
|
7
|
+
"cmdline": {
|
8
|
+
"ro": null,
|
9
|
+
"root": "/dev/mapper/VolGroup-lv_root",
|
10
|
+
"rd_NO_LUKS": null,
|
11
|
+
"LANG": "en_US.UTF-8",
|
12
|
+
"rd_NO_MD": null,
|
13
|
+
"rd_LVM_LV": "VolGroup/lv_root",
|
14
|
+
"SYSFONT": "latarcyrheb-sun16",
|
15
|
+
"KEYBOARDTYPE": "pc",
|
16
|
+
"KEYTABLE": "us",
|
17
|
+
"rd_NO_DM": null,
|
18
|
+
"rhgb": null,
|
19
|
+
"quiet": null
|
20
|
+
},
|
21
|
+
"cpuinfo": {
|
22
|
+
"processor0": {
|
23
|
+
"vendor_id": "GenuineIntel",
|
24
|
+
"cpu_family": "6",
|
25
|
+
"model": "61",
|
26
|
+
"model_name": "Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz",
|
27
|
+
"stepping": "4",
|
28
|
+
"microcode": "25",
|
29
|
+
"cpu_MHz": "3092.884",
|
30
|
+
"cache_size": "4096 KB",
|
31
|
+
"physical_id": "0",
|
32
|
+
"siblings": "1",
|
33
|
+
"core_id": "0",
|
34
|
+
"cpu_cores": "1",
|
35
|
+
"apicid": "0",
|
36
|
+
"initial_apicid": "0",
|
37
|
+
"fpu": "yes",
|
38
|
+
"fpu_exception": "yes",
|
39
|
+
"cpuid_level": "20",
|
40
|
+
"wp": "yes",
|
41
|
+
"flags": [
|
42
|
+
"fpu",
|
43
|
+
"vme",
|
44
|
+
"de",
|
45
|
+
"pse",
|
46
|
+
"tsc",
|
47
|
+
"msr",
|
48
|
+
"pae",
|
49
|
+
"mce",
|
50
|
+
"cx8",
|
51
|
+
"apic",
|
52
|
+
"sep",
|
53
|
+
"mtrr",
|
54
|
+
"pge",
|
55
|
+
"mca",
|
56
|
+
"cmov",
|
57
|
+
"pat",
|
58
|
+
"pse36",
|
59
|
+
"clflush",
|
60
|
+
"mmx",
|
61
|
+
"fxsr",
|
62
|
+
"sse",
|
63
|
+
"sse2",
|
64
|
+
"syscall",
|
65
|
+
"nx",
|
66
|
+
"rdtscp",
|
67
|
+
"lm",
|
68
|
+
"constant_tsc",
|
69
|
+
"up",
|
70
|
+
"rep_good",
|
71
|
+
"xtopology",
|
72
|
+
"nonstop_tsc",
|
73
|
+
"unfair_spinlock",
|
74
|
+
"pni",
|
75
|
+
"pclmulqdq",
|
76
|
+
"monitor",
|
77
|
+
"ssse3",
|
78
|
+
"cx16",
|
79
|
+
"sse4_1",
|
80
|
+
"sse4_2",
|
81
|
+
"movbe",
|
82
|
+
"popcnt",
|
83
|
+
"aes",
|
84
|
+
"xsave",
|
85
|
+
"avx",
|
86
|
+
"rdrand",
|
87
|
+
"hypervisor",
|
88
|
+
"lahf_lm",
|
89
|
+
"abm",
|
90
|
+
"3dnowprefetch",
|
91
|
+
"rdseed"
|
92
|
+
],
|
93
|
+
"bogomips": "6185.76",
|
94
|
+
"clflush_size": "64",
|
95
|
+
"cache_alignment": "64",
|
96
|
+
"address_sizes": "39 bits physical, 48 bits virtual",
|
97
|
+
"power_management": "power management"
|
98
|
+
}
|
99
|
+
},
|
100
|
+
"defaultgateway": "10.0.2.2",
|
101
|
+
"defaultgatewayiface": "eth0",
|
102
|
+
"disks": {
|
103
|
+
"sda": {
|
104
|
+
"model": "VBOX HARDDISK",
|
105
|
+
"size": "20.00 GiB",
|
106
|
+
"size_bytes": 21474836480,
|
107
|
+
"vendor": "ATA"
|
108
|
+
}
|
109
|
+
},
|
110
|
+
"dmi": {
|
111
|
+
"bios": {
|
112
|
+
"release_date": "12/01/2006",
|
113
|
+
"vendor": "innotek GmbH",
|
114
|
+
"version": "VirtualBox"
|
115
|
+
},
|
116
|
+
"board": {
|
117
|
+
"manufacturer": "Oracle Corporation",
|
118
|
+
"product": "VirtualBox",
|
119
|
+
"serial_number": "0"
|
120
|
+
},
|
121
|
+
"chassis": {
|
122
|
+
"type": "Other"
|
123
|
+
},
|
124
|
+
"manufacturer": "innotek GmbH",
|
125
|
+
"product": {
|
126
|
+
"name": "VirtualBox",
|
127
|
+
"serial_number": "0",
|
128
|
+
"uuid": "744D861E-723F-4811-A97E-7DB0430088C6"
|
129
|
+
}
|
130
|
+
},
|
131
|
+
"facterversion": "3.1.1",
|
132
|
+
"filesystems": "ext4,iso9660",
|
133
|
+
"fips_enabled": true,
|
134
|
+
"fullrun": "false",
|
135
|
+
"gdm_version": "0.0.0",
|
136
|
+
"grub_version": "0.97",
|
137
|
+
"has_clustering": true,
|
138
|
+
"has_tpm": true,
|
139
|
+
"identity": {
|
140
|
+
"gid": 0,
|
141
|
+
"group": "root",
|
142
|
+
"uid": 0,
|
143
|
+
"user": "root"
|
144
|
+
},
|
145
|
+
"init_systems": [
|
146
|
+
"rc",
|
147
|
+
"upstart",
|
148
|
+
"sysv"
|
149
|
+
],
|
150
|
+
"ipv6_enabled": true,
|
151
|
+
"is_pe": true,
|
152
|
+
"is_virtual": true,
|
153
|
+
"kernel": "Linux",
|
154
|
+
"kernelmajversion": "2.6",
|
155
|
+
"kernelrelease": "2.6.32-504.el6.x86_64",
|
156
|
+
"kernelversion": "2.6.32",
|
157
|
+
"load_averages": {
|
158
|
+
"15m": 0.02,
|
159
|
+
"1m": 0.21,
|
160
|
+
"5m": 0.05
|
161
|
+
},
|
162
|
+
"memory": {
|
163
|
+
"swap": {
|
164
|
+
"available": "992.00 MiB",
|
165
|
+
"available_bytes": 1040183296,
|
166
|
+
"capacity": "0%",
|
167
|
+
"total": "992.00 MiB",
|
168
|
+
"total_bytes": 1040183296,
|
169
|
+
"used": "0 bytes",
|
170
|
+
"used_bytes": 0
|
171
|
+
},
|
172
|
+
"system": {
|
173
|
+
"available": "409.70 MiB",
|
174
|
+
"available_bytes": 429604864,
|
175
|
+
"capacity": "16.45%",
|
176
|
+
"total": "490.39 MiB",
|
177
|
+
"total_bytes": 514211840,
|
178
|
+
"used": "80.69 MiB",
|
179
|
+
"used_bytes": 84606976
|
180
|
+
}
|
181
|
+
},
|
182
|
+
"mountpoints": {
|
183
|
+
"/": {
|
184
|
+
"available": "16.92 GiB",
|
185
|
+
"available_bytes": 18167726080,
|
186
|
+
"capacity": "6.64%",
|
187
|
+
"device": "/dev/mapper/VolGroup-lv_root",
|
188
|
+
"filesystem": "ext4",
|
189
|
+
"options": [
|
190
|
+
"rw"
|
191
|
+
],
|
192
|
+
"size": "18.12 GiB",
|
193
|
+
"size_bytes": 19459338240,
|
194
|
+
"used": "1.20 GiB",
|
195
|
+
"used_bytes": 1291612160
|
196
|
+
},
|
197
|
+
"/boot": {
|
198
|
+
"available": "448.51 MiB",
|
199
|
+
"available_bytes": 470301696,
|
200
|
+
"capacity": "5.82%",
|
201
|
+
"device": "/dev/sda1",
|
202
|
+
"filesystem": "ext4",
|
203
|
+
"options": [
|
204
|
+
"rw"
|
205
|
+
],
|
206
|
+
"size": "476.22 MiB",
|
207
|
+
"size_bytes": 499355648,
|
208
|
+
"used": "27.71 MiB",
|
209
|
+
"used_bytes": 29053952
|
210
|
+
}
|
211
|
+
},
|
212
|
+
"networking": {
|
213
|
+
"dhcp": "10.0.2.2",
|
214
|
+
"domain": "example.com",
|
215
|
+
"fqdn": "foo.example.com",
|
216
|
+
"hostname": "foo",
|
217
|
+
"interfaces": {
|
218
|
+
"eth0": {
|
219
|
+
"bindings": [
|
220
|
+
{
|
221
|
+
"address": "10.0.2.15",
|
222
|
+
"netmask": "255.255.255.0",
|
223
|
+
"network": "10.0.2.0"
|
224
|
+
}
|
225
|
+
],
|
226
|
+
"bindings6": [
|
227
|
+
{
|
228
|
+
"address": "fe80::a00:27ff:fe98:ca98",
|
229
|
+
"netmask": "ffff:ffff:ffff:ffff::",
|
230
|
+
"network": "fe80::"
|
231
|
+
}
|
232
|
+
],
|
233
|
+
"dhcp": "10.0.2.2",
|
234
|
+
"ip": "10.0.2.15",
|
235
|
+
"ip6": "fe80::a00:27ff:fe98:ca98",
|
236
|
+
"mac": "08:00:27:98:ca:98",
|
237
|
+
"mtu": 1500,
|
238
|
+
"netmask": "255.255.255.0",
|
239
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
240
|
+
"network": "10.0.2.0",
|
241
|
+
"network6": "fe80::"
|
242
|
+
},
|
243
|
+
"lo": {
|
244
|
+
"bindings": [
|
245
|
+
{
|
246
|
+
"address": "127.0.0.1",
|
247
|
+
"netmask": "255.0.0.0",
|
248
|
+
"network": "127.0.0.0"
|
249
|
+
}
|
250
|
+
],
|
251
|
+
"bindings6": [
|
252
|
+
{
|
253
|
+
"address": "::1",
|
254
|
+
"netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
|
255
|
+
"network": "::1"
|
256
|
+
}
|
257
|
+
],
|
258
|
+
"ip": "127.0.0.1",
|
259
|
+
"ip6": "::1",
|
260
|
+
"mtu": 65536,
|
261
|
+
"netmask": "255.0.0.0",
|
262
|
+
"netmask6": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
|
263
|
+
"network": "127.0.0.0",
|
264
|
+
"network6": "::1"
|
265
|
+
}
|
266
|
+
},
|
267
|
+
"ip": "10.0.2.15",
|
268
|
+
"ip6": "fe80::a00:27ff:fe98:ca98",
|
269
|
+
"mac": "08:00:27:98:ca:98",
|
270
|
+
"mtu": 1500,
|
271
|
+
"netmask": "255.255.255.0",
|
272
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
273
|
+
"network": "10.0.2.0",
|
274
|
+
"network6": "fe80::",
|
275
|
+
"primary": "eth0"
|
276
|
+
},
|
277
|
+
"openldap_arch": "i386",
|
278
|
+
"os": {
|
279
|
+
"architecture": "x86_64",
|
280
|
+
"family": "RedHat",
|
281
|
+
"hardware": "x86_64",
|
282
|
+
"name": "CentOS",
|
283
|
+
"release": {
|
284
|
+
"full": "6.6",
|
285
|
+
"major": "6",
|
286
|
+
"minor": "6"
|
287
|
+
},
|
288
|
+
"selinux": {
|
289
|
+
"enabled": false
|
290
|
+
}
|
291
|
+
},
|
292
|
+
"partitions": {
|
293
|
+
"/dev/mapper/VolGroup-lv_root": {
|
294
|
+
"filesystem": "ext4",
|
295
|
+
"mount": "/",
|
296
|
+
"size": "18.54 GiB",
|
297
|
+
"size_bytes": 19906166784,
|
298
|
+
"uuid": "af6068c6-0aad-479f-85f0-5102efab1b56"
|
299
|
+
},
|
300
|
+
"/dev/mapper/VolGroup-lv_swap": {
|
301
|
+
"filesystem": "swap",
|
302
|
+
"size": "992.00 MiB",
|
303
|
+
"size_bytes": 1040187392,
|
304
|
+
"uuid": "3298a7d2-b136-4191-82a3-8428f913889f"
|
305
|
+
},
|
306
|
+
"/dev/sda1": {
|
307
|
+
"filesystem": "ext4",
|
308
|
+
"mount": "/boot",
|
309
|
+
"size": "500.00 MiB",
|
310
|
+
"size_bytes": 524288000,
|
311
|
+
"uuid": "04018524-a7ad-485e-a07a-27b820c4c774"
|
312
|
+
},
|
313
|
+
"/dev/sda2": {
|
314
|
+
"filesystem": "LVM2_member",
|
315
|
+
"size": "19.51 GiB",
|
316
|
+
"size_bytes": 20949499904,
|
317
|
+
"uuid": "vYnYFe-Sz6O-vMbh-FDt0-6aQd-cg2C-3Vvwl3"
|
318
|
+
}
|
319
|
+
},
|
320
|
+
"path": "/opt/puppetlabs/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin",
|
321
|
+
"processors": {
|
322
|
+
"count": 1,
|
323
|
+
"isa": "x86_64",
|
324
|
+
"models": [
|
325
|
+
"Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz"
|
326
|
+
],
|
327
|
+
"physicalcount": 1
|
328
|
+
},
|
329
|
+
"puppet_ruby_dir": "/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet",
|
330
|
+
"radius_version": "unknown",
|
331
|
+
"reboot_required": true,
|
332
|
+
"root_home": "/root",
|
333
|
+
"ruby": {
|
334
|
+
"platform": "x86_64-linux",
|
335
|
+
"sitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
|
336
|
+
"version": "2.1.7"
|
337
|
+
},
|
338
|
+
"runlevel": "3",
|
339
|
+
"shmall": "4294967296",
|
340
|
+
"ssh": {
|
341
|
+
"dsa": {
|
342
|
+
"fingerprints": {
|
343
|
+
"sha1": "SSHFP 2 1 0e9e8e299b19eb61dd5f9eea7b142f9ac7df2cd3",
|
344
|
+
"sha256": "SSHFP 2 2 03106abaacaa1af5103053b6e933bb603c933bb9ebc0f3d962ac9cc2ba35e37d"
|
345
|
+
},
|
346
|
+
"key": "AAAAB3NzaC1kc3MAAACBAOSOdC70GK+62b1DmmHw37vZ6VEUcQLv9AfkTvjcqOrKrTNGNMcY+fzJtbcfTG4i21YEDa8CSHoYtsrfZy4nLamc+CIclQONCXNR1W+jCXpe/mjY7V0p9JjKDsTMX+o9jFsuBNYLpPK5w/udoUvVEETET66Rffh7ylVdwrGsw72vAAAAFQCsxMUYvE0SSNELWgJeNZUl0MMxlwAAAIEAyssLRdOH4F0ijHHFbsQbreJSWpJSb7JMwOTVzECe97KfsoCV6VUuMBsTg/4GKWxHxK35z/VZSftPfFFaAtIERtStRfYlelZOZ0ftuc4+VZmQ4OWiOV2gBrWCUzPeo9BcFMWzeQEPpn2ZIabAn9lfdAzf/2dtYiZScgesW1DKG3MAAACADhQF5ON8mfbTUwEem0PvB9JER0cm8CE1qYCa6UFRVQNGr9UhTUC9+layi4U858Qi1W98UNavmogVc1mMiGlOODVQRUb0VTlUHRVVaFAANd4iW0n8Iy+fcaS6soDMYyw2UYwpFjHWeBE9Gf8ESg7aJVt14BJpQkVX/plsjWvGh5w="
|
347
|
+
},
|
348
|
+
"rsa": {
|
349
|
+
"fingerprints": {
|
350
|
+
"sha1": "SSHFP 1 1 92e88fd08705813da6d5f9b7d5f79355282b9397",
|
351
|
+
"sha256": "SSHFP 1 2 58e36c85866db8936510aadd0785ef700c172dd1ecc2d30c4d52996fc53a8bac"
|
352
|
+
},
|
353
|
+
"key": "AAAAB3NzaC1yc2EAAAABIwAAAQEA1aDd89yysGoH+u57JguOVc1HOAURwMzsyiE58Un4qdB6RWdfHbzx+hhaYMk6HpUU2pYcHpFL+RPNsXLWx6wH2e/HvRfOi1pHxElpX9P8Q1jwKDIgEzAVRhnTIejDw0MiKv8EVIXexcs8ZGrfcVh1eRSGlGUyJs+vY7MVbMlmL6cuz4mf70Gf55YRPCyXuubyicz9bthyClykHzR8PPjCYL/hXyNed69TqlC2/xDqOs5apK/ND5nytA4irCZGh3POABxapIAjcSYU3MR7VMpV5CbUoPaeW8Zvldbbdf41Hg0mScAAvutJNgdy6p5Wy/WLAa6otJ2RiVAYNP+l5sDz2Q=="
|
354
|
+
}
|
355
|
+
},
|
356
|
+
"system_uptime": {
|
357
|
+
"days": 0,
|
358
|
+
"hours": 0,
|
359
|
+
"seconds": 54,
|
360
|
+
"uptime": "0:00 hours"
|
361
|
+
},
|
362
|
+
"timezone": "UTC",
|
363
|
+
"tmp_mount_dev_shm": "rw,relatime",
|
364
|
+
"tmp_mount_fstype_dev_shm": "tmpfs",
|
365
|
+
"tmp_mount_path_dev_shm": "tmpfs",
|
366
|
+
"uid_min": "500",
|
367
|
+
"virtual": "virtualbox"
|
368
|
+
}
|