simp-rspec-puppet-facts 1.4.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +20 -2
  3. data/facts/1.7/centos-6-x86_64.facts +370 -90
  4. data/facts/1.7/centos-7-x86_64.facts +317 -37
  5. data/facts/1.7/redhat-6-x86_64.facts +370 -93
  6. data/facts/1.7/redhat-7-x86_64.facts +339 -59
  7. data/facts/2.0/centos-6-x86_64.facts +470 -124
  8. data/facts/2.0/centos-7-x86_64.facts +408 -60
  9. data/facts/2.0/redhat-6-x86_64.facts +487 -131
  10. data/facts/2.0/redhat-7-x86_64.facts +451 -97
  11. data/facts/2.1/centos-6-x86_64.facts +487 -138
  12. data/facts/2.1/centos-7-x86_64.facts +417 -66
  13. data/facts/2.1/redhat-6-x86_64.facts +583 -141
  14. data/facts/2.1/redhat-7-x86_64.facts +547 -107
  15. data/facts/2.2/centos-6-x86_64.facts +522 -173
  16. data/facts/2.2/centos-7-x86_64.facts +422 -71
  17. data/facts/2.2/redhat-6-x86_64.facts +605 -163
  18. data/facts/2.2/redhat-7-x86_64.facts +552 -112
  19. data/facts/2.3/centos-6-x86_64.facts +509 -160
  20. data/facts/2.3/centos-7-x86_64.facts +422 -71
  21. data/facts/2.3/redhat-6-x86_64.facts +601 -159
  22. data/facts/2.3/redhat-7-x86_64.facts +552 -112
  23. data/facts/2.4/centos-6-x86_64.facts +505 -156
  24. data/facts/2.4/centos-7-x86_64.facts +422 -71
  25. data/facts/2.4/redhat-6-x86_64.facts +593 -150
  26. data/facts/2.4/redhat-7-x86_64.facts +553 -112
  27. data/facts/2.5/--.facts +572 -0
  28. data/facts/2.5/centos-6-x86_64.facts +589 -0
  29. data/facts/2.5/centos-7-x86_64.facts +589 -0
  30. data/facts/2.5/redhat-6-x86_64.facts +678 -0
  31. data/facts/2.5/redhat-7-x86_64.facts +679 -0
  32. data/facts/3.0/centos-6-x86_64.facts +407 -100
  33. data/facts/3.0/centos-7-x86_64.facts +441 -119
  34. data/facts/3.0/redhat-6-x86_64.facts +554 -199
  35. data/facts/3.0/redhat-7-x86_64.facts +546 -202
  36. data/facts/3.3/centos-6-x86_64.facts +420 -104
  37. data/facts/3.3/centos-7-x86_64.facts +451 -124
  38. data/facts/3.3/redhat-6-x86_64.facts +556 -214
  39. data/facts/3.3/redhat-7-x86_64.facts +811 -0
  40. data/facts/3.4/centos-6-x86_64.facts +426 -108
  41. data/facts/3.4/centos-7-x86_64.facts +457 -128
  42. data/facts/3.4/redhat-6-x86_64.facts +562 -218
  43. data/facts/3.4/redhat-7-x86_64.facts +814 -0
  44. data/facts/3.5/centos-6-x86_64.facts +794 -0
  45. data/facts/3.5/centos-7-x86_64.facts +870 -0
  46. data/facts/3.5/redhat-6-x86_64.facts +822 -0
  47. data/facts/3.5/redhat-7-x86_64.facts +891 -0
  48. data/facts/3.6/centos-6-x86_64.facts +795 -0
  49. data/facts/3.6/centos-7-x86_64.facts +871 -0
  50. data/facts/3.6/redhat-6-x86_64.facts +823 -0
  51. data/facts/3.6/redhat-7-x86_64.facts +892 -0
  52. data/facts/3.7/centos-6-x86_64.facts +787 -0
  53. data/facts/3.7/centos-7-x86_64.facts +863 -0
  54. data/facts/3.7/redhat-6-x86_64.facts +815 -0
  55. data/facts/3.7/redhat-7-x86_64.facts +884 -0
  56. data/facts/Vagrantfile +149 -27
  57. data/facts/puppetfiles/Puppetfile.6.0.0-0 +395 -0
  58. data/facts/scripts/get_facts.rb +1 -1
  59. data/facts/scripts/get_facts_for_each_facter.sh +15 -5
  60. data/lib/simp/rspec-puppet-facts.rb +81 -13
  61. data/lib/simp/version.rb +1 -1
  62. data/spec/simp_rspec_puppet_facts_spec.rb +21 -18
  63. metadata +83 -43
@@ -1,173 +1,150 @@
1
1
  {
2
- "gem_version": "~> 2.2.0",
3
- "lib": "/vagrant/modules/apache/lib/facter:/vagrant/modules/auditd/lib/facter:/vagrant/modules/elasticsearch/lib/facter:/vagrant/modules/foreman/lib/facter:/vagrant/modules/freeradius/lib/facter:/vagrant/modules/haveged/lib/facter:/vagrant/modules/openldap/lib/facter:/vagrant/modules/pupmod/lib/facter:/vagrant/modules/simplib/lib/facter:/vagrant/modules/ssh/lib/facter:/vagrant/modules/stdlib/lib/facter:/vagrant/modules/tpm/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
- "processors": {
14
- "models": [
15
- "Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz"
16
- ],
17
- "count": 1,
18
- "physicalcount": 1
19
- },
20
- "virtual": "kvm",
21
- "is_virtual": "true",
22
- "architecture": "x86_64",
23
- "hardwaremodel": "x86_64",
24
- "operatingsystem": "RedHat",
25
- "os": {
26
- "name": "RedHat",
27
- "family": "RedHat",
28
- "release": {
29
- "major": "6",
30
- "minor": "5",
31
- "full": "6.5"
32
- }
33
- },
34
- "kernelrelease": "2.6.32-431.el6.x86_64",
35
- "operatingsystemrelease": "6.5",
36
- "memorysize": "1.83 GB",
37
- "memoryfree": "1.72 GB",
38
- "swapsize": "3.00 GB",
39
- "swapfree": "3.00 GB",
40
- "swapsize_mb": "3071.99",
41
- "swapfree_mb": "3071.99",
42
- "memorysize_mb": "1877.43",
43
- "memoryfree_mb": "1761.71",
2
+ "ps": "ps -ef",
3
+ "macaddress_eth0": "42:01:0A:8E:00:03",
4
+ "uniqueid": "8e0a0300",
5
+ "selinux": "true",
6
+ "facterversion": "2.2.0",
7
+ "defaultgatewayiface": "eth0",
44
8
  "hardwareisa": "x86_64",
45
9
  "id": "root",
46
- "timezone": "EDT",
47
- "fqdn": "foo.example.com",
48
- "boardmanufacturer": "Oracle Corporation",
49
- "boardproductname": "VirtualBox",
50
- "boardserialnumber": "0",
51
- "bios_vendor": "innotek GmbH",
52
- "bios_version": "VirtualBox",
53
- "bios_release_date": "12/01/2006",
54
- "manufacturer": "innotek GmbH",
55
- "productname": "VirtualBox",
56
- "serialnumber": "0",
57
- "uuid": "F89697F3-888D-43A0-A474-916C6A406A5C",
58
- "type": "Other",
59
- "facterversion": "2.2.0",
60
- "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",
61
- "rubyversion": "2.1.9",
62
- "kernelversion": "2.6.32",
63
- "uniqueid": "007f0100",
64
- "uptime_seconds": 32,
65
- "processor0": "Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz",
66
- "processorcount": "1",
67
- "operatingsystemmajrelease": "6",
68
- "rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
69
- "filesystems": "ext4,iso9660",
70
- "ps": "ps -ef",
71
- "uptime": "0:00 hours",
72
- "macaddress": "08:00:27:D5:6F:26",
10
+ "operatingsystemrelease": "6.9",
11
+ "uuid": "72DECFF7-553E-32A1-8268-1E545CE5911C",
12
+ "selinux_config_mode": "enforcing",
13
+ "bios_release_date": "01/01/2011",
14
+ "ipaddress": "10.142.0.3",
15
+ "netmask_lo": "255.0.0.0",
16
+ "root_home": "/root",
17
+ "tmp_mount_fstype_dev_shm": "tmpfs",
18
+ "swapfree_mb": "0.00",
19
+ "physicalprocessorcount": "1",
20
+ "hostname": "i-2017073017-f0058001",
21
+ "puppet_environmentpath": "",
22
+ "memoryfree": "1.41 GB",
23
+ "boardmanufacturer": "Google",
24
+ "operatingsystem": "RedHat",
25
+ "fullrun": "false",
26
+ "blockdevice_sda_model": "PersistentDisk",
27
+ "sshfp_dsa": "SSHFP 2 1 14cf278cb74e679280a7bedc0b776d35968f5cda\nSSHFP 2 2 812419848991fbec31609427e513d94f04cf3117c2554fd0826b82b884436ad9",
28
+ "network_eth0": "10.142.0.3",
29
+ "has_tpm": false,
73
30
  "partitions": {
74
31
  "sda1": {
75
- "uuid": "0119c428-fbfa-4525-801b-112f6f58ae1c",
76
- "size": "1024000",
77
- "mount": "/boot",
78
- "filesystem": "ext4"
79
- },
80
- "sda2": {
81
- "size": "61888512",
82
- "filesystem": "LVM2_member"
32
+ "mount": "/",
33
+ "size": "20969472",
34
+ "filesystem": "ext4",
35
+ "uuid": "5c57426f-7fef-483e-b428-21052514ad6c"
83
36
  }
84
37
  },
85
- "system_uptime": {
86
- "seconds": 32,
87
- "hours": 0,
88
- "days": 0,
89
- "uptime": "0:00 hours"
90
- },
91
- "osfamily": "RedHat",
92
- "domain": "example.com",
93
- "ipaddress": "10.0.2.15",
94
- "sshdsakey": "AAAAB3NzaC1kc3MAAACBAMJzRC1Dam9XK/uinH37BE09gJ6Jdcjdk1S4INQ4QOm4TqKO3j6glXZWGNikEG/mUzLIU8UOZBYddD4uRNLvOYUtUnHMzRn6teQflK9CNROt4EsuZ6BWS4LJIc4rxXwMnl/sdIXA3y3fWJXts5ju506/B0E+om1OZmF2HECVdyV5AAAAFQCFfk4wYSRwajtOsdVnnwbsBfmySQAAAIBfIIKqK2Uyscs9s5+dVM11FlhSD0jKt3PlaedePz8xXP4YpgvaqlL+vWkqAJe/wNrbRGHE8IoFRb6g4oSoSjqTo671fM6jPge5ceia5MqaTwSUi2/jULK8j2nPuj01lpMgZRSo5+1f3KekhMUKQNoA/BRrqdn5KLC2RaLTy3h0WQAAAIEAo0kyGMbkEBcPQibgfOJTuJFZ8l2590C0uSAu+EUOD0FafiurpgVyjUVCkviO0o9CMLqyuz1fLy6WhSl93GquVzNLGFZgJdqtFQjXPcdrLG+CA8D8WwLNqlHeq2FoBU6Ziqc/PS9UnwwLevNvz6RQLDO1e3A7KGF79TQH/PzNom4=",
95
- "sshfp_dsa": "SSHFP 2 1 6b3b4f61ce5589131af398bd375d3c3648b0acca\nSSHFP 2 2 756f3d89fd3eba29d9d2e6945985f643fd150195f9ecc485e4bb4f21ea2643f7",
96
- "sshrsakey": "AAAAB3NzaC1yc2EAAAABIwAAAQEA5Ci2vpmnOFndAZpEJTIdE3KtK7QVU7Gxi2Gi3r/ilo0q52mFxn+A6CNdZqDapWTlbWhnAE78edjy5sLuQ8tF6zvPjadkXBG3UZH1ZmN50MjISS3WbOfgv2X0SiF7u8xykTrGsYOdPlEM2gk1XbwfnsDby084Zn1d9X6WE5l436MtLxpq/dbL2CMHpJfLlcQL5gGFrqoNxQI7F8oTFn3SyoBggsQxn5bfCas/vQzx4wSHB5TbEdZIRwZFrGKqcMfHuh3Vh9QUtuDO+ceEcBZ7ION4Eu4Yylpy3X9bOo44ufkJX4Xa/BqX7uv8ywvcy4yXJDHY7RUVnjsV3R1KS+bRuw==",
97
- "sshfp_rsa": "SSHFP 1 1 da5db57b9a35167ded726929889a678802e29c14\nSSHFP 1 2 e66cf0d1c6c52f9bf2841cc33ae439b886d61985604d2de0ad25bc1288c99bf5",
98
- "network_eth0": "10.0.2.0",
99
- "network_lo": "127.0.0.0",
100
- "kernelmajversion": "2.6",
101
- "augeasversion": "1.4.0",
102
- "interfaces": "eth0,lo",
103
- "ipaddress_eth0": "10.0.2.15",
104
- "macaddress_eth0": "08:00:27:D5:6F:26",
105
- "netmask_eth0": "255.255.255.0",
106
- "mtu_eth0": "1500",
107
- "ipaddress_lo": "127.0.0.1",
108
- "netmask_lo": "255.0.0.0",
109
- "mtu_lo": "16436",
110
- "uptime_hours": 0,
111
- "netmask": "255.255.255.0",
112
- "puppetversion": "4.6.0",
113
- "selinux": "false",
114
- "gid": "root",
115
- "physicalprocessorcount": "1",
116
- "uptime_days": 0,
117
- "auditd_version": "2.2",
118
- "radius_version": "unknown",
119
- "haveged_startup_provider": "init",
120
- "openldap_arch": "i386",
121
- "puppet_ruby_dir": "/home/vagrant/vendor/bundler/ruby/2.1.0/gems/puppet-3.8.7/lib/puppet",
38
+ "blockdevice_sda_size": 10737418240,
39
+ "architecture": "x86_64",
122
40
  "reboot_required": false,
123
- "cmdline": {
124
- "ro": null,
125
- "root": "/dev/mapper/vg_redhat65vagrant-lv_root",
126
- "rd_LVM_LV": "vg_redhat65vagrant/lv_swap",
127
- "rd_NO_LUKS": null,
128
- "LANG": "en_US.UTF-8",
129
- "rd_NO_MD": null,
130
- "SYSFONT": "latarcyrheb-sun16",
131
- "crashkernel": "129M@0M",
132
- "KEYBOARDTYPE": "pc",
133
- "KEYTABLE": "us",
134
- "rd_NO_DM": null,
135
- "rhgb": null,
136
- "quiet": null
137
- },
138
- "boot_dir_uuid": "0119c428-fbfa-4525-801b-112f6f58ae1c",
139
- "defaultgatewayiface": "eth0",
140
- "acpid_enabled": true,
141
- "shmall": "4294967296",
142
- "ipv6_enabled": true,
41
+ "sshfp_rsa": "SSHFP 1 1 362f4802923a256ee554097bbd45db212eac8322\nSSHFP 1 2 873fbde2cbf9c3cf8ccaff9d73d89b8390b4a67b720118915582dfb96e0e2a4a",
42
+ "processorcount": "1",
43
+ "memoryfree_mb": "1446.08",
44
+ "selinux_policyversion": "24",
45
+ "path": "/home/gce_vagrant/vendor/bundler/ruby/1.8/bin:/opt/puppetlabs/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin",
46
+ "uptime_seconds": 405,
47
+ "swapfree": "0.00 MB",
48
+ "interfaces": "eth0,lo",
49
+ "grub_version": "0.97",
50
+ "kernelversion": "2.6.32",
51
+ "fips_enabled": false,
52
+ "memorysize": "1.66 GB",
53
+ "domain": "c.beaker-testing.internal",
54
+ "timezone": "UTC",
55
+ "uptime": "0:06 hours",
56
+ "selinux_enforced": "true",
57
+ "swapsize_mb": "0.00",
58
+ "operatingsystemmajrelease": "6",
59
+ "uid_min": "500",
60
+ "swapsize": "0.00 MB",
61
+ "ipv6_enabled": false,
62
+ "mysql_server_id": 3203075,
63
+ "is_pe": false,
64
+ "fips_ciphers": [
65
+ "ECDHE-RSA-AES256-GCM-SHA384",
66
+ "ECDHE-ECDSA-AES256-GCM-SHA384",
67
+ "ECDHE-RSA-AES256-SHA384",
68
+ "ECDHE-ECDSA-AES256-SHA384",
69
+ "ECDHE-RSA-AES256-SHA",
70
+ "ECDHE-ECDSA-AES256-SHA",
71
+ "DHE-DSS-AES256-GCM-SHA384",
72
+ "DHE-RSA-AES256-GCM-SHA384",
73
+ "DHE-RSA-AES256-SHA256",
74
+ "DHE-DSS-AES256-SHA256",
75
+ "DHE-RSA-AES256-SHA",
76
+ "DHE-DSS-AES256-SHA",
77
+ "AECDH-AES256-SHA",
78
+ "ADH-AES256-GCM-SHA384",
79
+ "ADH-AES256-SHA256",
80
+ "ADH-AES256-SHA",
81
+ "ECDH-RSA-AES256-GCM-SHA384",
82
+ "ECDH-ECDSA-AES256-GCM-SHA384",
83
+ "ECDH-RSA-AES256-SHA384",
84
+ "ECDH-ECDSA-AES256-SHA384",
85
+ "ECDH-RSA-AES256-SHA",
86
+ "ECDH-ECDSA-AES256-SHA",
87
+ "AES256-GCM-SHA384",
88
+ "AES256-SHA256",
89
+ "AES256-SHA",
90
+ "ECDHE-RSA-AES128-GCM-SHA256",
91
+ "ECDHE-ECDSA-AES128-GCM-SHA256",
92
+ "ECDHE-RSA-AES128-SHA256",
93
+ "ECDHE-ECDSA-AES128-SHA256",
94
+ "ECDHE-RSA-AES128-SHA",
95
+ "ECDHE-ECDSA-AES128-SHA",
96
+ "DHE-DSS-AES128-GCM-SHA256",
97
+ "DHE-RSA-AES128-GCM-SHA256",
98
+ "DHE-RSA-AES128-SHA256",
99
+ "DHE-DSS-AES128-SHA256",
100
+ "DHE-RSA-AES128-SHA",
101
+ "DHE-DSS-AES128-SHA",
102
+ "AECDH-AES128-SHA",
103
+ "ADH-AES128-GCM-SHA256",
104
+ "ADH-AES128-SHA256",
105
+ "ADH-AES128-SHA",
106
+ "ECDH-RSA-AES128-GCM-SHA256",
107
+ "ECDH-ECDSA-AES128-GCM-SHA256",
108
+ "ECDH-RSA-AES128-SHA256",
109
+ "ECDH-ECDSA-AES128-SHA256",
110
+ "ECDH-RSA-AES128-SHA",
111
+ "ECDH-ECDSA-AES128-SHA",
112
+ "AES128-GCM-SHA256",
113
+ "AES128-SHA256",
114
+ "AES128-SHA",
115
+ "ECDHE-RSA-DES-CBC3-SHA",
116
+ "ECDHE-ECDSA-DES-CBC3-SHA",
117
+ "EDH-RSA-DES-CBC3-SHA",
118
+ "EDH-DSS-DES-CBC3-SHA",
119
+ "AECDH-DES-CBC3-SHA",
120
+ "ADH-DES-CBC3-SHA",
121
+ "ECDH-RSA-DES-CBC3-SHA",
122
+ "ECDH-ECDSA-DES-CBC3-SHA",
123
+ "DES-CBC3-SHA",
124
+ "KRB5-DES-CBC3-SHA"
125
+ ],
126
+ "productname": "Google Compute Engine",
127
+ "blockdevice_sda_vendor": "Google",
128
+ "boot_dir_uuid": "5c57426f-7fef-483e-b428-21052514ad6c",
129
+ "netmask_eth0": "255.255.255.255",
130
+ "osfamily": "RedHat",
131
+ "filesystems": "ext4,iso9660",
132
+ "bios_vendor": "Google",
133
+ "selinux_config_policy": "targeted",
143
134
  "init_systems": [
144
135
  "rc",
145
136
  "upstart",
146
137
  "sysv"
147
138
  ],
148
- "runlevel": "3",
149
- "uid_min": "500",
150
- "fips_enabled": false,
151
- "grub_version": "0.97",
152
- "has_clustering": false,
153
- "tmp_mount_dev_shm": "rw,relatime",
154
- "tmp_mount_path_dev_shm": "tmpfs",
155
- "tmp_mount_fstype_dev_shm": "tmpfs",
156
- "defaultgateway": "10.0.2.2",
157
- "fullrun": "false",
139
+ "rubysitedir": "/usr/lib/ruby/site_ruby/1.8",
140
+ "puppet_ruby_dir": "/home/gce_vagrant/vendor/bundler/ruby/1.8/gems/puppet-3.8.7/lib/puppet",
141
+ "serialnumber": "GoogleCloud-72DECFF7553E32A182681E545CE5911C",
142
+ "type": "Other",
158
143
  "cpuinfo": {
159
144
  "processor0": {
160
- "vendor_id": "GenuineIntel",
161
- "cpu_family": "6",
162
- "model": "61",
163
- "model_name": "Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz",
164
- "stepping": "4",
165
- "cpu_MHz": "3178.028",
166
- "cache_size": "4096 KB",
167
- "fpu": "yes",
168
145
  "fpu_exception": "yes",
169
- "cpuid_level": "20",
170
- "wp": "yes",
146
+ "initial_apicid": "0",
147
+ "bogomips": "4600.00",
171
148
  "flags": [
172
149
  "fpu",
173
150
  "vme",
@@ -191,8 +168,11 @@
191
168
  "fxsr",
192
169
  "sse",
193
170
  "sse2",
171
+ "ss",
172
+ "ht",
194
173
  "syscall",
195
174
  "nx",
175
+ "pdpe1gb",
196
176
  "rdtscp",
197
177
  "lm",
198
178
  "constant_tsc",
@@ -203,32 +183,494 @@
203
183
  "unfair_spinlock",
204
184
  "pni",
205
185
  "pclmulqdq",
206
- "monitor",
207
186
  "ssse3",
187
+ "fma",
208
188
  "cx16",
209
189
  "sse4_1",
210
190
  "sse4_2",
191
+ "x2apic",
211
192
  "movbe",
212
193
  "popcnt",
213
194
  "aes",
214
195
  "xsave",
215
196
  "avx",
197
+ "f16c",
216
198
  "rdrand",
217
199
  "hypervisor",
218
200
  "lahf_lm",
219
201
  "abm",
220
- "3dnowprefetch"
202
+ "xsaveopt",
203
+ "fsgsbase",
204
+ "bmi1",
205
+ "avx2",
206
+ "smep",
207
+ "bmi2",
208
+ "erms"
221
209
  ],
222
- "bogomips": "6356.05",
223
- "clflush_size": "64",
210
+ "apicid": "0",
211
+ "siblings": "1",
212
+ "cache_size": "46080 KB",
213
+ "model": "63",
224
214
  "cache_alignment": "64",
225
- "address_sizes": "39 bits physical, 48 bits virtual",
226
- "power_management": "power management"
215
+ "stepping": "0",
216
+ "model_name": "Intel(R) Xeon(R) CPU @ 2.30GHz",
217
+ "cpu_cores": "1",
218
+ "physical_id": "0",
219
+ "cpu_MHz": "2300.000",
220
+ "core_id": "0",
221
+ "power_management": "power management",
222
+ "clflush_size": "64",
223
+ "wp": "yes",
224
+ "fpu": "yes",
225
+ "address_sizes": "46 bits physical, 48 bits virtual",
226
+ "cpuid_level": "13",
227
+ "vendor_id": "GenuineIntel",
228
+ "microcode": "1",
229
+ "cpu_family": "6"
230
+ }
231
+ },
232
+ "hardwaremodel": "x86_64",
233
+ "ipaddress_lo": "127.0.0.1",
234
+ "auditd_version": "2.4.5",
235
+ "boardserialnumber": "Not Specified",
236
+ "openldap_arch": "i386",
237
+ "fqdn": "i-2017073017-f0058001.c.beaker-testing.internal",
238
+ "puppetversion": "3.8.7",
239
+ "virtual": "gce",
240
+ "boardproductname": "Google Compute Engine",
241
+ "system_uptime": {
242
+ "uptime": "0:06 hours",
243
+ "days": 0,
244
+ "hours": 0,
245
+ "seconds": 405
246
+ },
247
+ "processors": {
248
+ "count": 1,
249
+ "models": [
250
+ "Intel(R) Xeon(R) CPU @ 2.30GHz"
251
+ ],
252
+ "physicalcount": 1
253
+ },
254
+ "bios_version": "Google",
255
+ "gce": {
256
+ "instance": {
257
+ "image": null,
258
+ "id": 8830497112687112023,
259
+ "hostname": "i-2017073017-f0058001.c.beaker-testing.internal",
260
+ "networkInterfaces": [
261
+ {
262
+ "mac": "42:01:0a:8e:00:03",
263
+ "ip": "10.142.0.3",
264
+ "forwardedIps": [
265
+
266
+ ],
267
+ "ipAliases": [
268
+
269
+ ],
270
+ "accessConfigs": [
271
+ {
272
+ "type": "ONE_TO_ONE_NAT",
273
+ "externalIp": "35.196.96.150"
274
+ }
275
+ ],
276
+ "network": "default"
277
+ }
278
+ ],
279
+ "maintenanceEvent": "NONE",
280
+ "licenses": [
281
+ {
282
+ "id": "1000002"
283
+ }
284
+ ],
285
+ "description": "",
286
+ "zone": "us-east1-b",
287
+ "serviceAccounts": {
288
+ "default": {
289
+ "email": "595254898640-compute@developer.gserviceaccount.com",
290
+ "aliases": [
291
+ "default"
292
+ ],
293
+ "scopes": [
294
+ "https://www.googleapis.com/auth/monitoring",
295
+ "https://www.googleapis.com/auth/compute"
296
+ ]
297
+ },
298
+ "595254898640-compute@developer.gserviceaccount.com": {
299
+ "email": "595254898640-compute@developer.gserviceaccount.com",
300
+ "aliases": [
301
+ "default"
302
+ ],
303
+ "scopes": [
304
+ "https://www.googleapis.com/auth/monitoring",
305
+ "https://www.googleapis.com/auth/compute"
306
+ ]
307
+ }
308
+ },
309
+ "machineType": "g1-small",
310
+ "attributes": {
311
+ "testing": "foobarbaz",
312
+ "custom": "metadata"
313
+ },
314
+ "tags": [
315
+ "simp-rspec-puppet-facts",
316
+ "temporary",
317
+ "vagrant"
318
+ ],
319
+ "scheduling": {
320
+ "preemptible": "FALSE",
321
+ "onHostMaintenance": "MIGRATE",
322
+ "automaticRestart": "TRUE"
323
+ },
324
+ "name": "i-2017073017-f0058001",
325
+ "disks": [
326
+ {
327
+ "index": 0,
328
+ "type": "PERSISTENT",
329
+ "mode": "READ_WRITE",
330
+ "deviceName": "persistent-disk-0"
331
+ }
332
+ ]
333
+ },
334
+ "project": {
335
+ "projectId": "beaker-testing",
336
+ "numericProjectId": 595254898640,
337
+ "attributes": {
338
+ "google-compute-default-region": "us-east1",
339
+ "sshKeys": [
340
+ "gce_vagrant:ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCZYWTuR/11oPusUD+aWUy36KTkWQIh1OvScrHSd53hg30DSDRuh2+fkf1p42/O4rIu/AtWEF1f+7U6yoRoZWfUU7YF0TIEdj6UL3DNedsH+kDuLyoLKxngBv8hn1NLrDpC+FbfzZxCFZVzkxiwJWbGHXRDPRfc3q28ZjFr4ckq25t9K9J7xF2SvMkAGCPR4SwyIhcx/02uWBF3DVpoOmVwbQUma1goDjWd9PMEslDW9vawoVDKp9YF3lE/+y3Vyk8KiLuMHg8JEpa9ydGOanPjXVAR+7dmp3DmZ0nqr6MiasTsQC1bzoUIqZgxurySyrCnLQziT//OJ2fdVsSP+7sH gce_vagrant"
341
+ ]
342
+ }
227
343
  }
228
344
  },
345
+ "mtu_eth0": "1460",
346
+ "shmall": "4294967296",
347
+ "uptime_hours": 0,
348
+ "os": {
349
+ "release": {
350
+ "full": "6.9",
351
+ "major": "6",
352
+ "minor": "9"
353
+ },
354
+ "family": "RedHat",
355
+ "name": "RedHat"
356
+ },
357
+ "tmp_mount_path_dev_shm": "tmpfs",
358
+ "defaultgateway": "10.142.0.1",
359
+ "mtu_lo": "65536",
360
+ "kernel": "Linux",
361
+ "ipaddress_eth0": "10.142.0.3",
362
+ "selinux_current_mode": "enforcing",
363
+ "gid": "root",
364
+ "augeasprovider_grub_version": 1,
365
+ "java_default_home": ".",
366
+ "memorysize_mb": "1700.19",
367
+ "manufacturer": "Google",
368
+ "runlevel": "3",
369
+ "kernelrelease": "2.6.32-696.6.3.el6.x86_64",
370
+ "sshdsakey": "AAAAB3NzaC1kc3MAAACBALLk3FD4aop4IrMLTs8ZRAubngksTfMF2MFC88EH36CEVRQqOAhDQlDMpSUKCWwTlB1CsV6SfMOlQGvxChRBRnWQolb5JGELwqOJtrm7n4H50tN/o3ynljz7UNmlUkOl30pQtBX4CGjs2HMZd1vtgl/mWXG0Cg2LaL4NHNJpXFJHAAAAFQDLj9qmCsKpJLO7+qauxhzkz8S2iQAAAIBpHWZpUsiVYlNAAYrNbL4SW13FiMlpm8WpLLZOlQVp+5XR6ANPbdx3ZQFqzp44wwhFDgrv35Tg3O/L/c2+BE8iHMZar5af+KT6pupdLVgJ+S42g7UNxkZJkodVEPUxqjMxuy21Z2ghYDjUNNzNjrXRe7YTLa8EsZ/neAO2hOJaIwAAAIEAk92nuWpLItp0i53xzoBijvAYfjpxcsWIMnZ0FUe/35FbjgQ7PoPH9jg6Xw+B/JJJ31IWAhFv9bfCMEnDxomkZxrsvDpPqjB3XB2Ojz9QELg5dfLTss77oL+xf4p8uRKNE/2r8uaD2Pjmbkwqaau8tC3h02zEYRz3cHVTBmGKBWk=",
371
+ "netmask": "255.255.255.255",
229
372
  "openssh_version": "5.3",
230
- "root_home": "/root",
373
+ "uptime_days": 0,
374
+ "cmdline": {
375
+ "LANG": "en_US.UTF-8",
376
+ "rd_NO_LUKS": null,
377
+ "KEYBOARDTYPE": "pc",
378
+ "rd_NO_LVM": null,
379
+ "KEYTABLE": "us",
380
+ "console": "ttyS0,38400n8",
381
+ "rd_NO_MD": null,
382
+ "ro": null,
383
+ "SYSFONT": "latarcyrheb-sun16",
384
+ "root": "UUID",
385
+ "rd_NO_DM": null
386
+ },
387
+ "tmp_mount_dev_shm": "rw,seclabel,relatime",
388
+ "service_provider": "redhat",
389
+ "macaddress": "42:01:0A:8E:00:03",
390
+ "is_virtual": "true",
231
391
  "puppet_vardir": "/var/lib/puppet",
232
- "is_pe": false,
233
- "has_tpm": false
392
+ "network_lo": "127.0.0.0",
393
+ "rubyversion": "1.8.7",
394
+ "gem_version": "~> 2.2.0",
395
+ "radius_version": "unknown",
396
+ "acpid_enabled": true,
397
+ "processor0": "Intel(R) Xeon(R) CPU @ 2.30GHz",
398
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAABIwAAAQEAv9mk8g9+Z3vEH8qqkMGd66wl54DNolLVmZXb8bT6oqhciF1Odm9ppmMk3Z3cQfsAH7l7AfJqAqIZxjH2qF+u5dsl70qL2KM1vxLqYqGO4YoJS8Ukq4HjbFlr/O7OOTSz+ZPmX3ksflCZyGNysJh/egyU2u143toqWznsVOSQ5Yda90h0yeLWlZ2BKIihvy7+8MwtEncC698IScSpr1roO1DpH0R8Ip/xRmFp7Fwck7HDe4x2HSWUwCwNEa5SpxrNwWya6YA7vrfJajNQiE74Oj3KbqS9TOnfdKnlUAAn/E3vRHa4xDSc2kCpxG18+d4/cLgt5tqOoGYhIIs0o1m2Ww==",
399
+ "puppet_settings": {
400
+ "device": {
401
+ "deviceconfig": "/etc/puppet/device.conf",
402
+ "devicedir": "/var/lib/puppet/devices"
403
+ },
404
+ "inspect": {
405
+ "archive_file_server": "puppet",
406
+ "archive_files": "false"
407
+ },
408
+ "ca": {
409
+ "cakey": "/etc/puppet/ssl/ca/ca_key.pem",
410
+ "signeddir": "/etc/puppet/ssl/ca/signed",
411
+ "cacert": "/etc/puppet/ssl/ca/ca_crt.pem",
412
+ "csrdir": "/etc/puppet/ssl/ca/requests",
413
+ "cacrl": "/etc/puppet/ssl/ca/ca_crl.pem",
414
+ "serial": "/etc/puppet/ssl/ca/serial",
415
+ "cert_inventory": "/etc/puppet/ssl/ca/inventory.txt",
416
+ "allow_duplicate_certs": "false",
417
+ "keylength": "4096",
418
+ "capub": "/etc/puppet/ssl/ca/ca_pub.pem",
419
+ "ca_name": "Puppet CA: i-2017073017-f0058001.c.beaker-testing.internal",
420
+ "req_bits": "4096",
421
+ "cadir": "/etc/puppet/ssl/ca",
422
+ "ca_ttl": "157680000",
423
+ "capass": "/etc/puppet/ssl/ca/private/ca.pass",
424
+ "autosign": "/etc/puppet/autosign.conf",
425
+ "caprivatedir": "/etc/puppet/ssl/ca/private"
426
+ },
427
+ "agent": {
428
+ "listen": "false",
429
+ "ca_port": "8140",
430
+ "lastrunfile": "/var/lib/puppet/state/last_run_summary.yaml",
431
+ "report": "true",
432
+ "srv_domain": "c.beaker-testing.internal",
433
+ "ca_server": "puppet",
434
+ "lastrunreport": "/var/lib/puppet/state/last_run_report.yaml",
435
+ "report_serialization_format": "pson",
436
+ "use_cached_catalog": "false",
437
+ "statefile": "/var/lib/puppet/state/state.yaml",
438
+ "report_server": "puppet",
439
+ "ignorecache": "false",
440
+ "configtimeout": "120",
441
+ "client_datadir": "/var/lib/puppet/client_data",
442
+ "ignoremissingtypes": "false",
443
+ "server": "puppet",
444
+ "puppetport": "8139",
445
+ "http_compression": "false",
446
+ "default_schedules": "true",
447
+ "legacy_query_parameter_serialization": "false",
448
+ "graphdir": "/var/lib/puppet/state/graphs",
449
+ "resourcefile": "/var/lib/puppet/state/resources.txt",
450
+ "node_name_fact": "",
451
+ "clientbucketdir": "/var/lib/puppet/clientbucket",
452
+ "puppetdlog": "/var/lib/puppet/log/puppetd.log",
453
+ "splaylimit": "1800",
454
+ "use_srv_records": "false",
455
+ "preferred_serialization_format": "pson",
456
+ "agent_disabled_lockfile": "/var/lib/puppet/state/agent_disabled.lock",
457
+ "classfile": "/var/lib/puppet/state/classes.txt",
458
+ "noop": "false",
459
+ "clientyamldir": "/var/lib/puppet/client_yaml",
460
+ "usecacheonfailure": "true",
461
+ "report_port": "8140",
462
+ "inventory_server": "puppet",
463
+ "waitforcert": "120",
464
+ "catalog_format": "",
465
+ "localconfig": "/var/lib/puppet/state/localconfig",
466
+ "runinterval": "1800",
467
+ "ignoreschedules": "false",
468
+ "splay": "false",
469
+ "dynamicfacts": "memorysize,memoryfree,swapsize,swapfree",
470
+ "agent_catalog_run_lockfile": "/var/lib/puppet/state/agent_catalog_run.lock",
471
+ "inventory_port": "8140",
472
+ "node_name_value": "i-2017073017-f0058001.c.beaker-testing.internal",
473
+ "ordering": "title-hash",
474
+ "graph": "false"
475
+ },
476
+ "tagmail": {
477
+ "reportfrom": "report@i-2017073017-f0058001.c.beaker-testing.internal",
478
+ "smtpserver": "none",
479
+ "tagmap": "/etc/puppet/tagmail.conf",
480
+ "smtpport": "25",
481
+ "smtphelo": "i-2017073017-f0058001.c.beaker-testing.internal",
482
+ "sendmail": "/usr/sbin/sendmail"
483
+ },
484
+ "puppetdoc": {
485
+ "document_all": "false"
486
+ },
487
+ "application": {
488
+ "pidfile": "/var/lib/puppet/run/user.pid",
489
+ "config": "/etc/puppet/puppet.conf",
490
+ "config_file_name": "puppet.conf",
491
+ "bindaddress": "0.0.0.0"
492
+ },
493
+ "ldap": {
494
+ "ldappassword": "",
495
+ "ldapparentattr": "parentnode",
496
+ "ldapattrs": "all",
497
+ "ldapstackedattrs": "puppetvar",
498
+ "ldapssl": "false",
499
+ "ldapclassattrs": "puppetclass",
500
+ "ldapstring": "(&(objectclass=puppetClient)(cn=%s))",
501
+ "ldapserver": "ldap",
502
+ "ldapbase": "",
503
+ "ldaptls": "false",
504
+ "ldapuser": "",
505
+ "ldapport": "389"
506
+ },
507
+ "couchdb": {
508
+ "couchdb_url": "http://127.0.0.1:5984/puppet"
509
+ },
510
+ "metrics": {
511
+ "rrdinterval": "1800",
512
+ "rrddir": "/var/lib/puppet/rrd"
513
+ },
514
+ "parser": {
515
+ "max_warnings": "10",
516
+ "allow_variables_with_dashes": "false",
517
+ "parser": "current",
518
+ "strict_variables": "false",
519
+ "max_errors": "10",
520
+ "max_deprecations": "10"
521
+ },
522
+ "rails": {
523
+ "railslog": "/var/lib/puppet/log/rails.log",
524
+ "dbserver": "localhost",
525
+ "dbsocket": "",
526
+ "dbname": "puppet",
527
+ "dbconnections": "",
528
+ "rails_loglevel": "info",
529
+ "dbmigrate": "false",
530
+ "dbadapter": "sqlite3",
531
+ "dbpassword": "puppet",
532
+ "dbuser": "puppet",
533
+ "dblocation": "/var/lib/puppet/state/clientconfigs.sqlite3",
534
+ "dbport": ""
535
+ },
536
+ "transaction": {
537
+ "summarize": "false",
538
+ "evaltrace": "false",
539
+ "tags": ""
540
+ },
541
+ "main": {
542
+ "certificate_revocation": "true",
543
+ "confdir": "/etc/puppet",
544
+ "ssldir": "/etc/puppet/ssl",
545
+ "http_proxy_host": "none",
546
+ "pluginfactsource": "puppet://puppet/pluginfacts",
547
+ "csr_attributes": "/etc/puppet/csr_attributes.yaml",
548
+ "default_file_terminus": "rest",
549
+ "http_keepalive_timeout": "4",
550
+ "cfacter": "false",
551
+ "requestdir": "/etc/puppet/ssl/certificate_requests",
552
+ "node_cache_terminus": "",
553
+ "freeze_main": "false",
554
+ "privatedir": "/etc/puppet/ssl/private",
555
+ "async_storeconfigs": "false",
556
+ "configprint": "",
557
+ "disable_warnings": "",
558
+ "privatekeydir": "/etc/puppet/ssl/private_keys",
559
+ "environment": "production",
560
+ "plugindest": "/var/lib/puppet/lib",
561
+ "libdir": "/var/lib/puppet/lib",
562
+ "thin_storeconfigs": "false",
563
+ "route_file": "/etc/puppet/routes.yaml",
564
+ "certdnsnames": "",
565
+ "postrun_command": "",
566
+ "catalog_cache_terminus": "",
567
+ "profile": "false",
568
+ "preview_outputdir": "/var/lib/puppet/preview",
569
+ "facts_terminus": "facter",
570
+ "certdir": "/etc/puppet/ssl/certs",
571
+ "onetime": "false",
572
+ "localcacert": "/etc/puppet/ssl/certs/ca.pem",
573
+ "node_terminus": "plain",
574
+ "rundir": "/var/lib/puppet/run",
575
+ "inventory_terminus": "facter",
576
+ "dns_alt_names": "",
577
+ "autoflush": "true",
578
+ "daemonize": "true",
579
+ "factpath": "/var/lib/puppet/lib/facter:/var/lib/puppet/facts",
580
+ "digest_algorithm": "md5",
581
+ "trusted_node_data": "false",
582
+ "manage_internal_file_permissions": "true",
583
+ "pluginsync": "true",
584
+ "log_level": "notice",
585
+ "diff_args": "-u",
586
+ "http_proxy_password": "none",
587
+ "binder_config": "",
588
+ "http_proxy_port": "3128",
589
+ "pluginsource": "puppet://puppet/plugins",
590
+ "certname": "i-2017073017-f0058001.c.beaker-testing.internal",
591
+ "external_nodes": "none",
592
+ "http_debug": "false",
593
+ "data_binding_terminus": "hiera",
594
+ "statedir": "/var/lib/puppet/state",
595
+ "name": "#<Puppet::Util::UnixRunMode:0x7f15e23b3338>",
596
+ "genmanifest": "false",
597
+ "logdir": "/var/lib/puppet/log",
598
+ "queue_type": "stomp",
599
+ "immutable_node_data": "false",
600
+ "environmentpath": "",
601
+ "path": "none",
602
+ "ssl_client_ca_auth": "",
603
+ "always_cache_features": "false",
604
+ "pluginsignore": ".svn CVS .git",
605
+ "ssl_server_ca_auth": "",
606
+ "http_proxy_user": "none",
607
+ "filetimeout": "15",
608
+ "stringify_facts": "true",
609
+ "pluginfactdest": "/var/lib/puppet/facts.d",
610
+ "hostprivkey": "/etc/puppet/ssl/private_keys/i-2017073017-f0058001.c.beaker-testing.internal.pem",
611
+ "zlib": "true",
612
+ "vardir": "/var/lib/puppet",
613
+ "ignoreimport": "false",
614
+ "httplog": "/var/lib/puppet/log/http.log",
615
+ "color": "ansi",
616
+ "mkusers": "false",
617
+ "hostpubkey": "/etc/puppet/ssl/public_keys/i-2017073017-f0058001.c.beaker-testing.internal.pem",
618
+ "queue_source": "stomp://localhost:61613/",
619
+ "environment_timeout": "0",
620
+ "diff": "diff",
621
+ "trace": "false",
622
+ "certificate_expire_warning": "5184000",
623
+ "passfile": "/etc/puppet/ssl/private/password",
624
+ "hiera_config": "/etc/puppet/hiera.yaml",
625
+ "syslogfacility": "daemon",
626
+ "priority": "",
627
+ "publickeydir": "/etc/puppet/ssl/public_keys",
628
+ "prerun_command": "",
629
+ "hostcrl": "/etc/puppet/ssl/crl.pem",
630
+ "hostcsr": "/etc/puppet/ssl/csr_i-2017073017-f0058001.c.beaker-testing.internal.pem",
631
+ "genconfig": "false",
632
+ "show_diff": "false",
633
+ "binder": "false",
634
+ "maximum_uid": "4294967290",
635
+ "catalog_terminus": "compiler",
636
+ "hostcert": "/etc/puppet/ssl/certs/i-2017073017-f0058001.c.beaker-testing.internal.pem"
637
+ },
638
+ "module_tool": {
639
+ "forge_authorization": "",
640
+ "module_groups": "",
641
+ "module_working_dir": "/var/lib/puppet/puppet-module",
642
+ "module_repository": "https://forgeapi.puppetlabs.com",
643
+ "module_skeleton_dir": "/var/lib/puppet/puppet-module/skeleton"
644
+ },
645
+ "master": {
646
+ "strict_hostname_checking": "false",
647
+ "storeconfigs": "false",
648
+ "yamldir": "/var/lib/puppet/yaml",
649
+ "ca": "true",
650
+ "masterhttplog": "/var/lib/puppet/log/masterhttp.log",
651
+ "reportdir": "/var/lib/puppet/reports",
652
+ "reporturl": "http://localhost:3000/reports/upload",
653
+ "server_datadir": "/var/lib/puppet/server_data",
654
+ "disable_per_environment_manifest": "false",
655
+ "storeconfigs_backend": "active_record",
656
+ "default_manifest": "./manifests",
657
+ "ssl_client_verify_header": "HTTP_X_CLIENT_VERIFY",
658
+ "user": "puppet",
659
+ "bucketdir": "/var/lib/puppet/bucket",
660
+ "group": "puppet",
661
+ "basemodulepath": "/etc/puppet/modules:/usr/share/puppet/modules",
662
+ "code": "",
663
+ "masterport": "8140",
664
+ "node_name": "cert",
665
+ "rest_authconfig": "/etc/puppet/auth.conf",
666
+ "reports": "store",
667
+ "ssl_client_header": "HTTP_X_CLIENT_DN",
668
+ "fileserverconfig": "/etc/puppet/fileserver.conf"
669
+ }
670
+ },
671
+ "kernelmajversion": "2.6",
672
+ "haveged_startup_provider": "init",
673
+ "package_provider": "yum",
674
+ "blockdevices": "sda",
675
+ "lib": "/vagrant/modules/apache/lib/facter:/vagrant/modules/auditd/lib/facter:/vagrant/modules/augeasproviders_grub/lib/facter:/vagrant/modules/freeradius/lib/facter:/vagrant/modules/haveged/lib/facter:/vagrant/modules/java/lib/facter:/vagrant/modules/mcollective/lib/facter:/vagrant/modules/mysql/lib/facter:/vagrant/modules/pupmod/lib/facter:/vagrant/modules/simp_apache/lib/facter:/vagrant/modules/simp/lib/facter:/vagrant/modules/simplib/lib/facter:/vagrant/modules/simp_openldap/lib/facter:/vagrant/modules/ssh/lib/facter:/vagrant/modules/stdlib/lib/facter:/vagrant/modules/tpm/lib/facter:"
234
676
  }