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,178 +1,521 @@
1
1
  {
2
- "gem_version": "~> 2.3.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
- "rubyplatform": "x86_64-linux",
5
- "kernelversion": "2.6.32",
6
- "kernel": "Linux",
7
- "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",
8
- "facterversion": "2.3.0",
9
- "uniqueid": "007f0100",
10
- "fqdn": "foo.example.com",
11
- "macaddress": "08:00:27:98:CA:98",
2
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAABIwAAAQEArlI0Nolz/hx14d8MxnKZlpvhoXsn9M1WsVobnp4TcnDwdt0/xJHn/HRl29PunI8Y/j5NiBdbc52szT3a3PJAAqPajsuLzRC9toGEd+hOdyHIUhF1E7aa946qbUTA1OKx4H8KGxjTE3qvbwKPRXPMhVS6cMRmT1xRvf9LPanUMuF892326di5r4CGdhPL22Xo2vfs52XHJwn0U2ea/fBPaIdV4Hu2RAB62BpbQtB5q1U299/+BGPhtrucY8nwgifITZr6kEdApaCJ+MZDE3I0/Lq9jSgJJZ7ZzBVRq5WbH5aUbDXVHEMpNOIjgXfH28puWt/OZ7urhpPSD3kmC6OHuw==",
3
+ "ipaddress_lo": "127.0.0.1",
4
+ "defaultgateway": "10.0.2.2",
5
+ "processorcount": 1,
6
+ "bios_release_date": "12/01/2006",
7
+ "selinux_config_policy": "targeted",
8
+ "cmdline": {
9
+ "quiet": null,
10
+ "rhgb": null,
11
+ "LANG": "en_US.UTF-8",
12
+ "KEYTABLE": "us",
13
+ "net.ifnames": "0",
14
+ "root": "/dev/mapper/VolGroup00-LogVol00",
15
+ "rd_NO_DM": null,
16
+ "biosdevname": "0",
17
+ "console": "ttyS0,115200",
18
+ "rd_NO_LUKS": null,
19
+ "SYSFONT": "latarcyrheb-sun16",
20
+ "no_timer_check": null,
21
+ "ro": null,
22
+ "rd_LVM_LV": "VolGroup00/LogVol00",
23
+ "KEYBOARDTYPE": "pc",
24
+ "rd_NO_MD": null
25
+ },
26
+ "kernelrelease": "2.6.32-696.el6.x86_64",
27
+ "memoryfree": "322.05 MB",
28
+ "ipaddress_eth0": "10.0.2.15",
29
+ "bios_version": "VirtualBox",
30
+ "kernelmajversion": "2.6",
31
+ "network_lo": "127.0.0.0",
32
+ "swapfree_mb": "1535.78",
33
+ "macaddress_eth0": "52:54:00:8A:28:FF",
34
+ "bios_vendor": "innotek GmbH",
35
+ "swapsize_mb": "1536.00",
12
36
  "physicalprocessorcount": 1,
13
- "kernelrelease": "2.6.32-504.el6.x86_64",
14
- "operatingsystem": "CentOS",
15
- "hostname": "foo",
37
+ "blockdevice_sda_model": "VBOX HARDDISK",
38
+ "auditd_version": "2.4.5",
39
+ "architecture": "x86_64",
40
+ "is_virtual": true,
41
+ "gem_version": "~> 2.3.0",
42
+ "blockdevices": "sda",
43
+ "blockdevice_sda_vendor": "ATA",
44
+ "processor0": "Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz",
45
+ "netmask_eth0": "255.255.255.0",
46
+ "uptime_hours": 0,
47
+ "radius_version": "unknown",
48
+ "boardproductname": "VirtualBox",
49
+ "boot_dir_uuid": "783d9b2d-9ef1-4aff-b196-161e323dff1d",
50
+ "java_default_home": ".",
51
+ "uptime_seconds": 804,
52
+ "rubyversion": "1.8.7",
53
+ "init_systems": [
54
+ "rc",
55
+ "upstart",
56
+ "sysv"
57
+ ],
58
+ "netmask_lo": "255.0.0.0",
16
59
  "ps": "ps -ef",
17
- "uptime_days": 0,
18
- "rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
19
- "hardwareisa": "x86_64",
60
+ "productname": "VirtualBox",
61
+ "gid": "root",
62
+ "facterversion": "2.3.0",
63
+ "interfaces": "eth0,lo",
64
+ "operatingsystemmajrelease": "6",
65
+ "package_provider": "yum",
66
+ "id": "root",
67
+ "path": "/home/vagrant/vendor/bundler/ruby/1.8/bin:/opt/puppetlabs/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin",
68
+ "rubyplatform": "x86_64-linux",
69
+ "selinux_current_mode": "enforcing",
70
+ "augeasprovider_grub_version": 1,
71
+ "tmp_mount_fstype_dev_shm": "tmpfs",
72
+ "hardwaremodel": "x86_64",
73
+ "selinux_enforced": true,
74
+ "serialnumber": "0",
75
+ "selinux": true,
76
+ "timezone": "UTC",
77
+ "puppet_environmentpath": "",
78
+ "swapsize": "1.50 GB",
79
+ "rubysitedir": "/usr/lib/ruby/site_ruby/1.8",
80
+ "memorysize_mb": "490.16",
81
+ "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:",
20
82
  "partitions": {
21
- "sda1": {
22
- "uuid": "04018524-a7ad-485e-a07a-27b820c4c774",
23
- "size": "1024000",
24
- "mount": "/boot",
25
- "filesystem": "ext4"
83
+ "sda3": {
84
+ "size": "2048"
26
85
  },
27
86
  "sda2": {
28
- "size": "40916992",
87
+ "size": "83369984",
29
88
  "filesystem": "LVM2_member"
89
+ },
90
+ "sda1": {
91
+ "size": "512000",
92
+ "mount": "/boot",
93
+ "uuid": "783d9b2d-9ef1-4aff-b196-161e323dff1d",
94
+ "filesystem": "ext4"
30
95
  }
31
96
  },
32
- "uptime_hours": 0,
33
- "timezone": "UTC",
34
- "architecture": "x86_64",
97
+ "puppet_ruby_dir": "/home/vagrant/vendor/bundler/ruby/1.8/gems/puppet-3.8.7/lib/puppet",
98
+ "fullrun": "false",
99
+ "fips_ciphers": [
100
+ "ECDHE-RSA-AES256-GCM-SHA384",
101
+ "ECDHE-ECDSA-AES256-GCM-SHA384",
102
+ "ECDHE-RSA-AES256-SHA384",
103
+ "ECDHE-ECDSA-AES256-SHA384",
104
+ "ECDHE-RSA-AES256-SHA",
105
+ "ECDHE-ECDSA-AES256-SHA",
106
+ "DHE-DSS-AES256-GCM-SHA384",
107
+ "DHE-RSA-AES256-GCM-SHA384",
108
+ "DHE-RSA-AES256-SHA256",
109
+ "DHE-DSS-AES256-SHA256",
110
+ "DHE-RSA-AES256-SHA",
111
+ "DHE-DSS-AES256-SHA",
112
+ "AECDH-AES256-SHA",
113
+ "ADH-AES256-GCM-SHA384",
114
+ "ADH-AES256-SHA256",
115
+ "ADH-AES256-SHA",
116
+ "ECDH-RSA-AES256-GCM-SHA384",
117
+ "ECDH-ECDSA-AES256-GCM-SHA384",
118
+ "ECDH-RSA-AES256-SHA384",
119
+ "ECDH-ECDSA-AES256-SHA384",
120
+ "ECDH-RSA-AES256-SHA",
121
+ "ECDH-ECDSA-AES256-SHA",
122
+ "AES256-GCM-SHA384",
123
+ "AES256-SHA256",
124
+ "AES256-SHA",
125
+ "ECDHE-RSA-AES128-GCM-SHA256",
126
+ "ECDHE-ECDSA-AES128-GCM-SHA256",
127
+ "ECDHE-RSA-AES128-SHA256",
128
+ "ECDHE-ECDSA-AES128-SHA256",
129
+ "ECDHE-RSA-AES128-SHA",
130
+ "ECDHE-ECDSA-AES128-SHA",
131
+ "DHE-DSS-AES128-GCM-SHA256",
132
+ "DHE-RSA-AES128-GCM-SHA256",
133
+ "DHE-RSA-AES128-SHA256",
134
+ "DHE-DSS-AES128-SHA256",
135
+ "DHE-RSA-AES128-SHA",
136
+ "DHE-DSS-AES128-SHA",
137
+ "AECDH-AES128-SHA",
138
+ "ADH-AES128-GCM-SHA256",
139
+ "ADH-AES128-SHA256",
140
+ "ADH-AES128-SHA",
141
+ "ECDH-RSA-AES128-GCM-SHA256",
142
+ "ECDH-ECDSA-AES128-GCM-SHA256",
143
+ "ECDH-RSA-AES128-SHA256",
144
+ "ECDH-ECDSA-AES128-SHA256",
145
+ "ECDH-RSA-AES128-SHA",
146
+ "ECDH-ECDSA-AES128-SHA",
147
+ "AES128-GCM-SHA256",
148
+ "AES128-SHA256",
149
+ "AES128-SHA",
150
+ "ECDHE-RSA-DES-CBC3-SHA",
151
+ "ECDHE-ECDSA-DES-CBC3-SHA",
152
+ "EDH-RSA-DES-CBC3-SHA",
153
+ "EDH-DSS-DES-CBC3-SHA",
154
+ "AECDH-DES-CBC3-SHA",
155
+ "ADH-DES-CBC3-SHA",
156
+ "ECDH-RSA-DES-CBC3-SHA",
157
+ "ECDH-ECDSA-DES-CBC3-SHA",
158
+ "DES-CBC3-SHA",
159
+ "KRB5-DES-CBC3-SHA"
160
+ ],
161
+ "acpid_enabled": true,
162
+ "domain": "example.com",
163
+ "root_home": "/root",
164
+ "operatingsystemrelease": "6.9",
165
+ "type": "Other",
166
+ "kernel": "Linux",
167
+ "network_eth0": "10.0.2.0",
168
+ "selinux_config_mode": "enforcing",
35
169
  "filesystems": "ext4,iso9660",
36
- "virtual": "kvm",
37
- "is_virtual": true,
38
- "hardwaremodel": "x86_64",
39
- "os": {
40
- "name": "CentOS",
41
- "family": "RedHat",
42
- "release": {
43
- "major": "6",
44
- "minor": "6",
45
- "full": "6.6"
170
+ "mtu_eth0": 1500,
171
+ "mysql_server_id": 568063,
172
+ "defaultgatewayiface": "eth0",
173
+ "sshfp_dsa": "SSHFP 2 1 ae78a66c49891e7d72e7f8c62fcb4f55d2223354\nSSHFP 2 2 37a86ddb5772eee01e1134195490d212c17539f483b2271999f46e10af57a01d",
174
+ "openssh_version": "5.3",
175
+ "uuid": "248CB529-23D4-4A94-9D6D-BD5013603A65",
176
+ "shmall": "4294967296",
177
+ "puppet_settings": {
178
+ "main": {
179
+ "default_file_terminus": "rest",
180
+ "color": "ansi",
181
+ "http_proxy_host": "none",
182
+ "queue_type": "stomp",
183
+ "factpath": "/var/lib/puppet/lib/facter:/var/lib/puppet/facts",
184
+ "disable_warnings": "",
185
+ "manage_internal_file_permissions": "true",
186
+ "plugindest": "/var/lib/puppet/lib",
187
+ "external_nodes": "none",
188
+ "binder": "false",
189
+ "csr_attributes": "/etc/puppet/csr_attributes.yaml",
190
+ "preview_outputdir": "/var/lib/puppet/preview",
191
+ "maximum_uid": "4294967290",
192
+ "privatekeydir": "/etc/puppet/ssl/private_keys",
193
+ "prerun_command": "",
194
+ "http_proxy_password": "none",
195
+ "diff": "diff",
196
+ "hostcsr": "/etc/puppet/ssl/csr_foo.example.com.pem",
197
+ "genconfig": "false",
198
+ "http_keepalive_timeout": "4",
199
+ "autoflush": "true",
200
+ "http_debug": "false",
201
+ "inventory_terminus": "facter",
202
+ "diff_args": "-u",
203
+ "priority": "",
204
+ "hostcrl": "/etc/puppet/ssl/crl.pem",
205
+ "certdir": "/etc/puppet/ssl/certs",
206
+ "node_cache_terminus": "",
207
+ "dns_alt_names": "",
208
+ "facts_terminus": "facter",
209
+ "pluginsync": "true",
210
+ "certname": "foo.example.com",
211
+ "show_diff": "false",
212
+ "trusted_node_data": "false",
213
+ "digest_algorithm": "md5",
214
+ "pluginsource": "puppet://puppet/plugins",
215
+ "ssl_server_ca_auth": "",
216
+ "pluginsignore": ".svn CVS .git",
217
+ "thin_storeconfigs": "false",
218
+ "hiera_config": "/etc/puppet/hiera.yaml",
219
+ "publickeydir": "/etc/puppet/ssl/public_keys",
220
+ "httplog": "/var/lib/puppet/log/http.log",
221
+ "localcacert": "/etc/puppet/ssl/certs/ca.pem",
222
+ "ssl_client_ca_auth": "",
223
+ "confdir": "/etc/puppet",
224
+ "certificate_expire_warning": "5184000",
225
+ "data_binding_terminus": "hiera",
226
+ "queue_source": "stomp://localhost:61613/",
227
+ "profile": "false",
228
+ "certificate_revocation": "true",
229
+ "stringify_facts": "true",
230
+ "binder_config": "",
231
+ "configprint": "",
232
+ "path": "none",
233
+ "always_cache_features": "false",
234
+ "passfile": "/etc/puppet/ssl/private/password",
235
+ "postrun_command": "",
236
+ "mkusers": "false",
237
+ "http_proxy_user": "none",
238
+ "vardir": "/var/lib/puppet",
239
+ "ssldir": "/etc/puppet/ssl",
240
+ "libdir": "/var/lib/puppet/lib",
241
+ "trace": "false",
242
+ "immutable_node_data": "false",
243
+ "filetimeout": "15",
244
+ "certdnsnames": "",
245
+ "pluginfactsource": "puppet://puppet/pluginfacts",
246
+ "requestdir": "/etc/puppet/ssl/certificate_requests",
247
+ "route_file": "/etc/puppet/routes.yaml",
248
+ "zlib": "true",
249
+ "hostpubkey": "/etc/puppet/ssl/public_keys/foo.example.com.pem",
250
+ "hostcert": "/etc/puppet/ssl/certs/foo.example.com.pem",
251
+ "genmanifest": "false",
252
+ "catalog_terminus": "compiler",
253
+ "logdir": "/var/lib/puppet/log",
254
+ "node_terminus": "plain",
255
+ "privatedir": "/etc/puppet/ssl/private",
256
+ "http_proxy_port": "3128",
257
+ "hostprivkey": "/etc/puppet/ssl/private_keys/foo.example.com.pem",
258
+ "environmentpath": "",
259
+ "freeze_main": "false",
260
+ "syslogfacility": "daemon",
261
+ "ignoreimport": "false",
262
+ "pluginfactdest": "/var/lib/puppet/facts.d",
263
+ "async_storeconfigs": "false",
264
+ "rundir": "/var/lib/puppet/run",
265
+ "cfacter": "false",
266
+ "catalog_cache_terminus": "",
267
+ "log_level": "notice",
268
+ "onetime": "false",
269
+ "name": "#<Puppet::Util::UnixRunMode:0x7fadedacedb8>",
270
+ "daemonize": "true",
271
+ "environment": "production",
272
+ "environment_timeout": "0",
273
+ "statedir": "/var/lib/puppet/state"
274
+ },
275
+ "device": {
276
+ "devicedir": "/var/lib/puppet/devices",
277
+ "deviceconfig": "/etc/puppet/device.conf"
278
+ },
279
+ "inspect": {
280
+ "archive_files": "false",
281
+ "archive_file_server": "puppet"
282
+ },
283
+ "ldap": {
284
+ "ldapstring": "(&(objectclass=puppetClient)(cn=%s))",
285
+ "ldapuser": "",
286
+ "ldapport": "389",
287
+ "ldapparentattr": "parentnode",
288
+ "ldappassword": "",
289
+ "ldapattrs": "all",
290
+ "ldapclassattrs": "puppetclass",
291
+ "ldapstackedattrs": "puppetvar",
292
+ "ldapserver": "ldap",
293
+ "ldapssl": "false",
294
+ "ldaptls": "false",
295
+ "ldapbase": ""
296
+ },
297
+ "transaction": {
298
+ "evaltrace": "false",
299
+ "tags": "",
300
+ "summarize": "false"
301
+ },
302
+ "application": {
303
+ "pidfile": "/var/lib/puppet/run/user.pid",
304
+ "config": "/etc/puppet/puppet.conf",
305
+ "bindaddress": "0.0.0.0",
306
+ "config_file_name": "puppet.conf"
307
+ },
308
+ "couchdb": {
309
+ "couchdb_url": "http://127.0.0.1:5984/puppet"
310
+ },
311
+ "metrics": {
312
+ "rrddir": "/var/lib/puppet/rrd",
313
+ "rrdinterval": "1800"
314
+ },
315
+ "agent": {
316
+ "server": "puppet",
317
+ "usecacheonfailure": "true",
318
+ "localconfig": "/var/lib/puppet/state/localconfig",
319
+ "graph": "false",
320
+ "resourcefile": "/var/lib/puppet/state/resources.txt",
321
+ "lastrunfile": "/var/lib/puppet/state/last_run_summary.yaml",
322
+ "legacy_query_parameter_serialization": "false",
323
+ "report_server": "puppet",
324
+ "clientbucketdir": "/var/lib/puppet/clientbucket",
325
+ "puppetport": "8139",
326
+ "inventory_port": "8140",
327
+ "report_serialization_format": "pson",
328
+ "waitforcert": "120",
329
+ "ca_server": "puppet",
330
+ "noop": "false",
331
+ "statefile": "/var/lib/puppet/state/state.yaml",
332
+ "node_name_fact": "",
333
+ "clientyamldir": "/var/lib/puppet/client_yaml",
334
+ "ordering": "title-hash",
335
+ "srv_domain": "example.com",
336
+ "classfile": "/var/lib/puppet/state/classes.txt",
337
+ "agent_catalog_run_lockfile": "/var/lib/puppet/state/agent_catalog_run.lock",
338
+ "ignoreschedules": "false",
339
+ "ignorecache": "false",
340
+ "report_port": "8140",
341
+ "splay": "false",
342
+ "report": "true",
343
+ "dynamicfacts": "memorysize,memoryfree,swapsize,swapfree",
344
+ "catalog_format": "",
345
+ "graphdir": "/var/lib/puppet/state/graphs",
346
+ "puppetdlog": "/var/lib/puppet/log/puppetd.log",
347
+ "agent_disabled_lockfile": "/var/lib/puppet/state/agent_disabled.lock",
348
+ "inventory_server": "puppet",
349
+ "listen": "false",
350
+ "ca_port": "8140",
351
+ "preferred_serialization_format": "pson",
352
+ "default_schedules": "true",
353
+ "ignoremissingtypes": "false",
354
+ "splaylimit": "1800",
355
+ "use_srv_records": "false",
356
+ "configtimeout": "120",
357
+ "client_datadir": "/var/lib/puppet/client_data",
358
+ "lastrunreport": "/var/lib/puppet/state/last_run_report.yaml",
359
+ "http_compression": "false",
360
+ "use_cached_catalog": "false",
361
+ "node_name_value": "foo.example.com",
362
+ "runinterval": "1800"
363
+ },
364
+ "module_tool": {
365
+ "forge_authorization": "",
366
+ "module_groups": "",
367
+ "module_skeleton_dir": "/var/lib/puppet/puppet-module/skeleton",
368
+ "module_repository": "https://forgeapi.puppetlabs.com",
369
+ "module_working_dir": "/var/lib/puppet/puppet-module"
370
+ },
371
+ "master": {
372
+ "fileserverconfig": "/etc/puppet/fileserver.conf",
373
+ "code": "",
374
+ "rest_authconfig": "/etc/puppet/auth.conf",
375
+ "group": "puppet",
376
+ "ssl_client_header": "HTTP_X_CLIENT_DN",
377
+ "bucketdir": "/var/lib/puppet/bucket",
378
+ "yamldir": "/var/lib/puppet/yaml",
379
+ "server_datadir": "/var/lib/puppet/server_data",
380
+ "reportdir": "/var/lib/puppet/reports",
381
+ "strict_hostname_checking": "false",
382
+ "masterport": "8140",
383
+ "storeconfigs": "false",
384
+ "node_name": "cert",
385
+ "default_manifest": "./manifests",
386
+ "ssl_client_verify_header": "HTTP_X_CLIENT_VERIFY",
387
+ "basemodulepath": "/etc/puppet/modules:/usr/share/puppet/modules",
388
+ "disable_per_environment_manifest": "false",
389
+ "masterhttplog": "/var/lib/puppet/log/masterhttp.log",
390
+ "reporturl": "http://localhost:3000/reports/upload",
391
+ "reports": "store",
392
+ "user": "puppet",
393
+ "ca": "true",
394
+ "storeconfigs_backend": "active_record"
395
+ },
396
+ "puppetdoc": {
397
+ "document_all": "false"
398
+ },
399
+ "rails": {
400
+ "railslog": "/var/lib/puppet/log/rails.log",
401
+ "dbuser": "puppet",
402
+ "dbadapter": "sqlite3",
403
+ "dbport": "",
404
+ "dbserver": "localhost",
405
+ "dbsocket": "",
406
+ "rails_loglevel": "info",
407
+ "dblocation": "/var/lib/puppet/state/clientconfigs.sqlite3",
408
+ "dbconnections": "",
409
+ "dbmigrate": "false",
410
+ "dbpassword": "puppet",
411
+ "dbname": "puppet"
412
+ },
413
+ "tagmail": {
414
+ "smtphelo": "foo.example.com",
415
+ "tagmap": "/etc/puppet/tagmail.conf",
416
+ "reportfrom": "report@foo.example.com",
417
+ "smtpserver": "none",
418
+ "sendmail": "/usr/sbin/sendmail",
419
+ "smtpport": "25"
420
+ },
421
+ "parser": {
422
+ "strict_variables": "false",
423
+ "max_warnings": "10",
424
+ "allow_variables_with_dashes": "false",
425
+ "max_deprecations": "10",
426
+ "max_errors": "10",
427
+ "parser": "current"
428
+ },
429
+ "ca": {
430
+ "allow_duplicate_certs": "false",
431
+ "capub": "/etc/puppet/ssl/ca/ca_pub.pem",
432
+ "serial": "/etc/puppet/ssl/ca/serial",
433
+ "cakey": "/etc/puppet/ssl/ca/ca_key.pem",
434
+ "ca_name": "Puppet CA: foo.example.com",
435
+ "csrdir": "/etc/puppet/ssl/ca/requests",
436
+ "autosign": "/etc/puppet/autosign.conf",
437
+ "keylength": "4096",
438
+ "cadir": "/etc/puppet/ssl/ca",
439
+ "cert_inventory": "/etc/puppet/ssl/ca/inventory.txt",
440
+ "ca_ttl": "157680000",
441
+ "capass": "/etc/puppet/ssl/ca/private/ca.pass",
442
+ "req_bits": "4096",
443
+ "signeddir": "/etc/puppet/ssl/ca/signed",
444
+ "cacert": "/etc/puppet/ssl/ca/ca_crt.pem",
445
+ "cacrl": "/etc/puppet/ssl/ca/ca_crl.pem",
446
+ "caprivatedir": "/etc/puppet/ssl/ca/private"
46
447
  }
47
448
  },
48
- "system_uptime": {
49
- "seconds": 123,
50
- "hours": 0,
51
- "days": 0,
52
- "uptime": "0:02 hours"
53
- },
54
- "kernelmajversion": "2.6",
55
- "sshdsakey": "AAAAB3NzaC1kc3MAAACBAOSOdC70GK+62b1DmmHw37vZ6VEUcQLv9AfkTvjcqOrKrTNGNMcY+fzJtbcfTG4i21YEDa8CSHoYtsrfZy4nLamc+CIclQONCXNR1W+jCXpe/mjY7V0p9JjKDsTMX+o9jFsuBNYLpPK5w/udoUvVEETET66Rffh7ylVdwrGsw72vAAAAFQCsxMUYvE0SSNELWgJeNZUl0MMxlwAAAIEAyssLRdOH4F0ijHHFbsQbreJSWpJSb7JMwOTVzECe97KfsoCV6VUuMBsTg/4GKWxHxK35z/VZSftPfFFaAtIERtStRfYlelZOZ0ftuc4+VZmQ4OWiOV2gBrWCUzPeo9BcFMWzeQEPpn2ZIabAn9lfdAzf/2dtYiZScgesW1DKG3MAAACADhQF5ON8mfbTUwEem0PvB9JER0cm8CE1qYCa6UFRVQNGr9UhTUC9+layi4U858Qi1W98UNavmogVc1mMiGlOODVQRUb0VTlUHRVVaFAANd4iW0n8Iy+fcaS6soDMYyw2UYwpFjHWeBE9Gf8ESg7aJVt14BJpQkVX/plsjWvGh5w=",
56
- "sshfp_dsa": "SSHFP 2 1 0e9e8e299b19eb61dd5f9eea7b142f9ac7df2cd3\nSSHFP 2 2 03106abaacaa1af5103053b6e933bb603c933bb9ebc0f3d962ac9cc2ba35e37d",
57
- "sshrsakey": "AAAAB3NzaC1yc2EAAAABIwAAAQEA1aDd89yysGoH+u57JguOVc1HOAURwMzsyiE58Un4qdB6RWdfHbzx+hhaYMk6HpUU2pYcHpFL+RPNsXLWx6wH2e/HvRfOi1pHxElpX9P8Q1jwKDIgEzAVRhnTIejDw0MiKv8EVIXexcs8ZGrfcVh1eRSGlGUyJs+vY7MVbMlmL6cuz4mf70Gf55YRPCyXuubyicz9bthyClykHzR8PPjCYL/hXyNed69TqlC2/xDqOs5apK/ND5nytA4irCZGh3POABxapIAjcSYU3MR7VMpV5CbUoPaeW8Zvldbbdf41Hg0mScAAvutJNgdy6p5Wy/WLAa6otJ2RiVAYNP+l5sDz2Q==",
58
- "sshfp_rsa": "SSHFP 1 1 92e88fd08705813da6d5f9b7d5f79355282b9397\nSSHFP 1 2 58e36c85866db8936510aadd0785ef700c172dd1ecc2d30c4d52996fc53a8bac",
59
- "network_eth0": "10.0.2.0",
60
- "network_lo": "127.0.0.0",
449
+ "puppet_vardir": "/var/lib/puppet",
450
+ "tmp_mount_dev_shm": "rw,seclabel,relatime",
451
+ "sshdsakey": "AAAAB3NzaC1kc3MAAACBAJUf2CWi23K6ezlXrsZTuRHh5AqWkCNoOsHex4xFwpFGGd4x8/G4PIW0Ed5AjYirxXq2HdyMHr6KullVlxW2knSqQFEBr2+Jayey8/6CHUEfK96KoOVvfQZja+6YJUluict5BiScrYYEj8fj1bBfSfVkUk63NRFTM5DDupMeEMnhAAAAFQDEdixTTQlDqRGfiKnLgMpuhnzR6QAAAIBlB2aj+/rqDwK8pbbz76cXSZXj15RVCvXqnZDUHn23oc8guXkiem8svT4JsWL+BXJYWxstUwkYoAKaBMNuR9rsbj3p+iJhmIV7y8V6lF8DskfRwdauRXSMV5giNaN0PrE8aDI3xPFNWKO9HOadSNOanoIxka/sM1aI0bQrUY1hEAAAAIAkAvD/iDRGEiiPVb8E5v1sLsnRzpS3OPfcsD2uWDgxSlHrqS2d0NCr1waC4/EFiloR9lrV3MY+pO5r8xapO2SeVle49HmVb8JV/uUr1iBRrz2GLCTzzgq8Zqdsr21maY/CUcdw0XqBWwKHOp+AvgzuJJW6CjacXIMv/C2Ne4P+VQ==",
452
+ "grub_version": "0.97",
453
+ "hostname": "foo",
454
+ "sshfp_rsa": "SSHFP 1 1 0ef92a59ec8c8208b2971ef121f485923ae8372a\nSSHFP 1 2 ea1c7f40a89cb90a4e6bd2e4bf6c52ba3e6a6d20f6e17301f45dbc8100160e3f",
455
+ "openldap_arch": "i386",
456
+ "virtual": "kvm",
61
457
  "osfamily": "RedHat",
62
- "memorysize": "490.39 MB",
63
- "memoryfree": "377.52 MB",
64
- "swapsize": "992.00 MB",
65
- "swapfree": "991.94 MB",
66
- "swapsize_mb": "992.00",
67
- "swapfree_mb": "991.94",
68
- "memorysize_mb": "490.39",
69
- "memoryfree_mb": "377.52",
70
- "operatingsystemmajrelease": "6",
458
+ "uniqueid": "007f0100",
459
+ "blockdevice_sda_size": 42949672960,
460
+ "uid_min": "500",
461
+ "puppetversion": "3.8.7",
462
+ "has_tpm": false,
463
+ "hardwareisa": "x86_64",
464
+ "runlevel": "3",
465
+ "macaddress": "52:54:00:8A:28:FF",
466
+ "uptime": "0:13 hours",
467
+ "kernelversion": "2.6.32",
71
468
  "netmask": "255.255.255.0",
72
- "operatingsystemrelease": "6.6",
73
- "uptime_seconds": 123,
74
- "boardmanufacturer": "Oracle Corporation",
75
- "boardproductname": "VirtualBox",
76
- "boardserialnumber": "0",
77
- "bios_vendor": "innotek GmbH",
78
- "bios_version": "VirtualBox",
79
- "bios_release_date": "12/01/2006",
80
- "manufacturer": "innotek GmbH",
81
- "productname": "VirtualBox",
82
- "serialnumber": "0",
83
- "uuid": "30A45E9A-E9E5-425D-A5C6-D2FB0332CAA7",
84
- "type": "Other",
469
+ "operatingsystem": "CentOS",
85
470
  "processors": {
86
- "models": [
87
- "Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz"
88
- ],
471
+ "physicalcount": 1,
89
472
  "count": 1,
90
- "physicalcount": 1
473
+ "models": [
474
+ "Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz"
475
+ ]
91
476
  },
92
- "ipaddress": "10.0.2.15",
93
- "selinux": false,
94
- "processor0": "Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz",
95
- "processorcount": 1,
96
- "augeasversion": "1.4.0",
97
- "uptime": "0:02 hours",
98
- "id": "root",
99
- "puppetversion": "4.6.0",
100
- "gid": "root",
101
- "domain": "example.com",
102
- "interfaces": "eth0,lo",
103
- "ipaddress_eth0": "10.0.2.15",
104
- "macaddress_eth0": "08:00:27:98:CA:98",
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": 65536,
110
- "rubyversion": "2.1.9",
111
- "blockdevice_sda_size": 21474836480,
112
- "blockdevice_sda_vendor": "ATA",
113
- "blockdevice_sda_model": "VBOX HARDDISK",
114
- "blockdevices": "sda",
115
- "auditd_version": "2.3.7",
116
- "radius_version": "unknown",
477
+ "selinux_policyversion": "24",
117
478
  "haveged_startup_provider": "init",
118
- "openldap_arch": "i386",
119
- "puppet_ruby_dir": "/home/vagrant/vendor/bundler/ruby/2.1.0/gems/puppet-3.8.7/lib/puppet",
120
- "gdm_version": "2.30.4",
121
- "reboot_required": false,
122
- "cmdline": {
123
- "ro": null,
124
- "root": "/dev/mapper/VolGroup-lv_root",
125
- "rd_NO_LUKS": null,
126
- "LANG": "en_US.UTF-8",
127
- "rd_NO_MD": null,
128
- "rd_LVM_LV": "VolGroup/lv_root",
129
- "SYSFONT": "latarcyrheb-sun16",
130
- "KEYBOARDTYPE": "pc",
131
- "KEYTABLE": "us",
132
- "rd_NO_DM": null,
133
- "rhgb": null,
134
- "quiet": null
135
- },
136
- "boot_dir_uuid": "04018524-a7ad-485e-a07a-27b820c4c774",
137
- "defaultgatewayiface": "eth0",
138
- "acpid_enabled": true,
139
- "shmall": "4294967296",
140
479
  "ipv6_enabled": true,
141
- "init_systems": [
142
- "rc",
143
- "upstart",
144
- "sysv"
145
- ],
146
- "runlevel": "3",
147
- "uid_min": "500",
148
- "fips_enabled": false,
149
- "grub_version": "0.97",
150
- "has_clustering": false,
151
- "tmp_mount_dev_shm": "rw,relatime",
480
+ "boardserialnumber": "0",
481
+ "memoryfree_mb": "322.05",
482
+ "fqdn": "foo.example.com",
483
+ "ipaddress": "10.0.2.15",
152
484
  "tmp_mount_path_dev_shm": "tmpfs",
153
- "tmp_mount_fstype_dev_shm": "tmpfs",
154
- "defaultgateway": "10.0.2.2",
155
- "fullrun": "false",
485
+ "reboot_required": false,
486
+ "boardmanufacturer": "Oracle Corporation",
487
+ "system_uptime": {
488
+ "days": 0,
489
+ "hours": 0,
490
+ "seconds": 804,
491
+ "uptime": "0:13 hours"
492
+ },
493
+ "service_provider": "redhat",
494
+ "is_pe": false,
495
+ "mtu_lo": 65536,
496
+ "manufacturer": "innotek GmbH",
497
+ "os": {
498
+ "release": {
499
+ "major": "6",
500
+ "minor": "9",
501
+ "full": "6.9"
502
+ },
503
+ "name": "CentOS",
504
+ "family": "RedHat"
505
+ },
506
+ "uptime_days": 0,
156
507
  "cpuinfo": {
157
508
  "processor0": {
158
- "vendor_id": "GenuineIntel",
159
- "cpu_family": "6",
160
- "model": "61",
161
- "model_name": "Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz",
162
- "stepping": "4",
163
- "microcode": "25",
164
- "cpu_MHz": "3178.028",
165
- "cache_size": "4096 KB",
166
- "physical_id": "0",
167
- "siblings": "1",
168
- "core_id": "0",
169
- "cpu_cores": "1",
170
- "apicid": "0",
509
+ "cache_alignment": "64",
171
510
  "initial_apicid": "0",
511
+ "cpu_cores": "1",
512
+ "siblings": "1",
513
+ "address_sizes": "39 bits physical, 48 bits virtual",
172
514
  "fpu": "yes",
173
- "fpu_exception": "yes",
174
- "cpuid_level": "20",
175
- "wp": "yes",
515
+ "model": "61",
516
+ "stepping": "4",
517
+ "power_management": "power management",
518
+ "bogomips": "4788.89",
176
519
  "flags": [
177
520
  "fpu",
178
521
  "vme",
@@ -213,6 +556,7 @@
213
556
  "cx16",
214
557
  "sse4_1",
215
558
  "sse4_2",
559
+ "x2apic",
216
560
  "movbe",
217
561
  "popcnt",
218
562
  "aes",
@@ -225,16 +569,21 @@
225
569
  "3dnowprefetch",
226
570
  "rdseed"
227
571
  ],
228
- "bogomips": "6356.05",
572
+ "core_id": "0",
229
573
  "clflush_size": "64",
230
- "cache_alignment": "64",
231
- "address_sizes": "39 bits physical, 48 bits virtual",
232
- "power_management": "power management"
574
+ "cpu_MHz": "2394.448",
575
+ "cpu_family": "6",
576
+ "apicid": "0",
577
+ "physical_id": "0",
578
+ "cache_size": "4096 KB",
579
+ "model_name": "Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz",
580
+ "vendor_id": "GenuineIntel",
581
+ "cpuid_level": "20",
582
+ "wp": "yes",
583
+ "fpu_exception": "yes"
233
584
  }
234
585
  },
235
- "openssh_version": "5.3",
236
- "root_home": "/root",
237
- "puppet_vardir": "/var/lib/puppet",
238
- "is_pe": false,
239
- "has_tpm": false
586
+ "swapfree": "1.50 GB",
587
+ "fips_enabled": false,
588
+ "memorysize": "490.16 MB"
240
589
  }