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,208 @@
|
|
1
|
+
{
|
2
|
+
"gem_version": "~> 2.1.0",
|
3
|
+
"lib": "/vagrant/modules/apache/lib/facter:/vagrant/modules/foreman/lib/facter:/vagrant/modules/freeradius/lib/facter:/vagrant/modules/openldap/lib/facter:/vagrant/modules/pupmod/lib/facter:/vagrant/modules/simplib/lib/facter:/vagrant/modules/stdlib/lib/facter:/vagrant/modules/tpm/lib/facter:/vagrant/modules/xwindows/lib/facter:",
|
4
|
+
"hostname": "foo",
|
5
|
+
"kernel": "Linux",
|
6
|
+
"blockdevice_sr0_size": 1073741312,
|
7
|
+
"blockdevice_sr0_vendor": "VBOX",
|
8
|
+
"blockdevice_sr0_model": "CD-ROM",
|
9
|
+
"blockdevice_sda_size": 32212254720,
|
10
|
+
"blockdevice_sda_vendor": "ATA",
|
11
|
+
"blockdevice_sda_model": "VBOX HARDDISK",
|
12
|
+
"blockdevices": "sda,sr0",
|
13
|
+
"virtual": "kvm",
|
14
|
+
"is_virtual": "true",
|
15
|
+
"architecture": "x86_64",
|
16
|
+
"hardwaremodel": "x86_64",
|
17
|
+
"operatingsystem": "RedHat",
|
18
|
+
"kernelrelease": "2.6.32-431.el6.x86_64",
|
19
|
+
"operatingsystemrelease": "6.5",
|
20
|
+
"memorysize": "1.83 GB",
|
21
|
+
"memoryfree": "1.71 GB",
|
22
|
+
"swapsize": "3.00 GB",
|
23
|
+
"swapfree": "3.00 GB",
|
24
|
+
"swapsize_mb": "3071.99",
|
25
|
+
"swapfree_mb": "3071.99",
|
26
|
+
"memorysize_mb": "1877.43",
|
27
|
+
"memoryfree_mb": "1755.69",
|
28
|
+
"hardwareisa": "x86_64",
|
29
|
+
"id": "root",
|
30
|
+
"timezone": "EDT",
|
31
|
+
"fqdn": "foo.example.com",
|
32
|
+
"boardmanufacturer": "Oracle Corporation",
|
33
|
+
"boardproductname": "VirtualBox",
|
34
|
+
"boardserialnumber": "0",
|
35
|
+
"bios_vendor": "innotek GmbH",
|
36
|
+
"bios_version": "VirtualBox",
|
37
|
+
"bios_release_date": "12/01/2006",
|
38
|
+
"manufacturer": "innotek GmbH",
|
39
|
+
"productname": "VirtualBox",
|
40
|
+
"serialnumber": "0",
|
41
|
+
"uuid": "13768983-8D2B-451F-937F-ADDD3C6DBE40",
|
42
|
+
"type": "Other",
|
43
|
+
"facterversion": "2.1.0",
|
44
|
+
"path": "/home/vagrant/vendor/bundler/ruby/2.1.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin",
|
45
|
+
"rubyversion": "2.1.7",
|
46
|
+
"kernelversion": "2.6.32",
|
47
|
+
"uniqueid": "007f0100",
|
48
|
+
"uptime_seconds": 62,
|
49
|
+
"processor0": "Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz",
|
50
|
+
"processorcount": "1",
|
51
|
+
"operatingsystemmajrelease": "6",
|
52
|
+
"rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
|
53
|
+
"filesystems": "ext4,iso9660",
|
54
|
+
"ps": "ps -ef",
|
55
|
+
"uptime": "0:01 hours",
|
56
|
+
"macaddress": "08:00:27:D5:6F:26",
|
57
|
+
"partitions": {
|
58
|
+
"sda1": {
|
59
|
+
"uuid": "0119c428-fbfa-4525-801b-112f6f58ae1c",
|
60
|
+
"size": "1024000",
|
61
|
+
"mount": "/boot",
|
62
|
+
"filesystem": "ext4"
|
63
|
+
},
|
64
|
+
"sda2": {
|
65
|
+
"size": "61888512",
|
66
|
+
"filesystem": "LVM2_member"
|
67
|
+
}
|
68
|
+
},
|
69
|
+
"osfamily": "RedHat",
|
70
|
+
"domain": "example.com",
|
71
|
+
"ipaddress": "10.0.2.15",
|
72
|
+
"sshdsakey": "AAAAB3NzaC1kc3MAAACBAMJzRC1Dam9XK/uinH37BE09gJ6Jdcjdk1S4INQ4QOm4TqKO3j6glXZWGNikEG/mUzLIU8UOZBYddD4uRNLvOYUtUnHMzRn6teQflK9CNROt4EsuZ6BWS4LJIc4rxXwMnl/sdIXA3y3fWJXts5ju506/B0E+om1OZmF2HECVdyV5AAAAFQCFfk4wYSRwajtOsdVnnwbsBfmySQAAAIBfIIKqK2Uyscs9s5+dVM11FlhSD0jKt3PlaedePz8xXP4YpgvaqlL+vWkqAJe/wNrbRGHE8IoFRb6g4oSoSjqTo671fM6jPge5ceia5MqaTwSUi2/jULK8j2nPuj01lpMgZRSo5+1f3KekhMUKQNoA/BRrqdn5KLC2RaLTy3h0WQAAAIEAo0kyGMbkEBcPQibgfOJTuJFZ8l2590C0uSAu+EUOD0FafiurpgVyjUVCkviO0o9CMLqyuz1fLy6WhSl93GquVzNLGFZgJdqtFQjXPcdrLG+CA8D8WwLNqlHeq2FoBU6Ziqc/PS9UnwwLevNvz6RQLDO1e3A7KGF79TQH/PzNom4=",
|
73
|
+
"sshfp_dsa": "SSHFP 2 1 6b3b4f61ce5589131af398bd375d3c3648b0acca\nSSHFP 2 2 756f3d89fd3eba29d9d2e6945985f643fd150195f9ecc485e4bb4f21ea2643f7",
|
74
|
+
"sshrsakey": "AAAAB3NzaC1yc2EAAAABIwAAAQEA5Ci2vpmnOFndAZpEJTIdE3KtK7QVU7Gxi2Gi3r/ilo0q52mFxn+A6CNdZqDapWTlbWhnAE78edjy5sLuQ8tF6zvPjadkXBG3UZH1ZmN50MjISS3WbOfgv2X0SiF7u8xykTrGsYOdPlEM2gk1XbwfnsDby084Zn1d9X6WE5l436MtLxpq/dbL2CMHpJfLlcQL5gGFrqoNxQI7F8oTFn3SyoBggsQxn5bfCas/vQzx4wSHB5TbEdZIRwZFrGKqcMfHuh3Vh9QUtuDO+ceEcBZ7ION4Eu4Yylpy3X9bOo44ufkJX4Xa/BqX7uv8ywvcy4yXJDHY7RUVnjsV3R1KS+bRuw==",
|
75
|
+
"sshfp_rsa": "SSHFP 1 1 da5db57b9a35167ded726929889a678802e29c14\nSSHFP 1 2 e66cf0d1c6c52f9bf2841cc33ae439b886d61985604d2de0ad25bc1288c99bf5",
|
76
|
+
"network_eth0": "10.0.2.0",
|
77
|
+
"network_lo": "127.0.0.0",
|
78
|
+
"kernelmajversion": "2.6",
|
79
|
+
"augeasversion": "1.4.0",
|
80
|
+
"interfaces": "eth0,lo",
|
81
|
+
"ipaddress_eth0": "10.0.2.15",
|
82
|
+
"macaddress_eth0": "08:00:27:D5:6F:26",
|
83
|
+
"netmask_eth0": "255.255.255.0",
|
84
|
+
"mtu_eth0": "1500",
|
85
|
+
"ipaddress_lo": "127.0.0.1",
|
86
|
+
"netmask_lo": "255.0.0.0",
|
87
|
+
"mtu_lo": "16436",
|
88
|
+
"uptime_hours": 0,
|
89
|
+
"netmask": "255.255.255.0",
|
90
|
+
"puppetversion": "3.8.7",
|
91
|
+
"selinux": "false",
|
92
|
+
"physicalprocessorcount": "1",
|
93
|
+
"uptime_days": 0,
|
94
|
+
"radius_version": "unknown",
|
95
|
+
"openldap_arch": "i386",
|
96
|
+
"puppet_ruby_dir": "/home/vagrant/vendor/bundler/ruby/2.1.0/gems/puppet-3.8.7/lib/puppet",
|
97
|
+
"reboot_required": false,
|
98
|
+
"cmdline": {
|
99
|
+
"ro": null,
|
100
|
+
"root": "/dev/mapper/vg_redhat65vagrant-lv_root",
|
101
|
+
"rd_LVM_LV": "vg_redhat65vagrant/lv_swap",
|
102
|
+
"rd_NO_LUKS": null,
|
103
|
+
"LANG": "en_US.UTF-8",
|
104
|
+
"rd_NO_MD": null,
|
105
|
+
"SYSFONT": "latarcyrheb-sun16",
|
106
|
+
"crashkernel": "129M@0M",
|
107
|
+
"KEYBOARDTYPE": "pc",
|
108
|
+
"KEYTABLE": "us",
|
109
|
+
"rd_NO_DM": null,
|
110
|
+
"rhgb": null,
|
111
|
+
"quiet": null
|
112
|
+
},
|
113
|
+
"boot_dir_uuid": "0119c428-fbfa-4525-801b-112f6f58ae1c",
|
114
|
+
"defaultgatewayiface": "eth0",
|
115
|
+
"acpid_enabled": true,
|
116
|
+
"shmall": "4294967296",
|
117
|
+
"ipv6_enabled": true,
|
118
|
+
"init_systems": [
|
119
|
+
"rc",
|
120
|
+
"upstart",
|
121
|
+
"sysv"
|
122
|
+
],
|
123
|
+
"runlevel": "3",
|
124
|
+
"uid_min": "500",
|
125
|
+
"fips_enabled": false,
|
126
|
+
"grub_version": "0.97",
|
127
|
+
"has_clustering": false,
|
128
|
+
"tmp_mount_dev_shm": "rw,relatime",
|
129
|
+
"tmp_mount_path_dev_shm": "tmpfs",
|
130
|
+
"tmp_mount_fstype_dev_shm": "tmpfs",
|
131
|
+
"defaultgateway": "10.0.2.2",
|
132
|
+
"fullrun": "false",
|
133
|
+
"cpuinfo": {
|
134
|
+
"processor0": {
|
135
|
+
"vendor_id": "GenuineIntel",
|
136
|
+
"cpu_family": "6",
|
137
|
+
"model": "61",
|
138
|
+
"model_name": "Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz",
|
139
|
+
"stepping": "4",
|
140
|
+
"cpu_MHz": "3092.884",
|
141
|
+
"cache_size": "4096 KB",
|
142
|
+
"fpu": "yes",
|
143
|
+
"fpu_exception": "yes",
|
144
|
+
"cpuid_level": "20",
|
145
|
+
"wp": "yes",
|
146
|
+
"flags": [
|
147
|
+
"fpu",
|
148
|
+
"vme",
|
149
|
+
"de",
|
150
|
+
"pse",
|
151
|
+
"tsc",
|
152
|
+
"msr",
|
153
|
+
"pae",
|
154
|
+
"mce",
|
155
|
+
"cx8",
|
156
|
+
"apic",
|
157
|
+
"sep",
|
158
|
+
"mtrr",
|
159
|
+
"pge",
|
160
|
+
"mca",
|
161
|
+
"cmov",
|
162
|
+
"pat",
|
163
|
+
"pse36",
|
164
|
+
"clflush",
|
165
|
+
"mmx",
|
166
|
+
"fxsr",
|
167
|
+
"sse",
|
168
|
+
"sse2",
|
169
|
+
"syscall",
|
170
|
+
"nx",
|
171
|
+
"rdtscp",
|
172
|
+
"lm",
|
173
|
+
"constant_tsc",
|
174
|
+
"up",
|
175
|
+
"rep_good",
|
176
|
+
"xtopology",
|
177
|
+
"nonstop_tsc",
|
178
|
+
"unfair_spinlock",
|
179
|
+
"pni",
|
180
|
+
"pclmulqdq",
|
181
|
+
"monitor",
|
182
|
+
"ssse3",
|
183
|
+
"cx16",
|
184
|
+
"sse4_1",
|
185
|
+
"sse4_2",
|
186
|
+
"movbe",
|
187
|
+
"popcnt",
|
188
|
+
"aes",
|
189
|
+
"xsave",
|
190
|
+
"avx",
|
191
|
+
"rdrand",
|
192
|
+
"hypervisor",
|
193
|
+
"lahf_lm",
|
194
|
+
"abm",
|
195
|
+
"3dnowprefetch"
|
196
|
+
],
|
197
|
+
"bogomips": "6185.76",
|
198
|
+
"clflush_size": "64",
|
199
|
+
"cache_alignment": "64",
|
200
|
+
"address_sizes": "39 bits physical, 48 bits virtual",
|
201
|
+
"power_management": "power management"
|
202
|
+
}
|
203
|
+
},
|
204
|
+
"root_home": "/root",
|
205
|
+
"is_pe": false,
|
206
|
+
"has_tpm": false,
|
207
|
+
"gdm_version": "0.0.0"
|
208
|
+
}
|
@@ -0,0 +1,213 @@
|
|
1
|
+
{
|
2
|
+
"gem_version": "~> 2.1.0",
|
3
|
+
"lib": "/vagrant/modules/apache/lib/facter:/vagrant/modules/foreman/lib/facter:/vagrant/modules/freeradius/lib/facter:/vagrant/modules/openldap/lib/facter:/vagrant/modules/pupmod/lib/facter:/vagrant/modules/simplib/lib/facter:/vagrant/modules/stdlib/lib/facter:/vagrant/modules/tpm/lib/facter:/vagrant/modules/xwindows/lib/facter:",
|
4
|
+
"architecture": "x86_64",
|
5
|
+
"augeasversion": "1.4.0",
|
6
|
+
"kernel": "Linux",
|
7
|
+
"blockdevice_sda_size": 38654705664,
|
8
|
+
"blockdevice_sda_vendor": "ATA",
|
9
|
+
"blockdevice_sda_model": "VBOX HARDDISK",
|
10
|
+
"blockdevices": "sda",
|
11
|
+
"dhcp_servers": {
|
12
|
+
"system": "10.0.2.2",
|
13
|
+
"enp0s3": "10.0.2.2"
|
14
|
+
},
|
15
|
+
"domain": "example.com",
|
16
|
+
"virtual": "kvm",
|
17
|
+
"is_virtual": "true",
|
18
|
+
"hardwaremodel": "x86_64",
|
19
|
+
"operatingsystem": "RedHat",
|
20
|
+
"facterversion": "2.1.0",
|
21
|
+
"filesystems": "xfs",
|
22
|
+
"fqdn": "foo.example.com",
|
23
|
+
"hardwareisa": "x86_64",
|
24
|
+
"hostname": "foo",
|
25
|
+
"id": "root",
|
26
|
+
"interfaces": "enp0s3,lo",
|
27
|
+
"ipaddress_enp0s3": "10.0.2.15",
|
28
|
+
"macaddress_enp0s3": "08:00:27:fb:4e:9e",
|
29
|
+
"netmask_enp0s3": "255.255.255.0",
|
30
|
+
"mtu_enp0s3": "1500",
|
31
|
+
"ipaddress_lo": "127.0.0.1",
|
32
|
+
"netmask_lo": "255.0.0.0",
|
33
|
+
"mtu_lo": "65536",
|
34
|
+
"ipaddress": "10.0.2.15",
|
35
|
+
"kernelmajversion": "3.10",
|
36
|
+
"kernelrelease": "3.10.0-327.el7.x86_64",
|
37
|
+
"kernelversion": "3.10.0",
|
38
|
+
"macaddress": "08:00:27:fb:4e:9e",
|
39
|
+
"boardmanufacturer": "Oracle Corporation",
|
40
|
+
"boardproductname": "VirtualBox",
|
41
|
+
"boardserialnumber": "0",
|
42
|
+
"bios_vendor": "innotek GmbH",
|
43
|
+
"bios_version": "VirtualBox",
|
44
|
+
"bios_release_date": "12/01/2006",
|
45
|
+
"manufacturer": "innotek GmbH",
|
46
|
+
"productname": "VirtualBox",
|
47
|
+
"serialnumber": "0",
|
48
|
+
"uuid": "34D3157B-EE15-4BB7-80B4-1CAB1D14262F",
|
49
|
+
"type": "Other",
|
50
|
+
"memorysize": "489.04 MB",
|
51
|
+
"memoryfree": "336.26 MB",
|
52
|
+
"swapsize": "1024.00 MB",
|
53
|
+
"swapfree": "1024.00 MB",
|
54
|
+
"swapsize_mb": "1024.00",
|
55
|
+
"swapfree_mb": "1024.00",
|
56
|
+
"memorysize_mb": "489.04",
|
57
|
+
"memoryfree_mb": "336.26",
|
58
|
+
"netmask": "255.255.255.0",
|
59
|
+
"network_enp0s3": "10.0.2.0",
|
60
|
+
"network_lo": "127.0.0.0",
|
61
|
+
"operatingsystemmajrelease": "7",
|
62
|
+
"operatingsystemrelease": "7.2",
|
63
|
+
"osfamily": "RedHat",
|
64
|
+
"partitions": {
|
65
|
+
"sda1": {
|
66
|
+
"uuid": "26ae70e9-4393-4187-b8c5-f2eaa52a4fb5",
|
67
|
+
"size": "1024000",
|
68
|
+
"mount": "/boot",
|
69
|
+
"filesystem": "xfs"
|
70
|
+
},
|
71
|
+
"sda2": {
|
72
|
+
"size": "74471424",
|
73
|
+
"filesystem": "LVM2_member"
|
74
|
+
}
|
75
|
+
},
|
76
|
+
"path": "/home/vagrant/vendor/bundler/ruby/2.1.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin",
|
77
|
+
"physicalprocessorcount": "1",
|
78
|
+
"processor0": "Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz",
|
79
|
+
"processorcount": "1",
|
80
|
+
"ps": "ps -ef",
|
81
|
+
"puppetversion": "3.8.7",
|
82
|
+
"rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
|
83
|
+
"rubyversion": "2.1.7",
|
84
|
+
"selinux": "false",
|
85
|
+
"sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQCske477GChfDYp42V41KDzWPm4tFaizuv6pgDX5ta+Mmx+aIzH8sHqEJI8CHbueD4RPcewrVhuCKjVp/8L9Ei+Fvix45Hu5SFcGMsNnYU0xIZ7DIPMmrYxfaN7LOv7mpNQuRgteOSiEsVtBbBnITnnOsmSFS325cg1exEhO714w6Zrq2Ba2iE1iIsbI+B5i5MCmRtxx8lXf7mm26dzwLgzEehyVSunDrsNSLOSKe2ak/fPwuANozePIFaBPAnzbqdC0vlZhPIXS4Es5FGkBWjURGC3sgkMRhIwVl1JKCID1ShBIwF5iS3TrLFBN1KswpULNeWS+BKwZ3a7XNedtxvB",
|
86
|
+
"sshfp_rsa": "SSHFP 1 1 d9ef3f8744fb5c16b18285bf1bc3d8dc466a9061\nSSHFP 1 2 9489100f59197122bb05f1cc36e786de0dae1f2bef8148ad1eca98e5c068147f",
|
87
|
+
"sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFfbV5ASN7bH9k8g3xRPTnWgtJZ34JEJuA5cLPVXOFtx9RVa1JRDMkhReLCNoYebvFNqZR/jyILoGd8zonv0HpE=",
|
88
|
+
"sshfp_ecdsa": "SSHFP 3 1 d44325c8395220c069b904fb775545ea172028a9\nSSHFP 3 2 a60f5d46c5f1aae180628f668b5c2f253d5134911dac877de0746563659e964a",
|
89
|
+
"sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIEH9zW3/vlU6ToqjIGoRKBxBJCKad7f4/A4cqe+QddYO",
|
90
|
+
"sshfp_ed25519": "SSHFP 4 1 d8809518ff1125aa291eb2c91c1ec5a6c3c64a4a\nSSHFP 4 2 45e26effcb888f15104870cc1c5182068f68966513ec452c8478c7ee2fad7029",
|
91
|
+
"timezone": "EDT",
|
92
|
+
"uniqueid": "007f0100",
|
93
|
+
"uptime": "0:01 hours",
|
94
|
+
"uptime_days": 0,
|
95
|
+
"uptime_hours": 0,
|
96
|
+
"uptime_seconds": 60,
|
97
|
+
"radius_version": "unknown",
|
98
|
+
"openldap_arch": "i386",
|
99
|
+
"puppet_ruby_dir": "/home/vagrant/vendor/bundler/ruby/2.1.0/gems/puppet-3.8.7/lib/puppet",
|
100
|
+
"reboot_required": false,
|
101
|
+
"cmdline": {
|
102
|
+
"BOOT_IMAGE": "/vmlinuz-3.10.0-327.el7.x86_64",
|
103
|
+
"root": "/dev/mapper/rhel-root",
|
104
|
+
"ro": null,
|
105
|
+
"crashkernel": "auto",
|
106
|
+
"rd.lvm.lv": "rhel/swap",
|
107
|
+
"rhgb": null,
|
108
|
+
"quiet": null,
|
109
|
+
"LANG": "en_US.UTF-8"
|
110
|
+
},
|
111
|
+
"boot_dir_uuid": "26ae70e9-4393-4187-b8c5-f2eaa52a4fb5",
|
112
|
+
"defaultgatewayiface": "enp0s3",
|
113
|
+
"acpid_enabled": false,
|
114
|
+
"shmall": "18446744073692774399",
|
115
|
+
"ipv6_enabled": true,
|
116
|
+
"init_systems": [
|
117
|
+
"rc",
|
118
|
+
"systemd",
|
119
|
+
"sysv"
|
120
|
+
],
|
121
|
+
"runlevel": "3",
|
122
|
+
"uid_min": "1000",
|
123
|
+
"fips_enabled": false,
|
124
|
+
"grub_version": "2.02~beta2",
|
125
|
+
"has_clustering": false,
|
126
|
+
"tmp_mount_dev_shm": "rw,nosuid,nodev",
|
127
|
+
"tmp_mount_path_dev_shm": "tmpfs",
|
128
|
+
"tmp_mount_fstype_dev_shm": "tmpfs",
|
129
|
+
"defaultgateway": "10.0.2.2",
|
130
|
+
"fullrun": "false",
|
131
|
+
"cpuinfo": {
|
132
|
+
"processor0": {
|
133
|
+
"vendor_id": "GenuineIntel",
|
134
|
+
"cpu_family": "6",
|
135
|
+
"model": "61",
|
136
|
+
"model_name": "Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz",
|
137
|
+
"stepping": "4",
|
138
|
+
"microcode": "0x19",
|
139
|
+
"cpu_MHz": "3092.884",
|
140
|
+
"cache_size": "4096 KB",
|
141
|
+
"physical_id": "0",
|
142
|
+
"siblings": "1",
|
143
|
+
"core_id": "0",
|
144
|
+
"cpu_cores": "1",
|
145
|
+
"apicid": "0",
|
146
|
+
"initial_apicid": "0",
|
147
|
+
"fpu": "yes",
|
148
|
+
"fpu_exception": "yes",
|
149
|
+
"cpuid_level": "20",
|
150
|
+
"wp": "yes",
|
151
|
+
"flags": [
|
152
|
+
"fpu",
|
153
|
+
"vme",
|
154
|
+
"de",
|
155
|
+
"pse",
|
156
|
+
"tsc",
|
157
|
+
"msr",
|
158
|
+
"pae",
|
159
|
+
"mce",
|
160
|
+
"cx8",
|
161
|
+
"apic",
|
162
|
+
"sep",
|
163
|
+
"mtrr",
|
164
|
+
"pge",
|
165
|
+
"mca",
|
166
|
+
"cmov",
|
167
|
+
"pat",
|
168
|
+
"pse36",
|
169
|
+
"clflush",
|
170
|
+
"mmx",
|
171
|
+
"fxsr",
|
172
|
+
"sse",
|
173
|
+
"sse2",
|
174
|
+
"syscall",
|
175
|
+
"nx",
|
176
|
+
"rdtscp",
|
177
|
+
"lm",
|
178
|
+
"constant_tsc",
|
179
|
+
"rep_good",
|
180
|
+
"nopl",
|
181
|
+
"xtopology",
|
182
|
+
"nonstop_tsc",
|
183
|
+
"pni",
|
184
|
+
"pclmulqdq",
|
185
|
+
"monitor",
|
186
|
+
"ssse3",
|
187
|
+
"cx16",
|
188
|
+
"sse4_1",
|
189
|
+
"sse4_2",
|
190
|
+
"movbe",
|
191
|
+
"popcnt",
|
192
|
+
"aes",
|
193
|
+
"xsave",
|
194
|
+
"avx",
|
195
|
+
"rdrand",
|
196
|
+
"hypervisor",
|
197
|
+
"lahf_lm",
|
198
|
+
"abm",
|
199
|
+
"3dnowprefetch",
|
200
|
+
"rdseed"
|
201
|
+
],
|
202
|
+
"bogomips": "6185.76",
|
203
|
+
"clflush_size": "64",
|
204
|
+
"cache_alignment": "64",
|
205
|
+
"address_sizes": "39 bits physical, 48 bits virtual",
|
206
|
+
"power_management": "power management"
|
207
|
+
}
|
208
|
+
},
|
209
|
+
"root_home": "/root",
|
210
|
+
"is_pe": false,
|
211
|
+
"has_tpm": false,
|
212
|
+
"gdm_version": "0.0.0"
|
213
|
+
}
|
@@ -0,0 +1,235 @@
|
|
1
|
+
{
|
2
|
+
"gem_version": "~> 2.2.0",
|
3
|
+
"lib": "/vagrant/modules/apache/lib/facter:/vagrant/modules/foreman/lib/facter:/vagrant/modules/freeradius/lib/facter:/vagrant/modules/openldap/lib/facter:/vagrant/modules/pupmod/lib/facter:/vagrant/modules/simplib/lib/facter:/vagrant/modules/stdlib/lib/facter:/vagrant/modules/tpm/lib/facter:/vagrant/modules/xwindows/lib/facter:",
|
4
|
+
"kernelversion": "2.6.32",
|
5
|
+
"kernel": "Linux",
|
6
|
+
"path": "/home/vagrant/vendor/bundler/ruby/2.1.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin",
|
7
|
+
"facterversion": "2.2.0",
|
8
|
+
"uniqueid": "007f0100",
|
9
|
+
"fqdn": "foo.example.com",
|
10
|
+
"macaddress": "08:00:27:98:CA:98",
|
11
|
+
"physicalprocessorcount": "1",
|
12
|
+
"kernelrelease": "2.6.32-504.el6.x86_64",
|
13
|
+
"operatingsystem": "CentOS",
|
14
|
+
"hostname": "foo",
|
15
|
+
"ps": "ps -ef",
|
16
|
+
"uptime_days": 0,
|
17
|
+
"rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
|
18
|
+
"hardwareisa": "x86_64",
|
19
|
+
"partitions": {
|
20
|
+
"sda1": {
|
21
|
+
"uuid": "04018524-a7ad-485e-a07a-27b820c4c774",
|
22
|
+
"size": "1024000",
|
23
|
+
"mount": "/boot",
|
24
|
+
"filesystem": "ext4"
|
25
|
+
},
|
26
|
+
"sda2": {
|
27
|
+
"size": "40916992",
|
28
|
+
"filesystem": "LVM2_member"
|
29
|
+
}
|
30
|
+
},
|
31
|
+
"uptime_hours": 0,
|
32
|
+
"timezone": "UTC",
|
33
|
+
"architecture": "x86_64",
|
34
|
+
"filesystems": "ext4,iso9660",
|
35
|
+
"virtual": "kvm",
|
36
|
+
"is_virtual": "true",
|
37
|
+
"hardwaremodel": "x86_64",
|
38
|
+
"os": {
|
39
|
+
"name": "CentOS",
|
40
|
+
"family": "RedHat",
|
41
|
+
"release": {
|
42
|
+
"major": "6",
|
43
|
+
"minor": "6",
|
44
|
+
"full": "6.6"
|
45
|
+
}
|
46
|
+
},
|
47
|
+
"system_uptime": {
|
48
|
+
"seconds": 84,
|
49
|
+
"hours": 0,
|
50
|
+
"days": 0,
|
51
|
+
"uptime": "0:01 hours"
|
52
|
+
},
|
53
|
+
"kernelmajversion": "2.6",
|
54
|
+
"sshdsakey": "AAAAB3NzaC1kc3MAAACBAOSOdC70GK+62b1DmmHw37vZ6VEUcQLv9AfkTvjcqOrKrTNGNMcY+fzJtbcfTG4i21YEDa8CSHoYtsrfZy4nLamc+CIclQONCXNR1W+jCXpe/mjY7V0p9JjKDsTMX+o9jFsuBNYLpPK5w/udoUvVEETET66Rffh7ylVdwrGsw72vAAAAFQCsxMUYvE0SSNELWgJeNZUl0MMxlwAAAIEAyssLRdOH4F0ijHHFbsQbreJSWpJSb7JMwOTVzECe97KfsoCV6VUuMBsTg/4GKWxHxK35z/VZSftPfFFaAtIERtStRfYlelZOZ0ftuc4+VZmQ4OWiOV2gBrWCUzPeo9BcFMWzeQEPpn2ZIabAn9lfdAzf/2dtYiZScgesW1DKG3MAAACADhQF5ON8mfbTUwEem0PvB9JER0cm8CE1qYCa6UFRVQNGr9UhTUC9+layi4U858Qi1W98UNavmogVc1mMiGlOODVQRUb0VTlUHRVVaFAANd4iW0n8Iy+fcaS6soDMYyw2UYwpFjHWeBE9Gf8ESg7aJVt14BJpQkVX/plsjWvGh5w=",
|
55
|
+
"sshfp_dsa": "SSHFP 2 1 0e9e8e299b19eb61dd5f9eea7b142f9ac7df2cd3\nSSHFP 2 2 03106abaacaa1af5103053b6e933bb603c933bb9ebc0f3d962ac9cc2ba35e37d",
|
56
|
+
"sshrsakey": "AAAAB3NzaC1yc2EAAAABIwAAAQEA1aDd89yysGoH+u57JguOVc1HOAURwMzsyiE58Un4qdB6RWdfHbzx+hhaYMk6HpUU2pYcHpFL+RPNsXLWx6wH2e/HvRfOi1pHxElpX9P8Q1jwKDIgEzAVRhnTIejDw0MiKv8EVIXexcs8ZGrfcVh1eRSGlGUyJs+vY7MVbMlmL6cuz4mf70Gf55YRPCyXuubyicz9bthyClykHzR8PPjCYL/hXyNed69TqlC2/xDqOs5apK/ND5nytA4irCZGh3POABxapIAjcSYU3MR7VMpV5CbUoPaeW8Zvldbbdf41Hg0mScAAvutJNgdy6p5Wy/WLAa6otJ2RiVAYNP+l5sDz2Q==",
|
57
|
+
"sshfp_rsa": "SSHFP 1 1 92e88fd08705813da6d5f9b7d5f79355282b9397\nSSHFP 1 2 58e36c85866db8936510aadd0785ef700c172dd1ecc2d30c4d52996fc53a8bac",
|
58
|
+
"network_eth0": "10.0.2.0",
|
59
|
+
"network_lo": "127.0.0.0",
|
60
|
+
"osfamily": "RedHat",
|
61
|
+
"memorysize": "490.39 MB",
|
62
|
+
"memoryfree": "391.32 MB",
|
63
|
+
"swapsize": "992.00 MB",
|
64
|
+
"swapfree": "991.86 MB",
|
65
|
+
"swapsize_mb": "992.00",
|
66
|
+
"swapfree_mb": "991.86",
|
67
|
+
"memorysize_mb": "490.39",
|
68
|
+
"memoryfree_mb": "391.32",
|
69
|
+
"operatingsystemmajrelease": "6",
|
70
|
+
"netmask": "255.255.255.0",
|
71
|
+
"operatingsystemrelease": "6.6",
|
72
|
+
"uptime_seconds": 84,
|
73
|
+
"boardmanufacturer": "Oracle Corporation",
|
74
|
+
"boardproductname": "VirtualBox",
|
75
|
+
"boardserialnumber": "0",
|
76
|
+
"bios_vendor": "innotek GmbH",
|
77
|
+
"bios_version": "VirtualBox",
|
78
|
+
"bios_release_date": "12/01/2006",
|
79
|
+
"manufacturer": "innotek GmbH",
|
80
|
+
"productname": "VirtualBox",
|
81
|
+
"serialnumber": "0",
|
82
|
+
"uuid": "744D861E-723F-4811-A97E-7DB0430088C6",
|
83
|
+
"type": "Other",
|
84
|
+
"processors": {
|
85
|
+
"models": [
|
86
|
+
"Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz"
|
87
|
+
],
|
88
|
+
"count": 1,
|
89
|
+
"physicalcount": 1
|
90
|
+
},
|
91
|
+
"ipaddress": "10.0.2.15",
|
92
|
+
"selinux": "false",
|
93
|
+
"processor0": "Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz",
|
94
|
+
"processorcount": "1",
|
95
|
+
"augeasversion": "1.4.0",
|
96
|
+
"uptime": "0:01 hours",
|
97
|
+
"id": "root",
|
98
|
+
"puppetversion": "3.8.7",
|
99
|
+
"gid": "root",
|
100
|
+
"domain": "example.com",
|
101
|
+
"interfaces": "eth0,lo",
|
102
|
+
"ipaddress_eth0": "10.0.2.15",
|
103
|
+
"macaddress_eth0": "08:00:27:98:CA:98",
|
104
|
+
"netmask_eth0": "255.255.255.0",
|
105
|
+
"mtu_eth0": "1500",
|
106
|
+
"ipaddress_lo": "127.0.0.1",
|
107
|
+
"netmask_lo": "255.0.0.0",
|
108
|
+
"mtu_lo": "65536",
|
109
|
+
"rubyversion": "2.1.7",
|
110
|
+
"blockdevice_sda_size": 21474836480,
|
111
|
+
"blockdevice_sda_vendor": "ATA",
|
112
|
+
"blockdevice_sda_model": "VBOX HARDDISK",
|
113
|
+
"blockdevices": "sda",
|
114
|
+
"radius_version": "unknown",
|
115
|
+
"openldap_arch": "i386",
|
116
|
+
"puppet_ruby_dir": "/home/vagrant/vendor/bundler/ruby/2.1.0/gems/puppet-3.8.7/lib/puppet",
|
117
|
+
"reboot_required": false,
|
118
|
+
"cmdline": {
|
119
|
+
"ro": null,
|
120
|
+
"root": "/dev/mapper/VolGroup-lv_root",
|
121
|
+
"rd_NO_LUKS": null,
|
122
|
+
"LANG": "en_US.UTF-8",
|
123
|
+
"rd_NO_MD": null,
|
124
|
+
"rd_LVM_LV": "VolGroup/lv_root",
|
125
|
+
"SYSFONT": "latarcyrheb-sun16",
|
126
|
+
"KEYBOARDTYPE": "pc",
|
127
|
+
"KEYTABLE": "us",
|
128
|
+
"rd_NO_DM": null,
|
129
|
+
"rhgb": null,
|
130
|
+
"quiet": null
|
131
|
+
},
|
132
|
+
"boot_dir_uuid": "04018524-a7ad-485e-a07a-27b820c4c774",
|
133
|
+
"defaultgatewayiface": "eth0",
|
134
|
+
"acpid_enabled": true,
|
135
|
+
"shmall": "4294967296",
|
136
|
+
"ipv6_enabled": true,
|
137
|
+
"init_systems": [
|
138
|
+
"rc",
|
139
|
+
"upstart",
|
140
|
+
"sysv"
|
141
|
+
],
|
142
|
+
"runlevel": "3",
|
143
|
+
"uid_min": "500",
|
144
|
+
"fips_enabled": false,
|
145
|
+
"grub_version": "0.97",
|
146
|
+
"has_clustering": false,
|
147
|
+
"tmp_mount_dev_shm": "rw,relatime",
|
148
|
+
"tmp_mount_path_dev_shm": "tmpfs",
|
149
|
+
"tmp_mount_fstype_dev_shm": "tmpfs",
|
150
|
+
"defaultgateway": "10.0.2.2",
|
151
|
+
"fullrun": "false",
|
152
|
+
"cpuinfo": {
|
153
|
+
"processor0": {
|
154
|
+
"vendor_id": "GenuineIntel",
|
155
|
+
"cpu_family": "6",
|
156
|
+
"model": "61",
|
157
|
+
"model_name": "Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz",
|
158
|
+
"stepping": "4",
|
159
|
+
"microcode": "25",
|
160
|
+
"cpu_MHz": "3092.884",
|
161
|
+
"cache_size": "4096 KB",
|
162
|
+
"physical_id": "0",
|
163
|
+
"siblings": "1",
|
164
|
+
"core_id": "0",
|
165
|
+
"cpu_cores": "1",
|
166
|
+
"apicid": "0",
|
167
|
+
"initial_apicid": "0",
|
168
|
+
"fpu": "yes",
|
169
|
+
"fpu_exception": "yes",
|
170
|
+
"cpuid_level": "20",
|
171
|
+
"wp": "yes",
|
172
|
+
"flags": [
|
173
|
+
"fpu",
|
174
|
+
"vme",
|
175
|
+
"de",
|
176
|
+
"pse",
|
177
|
+
"tsc",
|
178
|
+
"msr",
|
179
|
+
"pae",
|
180
|
+
"mce",
|
181
|
+
"cx8",
|
182
|
+
"apic",
|
183
|
+
"sep",
|
184
|
+
"mtrr",
|
185
|
+
"pge",
|
186
|
+
"mca",
|
187
|
+
"cmov",
|
188
|
+
"pat",
|
189
|
+
"pse36",
|
190
|
+
"clflush",
|
191
|
+
"mmx",
|
192
|
+
"fxsr",
|
193
|
+
"sse",
|
194
|
+
"sse2",
|
195
|
+
"syscall",
|
196
|
+
"nx",
|
197
|
+
"rdtscp",
|
198
|
+
"lm",
|
199
|
+
"constant_tsc",
|
200
|
+
"up",
|
201
|
+
"rep_good",
|
202
|
+
"xtopology",
|
203
|
+
"nonstop_tsc",
|
204
|
+
"unfair_spinlock",
|
205
|
+
"pni",
|
206
|
+
"pclmulqdq",
|
207
|
+
"monitor",
|
208
|
+
"ssse3",
|
209
|
+
"cx16",
|
210
|
+
"sse4_1",
|
211
|
+
"sse4_2",
|
212
|
+
"movbe",
|
213
|
+
"popcnt",
|
214
|
+
"aes",
|
215
|
+
"xsave",
|
216
|
+
"avx",
|
217
|
+
"rdrand",
|
218
|
+
"hypervisor",
|
219
|
+
"lahf_lm",
|
220
|
+
"abm",
|
221
|
+
"3dnowprefetch",
|
222
|
+
"rdseed"
|
223
|
+
],
|
224
|
+
"bogomips": "6185.76",
|
225
|
+
"clflush_size": "64",
|
226
|
+
"cache_alignment": "64",
|
227
|
+
"address_sizes": "39 bits physical, 48 bits virtual",
|
228
|
+
"power_management": "power management"
|
229
|
+
}
|
230
|
+
},
|
231
|
+
"root_home": "/root",
|
232
|
+
"is_pe": false,
|
233
|
+
"has_tpm": false,
|
234
|
+
"gdm_version": "0.0.0"
|
235
|
+
}
|