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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0458c1fc338a1b4161ded6f8fb3804881770cb80
4
- data.tar.gz: 5f600cf62eed06b8e13ce3c4315e537fad033b40
3
+ metadata.gz: f8df52e071d1522b4f7cdb1b76cb0a9ba834a9a1
4
+ data.tar.gz: ab23593f520ea209acb2e80012964259787238c4
5
5
  SHA512:
6
- metadata.gz: 3eb25e4be9c643bf807f4d2a9ec68c36e5ab8c7182c35be4fada96f962be7cab4946c275b21a8cbf9affdc45271c0fe845c3c3557b45bdab748bcb0f135fee01
7
- data.tar.gz: 0709962684b76cd3171e621403328224108be0cf13f2d4149cb4ab4985ae457fa68e6a4e1eaeca360274c97beca13a814aa2dbec4e955676e6fad336a627696b
6
+ metadata.gz: df1f92bba40e358dcac3f4715553dfd1fe60fab5c2da93b3b81db7c03e2df14fab7ceb9c12d541e8b6a385d53e904590e12013d782bb2a21c53a05e1e358472e
7
+ data.tar.gz: c6d0af75665c003df7edfbe07662668ed6eb4382fe3dbe2cc1c0bef5c72a2d0538035fdb0a030cf0a11fc320fbb516f0450678cec75fcdd1342612e7f8d7991b
data/README.md CHANGED
@@ -3,8 +3,22 @@
3
3
  [![Build Status](https://img.shields.io/travis/simp/simp-rspec-puppet-facts/master.svg)](https://travis-ci.org/simp/simp-rspec-puppet-facts)
4
4
  [![Gem Version](https://img.shields.io/gem/v/simp-rspec-puppet-facts.svg)](https://rubygems.org/gems/simp-rspec-puppet-facts)
5
5
 
6
-
7
- Simplify (ahem: "SIMPlify") your unit tests by looping on every supported Operating System and populating facts.
6
+ Simplify your spec tests by looping on every supported Operating System and populating facts.
7
+
8
+ * [Motivation](#motivation)
9
+ * [Usage](#usage)
10
+ * [Basic usage](#basic-usage)
11
+ * [Providing options](#providing-options)
12
+ * [Options](#options)
13
+ * [`:extra_facts`](#extra_facts)
14
+ * [`:extra_facts_immutable`](#extra_facts_immutable)
15
+ * [`:selinux_mode`](#selinux_mode)
16
+ * [Example: Default SELinux mode (`:enforcing`)](#example-default-selinux-mode-enforcing)
17
+ * [Example: Setting facts to model when SELinux is `disabled`](#example-setting-facts-to-model-when-selinux-is-disabled)
18
+ * [Environment Variables](#environment-variables)
19
+ * [`SIMP_FACTS_OS`](#simp_facts_os)
20
+ * [`SIMP_FACTS_lsb`](#simp_facts_lsb)
21
+ * [How to capture new facts](#how-to-capture-new-facts)
8
22
 
9
23
  ## Motivation
10
24
  The `on_supported_os` method provided by rspec-puppet-facts provides facts captured from running Vagrant systems. However, many SIMP tests require additional custom facts.
@@ -94,16 +108,20 @@ facts_hash.values_at(:selinux,:selinux_current_mode,:selinux_state,:tmp_mount_de
94
108
  ```
95
109
 
96
110
  ## Environment Variables
111
+
97
112
  ### `SIMP_FACTS_OS`
113
+
98
114
  Restricts test matrix to the OS strings provided in a comma-delimited list.
99
115
  - **Example:** `SIMP_FACTS_OS=redhat-6-x86_64,redhat-7-x86_64`
100
116
 
101
117
 
102
118
  ### `SIMP_FACTS_lsb`
119
+
103
120
  - `no`
104
121
 
105
122
 
106
123
  ## How to capture new facts
124
+
107
125
  - Place any modules containing facts you want to capture under `modules/`
108
126
  - Run `vagrant up`
109
127
  **NOTE:** This replaces any older fact data
@@ -1,105 +1,385 @@
1
1
  {
2
- "gem_version": "~> 1.7.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
- "architecture": "x86_64",
5
- "augeasversion": "1.4.0",
6
- "kernel": "Linux",
7
- "blockdevice_sda_size": 21474836480,
8
- "blockdevice_sda_vendor": "ATA",
9
- "blockdevice_sda_model": "VBOX HARDDISK",
10
- "blockdevices": "sda",
11
- "domain": "example.com",
12
- "macaddress": "08:00:27:98:CA:98",
13
- "osfamily": "RedHat",
14
- "operatingsystem": "CentOS",
2
+ "sshdsakey": "AAAAB3NzaC1kc3MAAACBAJUf2CWi23K6ezlXrsZTuRHh5AqWkCNoOsHex4xFwpFGGd4x8/G4PIW0Ed5AjYirxXq2HdyMHr6KullVlxW2knSqQFEBr2+Jayey8/6CHUEfK96KoOVvfQZja+6YJUluict5BiScrYYEj8fj1bBfSfVkUk63NRFTM5DDupMeEMnhAAAAFQDEdixTTQlDqRGfiKnLgMpuhnzR6QAAAIBlB2aj+/rqDwK8pbbz76cXSZXj15RVCvXqnZDUHn23oc8guXkiem8svT4JsWL+BXJYWxstUwkYoAKaBMNuR9rsbj3p+iJhmIV7y8V6lF8DskfRwdauRXSMV5giNaN0PrE8aDI3xPFNWKO9HOadSNOanoIxka/sM1aI0bQrUY1hEAAAAIAkAvD/iDRGEiiPVb8E5v1sLsnRzpS3OPfcsD2uWDgxSlHrqS2d0NCr1waC4/EFiloR9lrV3MY+pO5r8xapO2SeVle49HmVb8JV/uUr1iBRrz2GLCTzzgq8Zqdsr21maY/CUcdw0XqBWwKHOp+AvgzuJJW6CjacXIMv/C2Ne4P+VQ==",
3
+ "swapfree": "1.50 GB",
4
+ "netmask": "255.255.255.0",
5
+ "bios_vendor": "innotek GmbH",
6
+ "uptime_seconds": 778,
15
7
  "facterversion": "1.7.6",
16
- "filesystems": "ext4,iso9660",
17
- "fqdn": "foo.example.com",
18
- "hardwareisa": "x86_64",
19
- "hardwaremodel": "x86_64",
8
+ "memorytotal": "490.16 MB",
9
+ "root_home": "/root",
10
+ "blockdevice_sda_model": "VBOX HARDDISK",
11
+ "productname": "VirtualBox",
12
+ "boardserialnumber": "0",
13
+ "boardmanufacturer": "Oracle Corporation",
20
14
  "hostname": "foo",
21
- "id": "root",
22
- "interfaces": "eth0,lo",
23
- "ipaddress_eth0": "10.0.2.15",
24
- "macaddress_eth0": "08:00:27:98:CA:98",
15
+ "uuid": "248CB529-23D4-4A94-9D6D-BD5013603A65",
16
+ "virtual": "kvm",
17
+ "bios_version": "VirtualBox",
18
+ "memorysize": "490.16 MB",
19
+ "ipaddress": "10.0.2.15",
20
+ "tmp_mount_path_dev_shm": "tmpfs",
21
+ "blockdevice_sda_vendor": "ATA",
22
+ "netmask_lo": "255.0.0.0",
23
+ "init_systems": [
24
+ "rc",
25
+ "upstart",
26
+ "sysv"
27
+ ],
28
+ "augeasprovider_grub_version": 1,
29
+ "gem_version": "~> 1.7.0",
30
+ "selinux": "true",
31
+ "selinux_current_mode": "enforcing",
25
32
  "netmask_eth0": "255.255.255.0",
26
- "mtu_eth0": "1500",
33
+ "boardproductname": "VirtualBox",
34
+ "timezone": "UTC",
35
+ "operatingsystemrelease": "6.9",
36
+ "sshfp_dsa": "SSHFP 2 1 ae78a66c49891e7d72e7f8c62fcb4f55d2223354\nSSHFP 2 2 37a86ddb5772eee01e1134195490d212c17539f483b2271999f46e10af57a01d",
37
+ "blockdevices": "sda",
27
38
  "ipaddress_lo": "127.0.0.1",
28
- "netmask_lo": "255.0.0.0",
29
- "mtu_lo": "65536",
30
- "ipaddress": "10.0.2.15",
39
+ "acpid_enabled": true,
40
+ "network_lo": "127.0.0.0",
41
+ "is_virtual": "true",
42
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAABIwAAAQEArlI0Nolz/hx14d8MxnKZlpvhoXsn9M1WsVobnp4TcnDwdt0/xJHn/HRl29PunI8Y/j5NiBdbc52szT3a3PJAAqPajsuLzRC9toGEd+hOdyHIUhF1E7aa946qbUTA1OKx4H8KGxjTE3qvbwKPRXPMhVS6cMRmT1xRvf9LPanUMuF892326di5r4CGdhPL22Xo2vfs52XHJwn0U2ea/fBPaIdV4Hu2RAB62BpbQtB5q1U299/+BGPhtrucY8nwgifITZr6kEdApaCJ+MZDE3I0/Lq9jSgJJZ7ZzBVRq5WbH5aUbDXVHEMpNOIjgXfH28puWt/OZ7urhpPSD3kmC6OHuw==",
43
+ "id": "root",
31
44
  "kernelmajversion": "2.6",
32
- "kernelrelease": "2.6.32-504.el6.x86_64",
33
- "kernelversion": "2.6.32",
34
- "boardmanufacturer": "Oracle Corporation",
35
- "boardproductname": "VirtualBox",
36
- "boardserialnumber": "0",
37
- "bios_vendor": "innotek GmbH",
38
- "bios_version": "VirtualBox",
39
- "bios_release_date": "12/01/2006",
40
- "manufacturer": "innotek GmbH",
41
- "productname": "VirtualBox",
45
+ "hardwaremodel": "x86_64",
42
46
  "serialnumber": "0",
43
- "uuid": "30A45E9A-E9E5-425D-A5C6-D2FB0332CAA7",
44
- "type": "Other",
45
- "memorysize": "490.39 MB",
46
- "memoryfree": "377.87 MB",
47
- "swapsize": "992.00 MB",
48
- "swapfree": "991.94 MB",
49
- "swapsize_mb": "992.00",
50
- "swapfree_mb": "991.94",
51
- "memorysize_mb": "490.39",
52
- "memoryfree_mb": "377.87",
53
- "memorytotal": "490.39 MB",
54
- "netmask": "255.255.255.0",
55
- "network_eth0": "10.0.2.0",
56
- "network_lo": "127.0.0.0",
57
- "operatingsystemmajrelease": "6",
58
- "operatingsystemrelease": "6.6",
59
- "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",
60
- "physicalprocessorcount": 1,
61
- "processor0": "Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz",
62
- "processorcount": "1",
47
+ "shmall": "4294967296",
48
+ "tmp_mount_fstype_dev_shm": "tmpfs",
63
49
  "ps": "ps -ef",
64
- "puppetversion": "4.6.0",
65
- "rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
66
- "rubyversion": "2.1.9",
67
- "selinux": "false",
68
- "sshdsakey": "AAAAB3NzaC1kc3MAAACBAOSOdC70GK+62b1DmmHw37vZ6VEUcQLv9AfkTvjcqOrKrTNGNMcY+fzJtbcfTG4i21YEDa8CSHoYtsrfZy4nLamc+CIclQONCXNR1W+jCXpe/mjY7V0p9JjKDsTMX+o9jFsuBNYLpPK5w/udoUvVEETET66Rffh7ylVdwrGsw72vAAAAFQCsxMUYvE0SSNELWgJeNZUl0MMxlwAAAIEAyssLRdOH4F0ijHHFbsQbreJSWpJSb7JMwOTVzECe97KfsoCV6VUuMBsTg/4GKWxHxK35z/VZSftPfFFaAtIERtStRfYlelZOZ0ftuc4+VZmQ4OWiOV2gBrWCUzPeo9BcFMWzeQEPpn2ZIabAn9lfdAzf/2dtYiZScgesW1DKG3MAAACADhQF5ON8mfbTUwEem0PvB9JER0cm8CE1qYCa6UFRVQNGr9UhTUC9+layi4U858Qi1W98UNavmogVc1mMiGlOODVQRUb0VTlUHRVVaFAANd4iW0n8Iy+fcaS6soDMYyw2UYwpFjHWeBE9Gf8ESg7aJVt14BJpQkVX/plsjWvGh5w=",
69
- "sshfp_dsa": "SSHFP 2 1 0e9e8e299b19eb61dd5f9eea7b142f9ac7df2cd3\nSSHFP 2 2 03106abaacaa1af5103053b6e933bb603c933bb9ebc0f3d962ac9cc2ba35e37d",
70
- "sshrsakey": "AAAAB3NzaC1yc2EAAAABIwAAAQEA1aDd89yysGoH+u57JguOVc1HOAURwMzsyiE58Un4qdB6RWdfHbzx+hhaYMk6HpUU2pYcHpFL+RPNsXLWx6wH2e/HvRfOi1pHxElpX9P8Q1jwKDIgEzAVRhnTIejDw0MiKv8EVIXexcs8ZGrfcVh1eRSGlGUyJs+vY7MVbMlmL6cuz4mf70Gf55YRPCyXuubyicz9bthyClykHzR8PPjCYL/hXyNed69TqlC2/xDqOs5apK/ND5nytA4irCZGh3POABxapIAjcSYU3MR7VMpV5CbUoPaeW8Zvldbbdf41Hg0mScAAvutJNgdy6p5Wy/WLAa6otJ2RiVAYNP+l5sDz2Q==",
71
- "sshfp_rsa": "SSHFP 1 1 92e88fd08705813da6d5f9b7d5f79355282b9397\nSSHFP 1 2 58e36c85866db8936510aadd0785ef700c172dd1ecc2d30c4d52996fc53a8bac",
72
- "timezone": "UTC",
73
- "uniqueid": "007f0100",
74
- "uptime": "0:01 hours",
50
+ "selinux_policyversion": "24",
51
+ "selinux_mode": "targeted",
52
+ "is_pe": false,
53
+ "puppet_settings": {
54
+ "ca": {
55
+ "ca_name": "Puppet CA: foo.example.com",
56
+ "autosign": "/etc/puppet/autosign.conf",
57
+ "csrdir": "/etc/puppet/ssl/ca/requests",
58
+ "caprivatedir": "/etc/puppet/ssl/ca/private",
59
+ "req_bits": "4096",
60
+ "cacert": "/etc/puppet/ssl/ca/ca_crt.pem",
61
+ "keylength": "4096",
62
+ "cakey": "/etc/puppet/ssl/ca/ca_key.pem",
63
+ "cert_inventory": "/etc/puppet/ssl/ca/inventory.txt",
64
+ "cacrl": "/etc/puppet/ssl/ca/ca_crl.pem",
65
+ "ca_ttl": "157680000",
66
+ "allow_duplicate_certs": "false",
67
+ "capub": "/etc/puppet/ssl/ca/ca_pub.pem",
68
+ "signeddir": "/etc/puppet/ssl/ca/signed",
69
+ "capass": "/etc/puppet/ssl/ca/private/ca.pass",
70
+ "cadir": "/etc/puppet/ssl/ca",
71
+ "serial": "/etc/puppet/ssl/ca/serial"
72
+ },
73
+ "couchdb": {
74
+ "couchdb_url": "http://127.0.0.1:5984/puppet"
75
+ },
76
+ "puppetdoc": {
77
+ "document_all": "false"
78
+ },
79
+ "transaction": {
80
+ "tags": "",
81
+ "summarize": "false",
82
+ "evaltrace": "false"
83
+ },
84
+ "metrics": {
85
+ "rrddir": "/var/lib/puppet/rrd",
86
+ "rrdinterval": "1800"
87
+ },
88
+ "module_tool": {
89
+ "module_skeleton_dir": "/var/lib/puppet/puppet-module/skeleton",
90
+ "module_repository": "https://forgeapi.puppetlabs.com",
91
+ "forge_authorization": "",
92
+ "module_groups": "",
93
+ "module_working_dir": "/var/lib/puppet/puppet-module"
94
+ },
95
+ "agent": {
96
+ "ordering": "title-hash",
97
+ "srv_domain": "example.com",
98
+ "client_datadir": "/var/lib/puppet/client_data",
99
+ "lastrunfile": "/var/lib/puppet/state/last_run_summary.yaml",
100
+ "runinterval": "1800",
101
+ "configtimeout": "120",
102
+ "ca_port": "8140",
103
+ "report": "true",
104
+ "ignoreschedules": "false",
105
+ "clientyamldir": "/var/lib/puppet/client_yaml",
106
+ "report_port": "8140",
107
+ "ignorecache": "false",
108
+ "report_server": "puppet",
109
+ "listen": "false",
110
+ "waitforcert": "120",
111
+ "inventory_server": "puppet",
112
+ "preferred_serialization_format": "pson",
113
+ "use_srv_records": "false",
114
+ "splaylimit": "1800",
115
+ "ca_server": "puppet",
116
+ "use_cached_catalog": "false",
117
+ "inventory_port": "8140",
118
+ "noop": "false",
119
+ "resourcefile": "/var/lib/puppet/state/resources.txt",
120
+ "dynamicfacts": "memorysize,memoryfree,swapsize,swapfree",
121
+ "catalog_format": "",
122
+ "splay": "false",
123
+ "agent_disabled_lockfile": "/var/lib/puppet/state/agent_disabled.lock",
124
+ "puppetport": "8139",
125
+ "server": "puppet",
126
+ "node_name_fact": "",
127
+ "ignoremissingtypes": "false",
128
+ "statefile": "/var/lib/puppet/state/state.yaml",
129
+ "default_schedules": "true",
130
+ "http_compression": "false",
131
+ "classfile": "/var/lib/puppet/state/classes.txt",
132
+ "lastrunreport": "/var/lib/puppet/state/last_run_report.yaml",
133
+ "usecacheonfailure": "true",
134
+ "legacy_query_parameter_serialization": "false",
135
+ "graph": "false",
136
+ "node_name_value": "foo.example.com",
137
+ "localconfig": "/var/lib/puppet/state/localconfig",
138
+ "puppetdlog": "/var/lib/puppet/log/puppetd.log",
139
+ "clientbucketdir": "/var/lib/puppet/clientbucket",
140
+ "graphdir": "/var/lib/puppet/state/graphs",
141
+ "report_serialization_format": "pson",
142
+ "agent_catalog_run_lockfile": "/var/lib/puppet/state/agent_catalog_run.lock"
143
+ },
144
+ "tagmail": {
145
+ "reportfrom": "report@foo.example.com",
146
+ "smtpport": "25",
147
+ "smtpserver": "none",
148
+ "sendmail": "/usr/sbin/sendmail",
149
+ "smtphelo": "foo.example.com",
150
+ "tagmap": "/etc/puppet/tagmail.conf"
151
+ },
152
+ "application": {
153
+ "bindaddress": "0.0.0.0",
154
+ "pidfile": "/var/lib/puppet/run/user.pid",
155
+ "config_file_name": "puppet.conf",
156
+ "config": "/etc/puppet/puppet.conf"
157
+ },
158
+ "inspect": {
159
+ "archive_files": "false",
160
+ "archive_file_server": "puppet"
161
+ },
162
+ "rails": {
163
+ "railslog": "/var/lib/puppet/log/rails.log",
164
+ "dblocation": "/var/lib/puppet/state/clientconfigs.sqlite3",
165
+ "dbadapter": "sqlite3",
166
+ "dbmigrate": "false",
167
+ "dbserver": "localhost",
168
+ "dbconnections": "",
169
+ "dbsocket": "",
170
+ "rails_loglevel": "info",
171
+ "dbname": "puppet",
172
+ "dbuser": "puppet",
173
+ "dbport": "",
174
+ "dbpassword": "puppet"
175
+ },
176
+ "ldap": {
177
+ "ldapstackedattrs": "puppetvar",
178
+ "ldapparentattr": "parentnode",
179
+ "ldaptls": "false",
180
+ "ldappassword": "",
181
+ "ldapserver": "ldap",
182
+ "ldapclassattrs": "puppetclass",
183
+ "ldapssl": "false",
184
+ "ldapuser": "",
185
+ "ldapport": "389",
186
+ "ldapattrs": "all",
187
+ "ldapbase": "",
188
+ "ldapstring": "(&(objectclass=puppetClient)(cn=%s))"
189
+ },
190
+ "device": {
191
+ "devicedir": "/var/lib/puppet/devices",
192
+ "deviceconfig": "/etc/puppet/device.conf"
193
+ },
194
+ "parser": {
195
+ "max_warnings": "10",
196
+ "max_errors": "10",
197
+ "allow_variables_with_dashes": "false",
198
+ "strict_variables": "false",
199
+ "max_deprecations": "10",
200
+ "parser": "current"
201
+ },
202
+ "main": {
203
+ "requestdir": "/etc/puppet/ssl/certificate_requests",
204
+ "environmentpath": "",
205
+ "ssl_client_ca_auth": "",
206
+ "trace": "false",
207
+ "disable_warnings": "",
208
+ "data_binding_terminus": "hiera",
209
+ "http_debug": "false",
210
+ "queue_source": "stomp://localhost:61613/",
211
+ "privatekeydir": "/etc/puppet/ssl/private_keys",
212
+ "publickeydir": "/etc/puppet/ssl/public_keys",
213
+ "inventory_terminus": "facter",
214
+ "catalog_cache_terminus": "",
215
+ "queue_type": "stomp",
216
+ "syslogfacility": "daemon",
217
+ "pluginsignore": ".svn CVS .git",
218
+ "confdir": "/etc/puppet",
219
+ "stringify_facts": "true",
220
+ "privatedir": "/etc/puppet/ssl/private",
221
+ "hostcrl": "/etc/puppet/ssl/crl.pem",
222
+ "log_level": "notice",
223
+ "pluginfactsource": "puppet://puppet/pluginfacts",
224
+ "environment": "production",
225
+ "certificate_expire_warning": "5184000",
226
+ "zlib": "true",
227
+ "cfacter": "false",
228
+ "pluginfactdest": "/var/lib/puppet/facts.d",
229
+ "hostprivkey": "/etc/puppet/ssl/private_keys/foo.example.com.pem",
230
+ "http_proxy_host": "none",
231
+ "default_file_terminus": "rest",
232
+ "factpath": "/var/lib/puppet/lib/facter:/var/lib/puppet/facts",
233
+ "rundir": "/var/lib/puppet/run",
234
+ "binder": "false",
235
+ "node_cache_terminus": "",
236
+ "trusted_node_data": "false",
237
+ "configprint": "",
238
+ "binder_config": "",
239
+ "httplog": "/var/lib/puppet/log/http.log",
240
+ "genmanifest": "false",
241
+ "diff_args": "-u",
242
+ "always_cache_features": "false",
243
+ "node_terminus": "plain",
244
+ "certdnsnames": "",
245
+ "profile": "false",
246
+ "path": "none",
247
+ "name": "#<Puppet::Util::UnixRunMode:0x7f96fd04acb8>",
248
+ "csr_attributes": "/etc/puppet/csr_attributes.yaml",
249
+ "statedir": "/var/lib/puppet/state",
250
+ "priority": "",
251
+ "daemonize": "true",
252
+ "localcacert": "/etc/puppet/ssl/certs/ca.pem",
253
+ "hostcert": "/etc/puppet/ssl/certs/foo.example.com.pem",
254
+ "manage_internal_file_permissions": "true",
255
+ "genconfig": "false",
256
+ "postrun_command": "",
257
+ "libdir": "/var/lib/puppet/lib",
258
+ "environment_timeout": "0",
259
+ "autoflush": "true",
260
+ "passfile": "/etc/puppet/ssl/private/password",
261
+ "certdir": "/etc/puppet/ssl/certs",
262
+ "route_file": "/etc/puppet/routes.yaml",
263
+ "ignoreimport": "false",
264
+ "http_keepalive_timeout": "4",
265
+ "preview_outputdir": "/var/lib/puppet/preview",
266
+ "certname": "foo.example.com",
267
+ "dns_alt_names": "",
268
+ "diff": "diff",
269
+ "http_proxy_password": "none",
270
+ "thin_storeconfigs": "false",
271
+ "vardir": "/var/lib/puppet",
272
+ "pluginsync": "true",
273
+ "logdir": "/var/lib/puppet/log",
274
+ "pluginsource": "puppet://puppet/plugins",
275
+ "ssl_server_ca_auth": "",
276
+ "http_proxy_user": "none",
277
+ "onetime": "false",
278
+ "prerun_command": "",
279
+ "facts_terminus": "facter",
280
+ "maximum_uid": "4294967290",
281
+ "freeze_main": "false",
282
+ "hiera_config": "/etc/puppet/hiera.yaml",
283
+ "filetimeout": "15",
284
+ "catalog_terminus": "compiler",
285
+ "hostpubkey": "/etc/puppet/ssl/public_keys/foo.example.com.pem",
286
+ "http_proxy_port": "3128",
287
+ "mkusers": "false",
288
+ "plugindest": "/var/lib/puppet/lib",
289
+ "certificate_revocation": "true",
290
+ "external_nodes": "none",
291
+ "ssldir": "/etc/puppet/ssl",
292
+ "color": "ansi",
293
+ "show_diff": "false",
294
+ "digest_algorithm": "md5",
295
+ "async_storeconfigs": "false",
296
+ "immutable_node_data": "false",
297
+ "hostcsr": "/etc/puppet/ssl/csr_foo.example.com.pem"
298
+ },
299
+ "master": {
300
+ "ssl_client_header": "HTTP_X_CLIENT_DN",
301
+ "code": "",
302
+ "ca": "true",
303
+ "server_datadir": "/var/lib/puppet/server_data",
304
+ "basemodulepath": "/etc/puppet/modules:/usr/share/puppet/modules",
305
+ "masterhttplog": "/var/lib/puppet/log/masterhttp.log",
306
+ "bucketdir": "/var/lib/puppet/bucket",
307
+ "strict_hostname_checking": "false",
308
+ "ssl_client_verify_header": "HTTP_X_CLIENT_VERIFY",
309
+ "storeconfigs_backend": "active_record",
310
+ "fileserverconfig": "/etc/puppet/fileserver.conf",
311
+ "group": "puppet",
312
+ "storeconfigs": "false",
313
+ "reportdir": "/var/lib/puppet/reports",
314
+ "yamldir": "/var/lib/puppet/yaml",
315
+ "node_name": "cert",
316
+ "masterport": "8140",
317
+ "default_manifest": "./manifests",
318
+ "user": "puppet",
319
+ "reporturl": "http://localhost:3000/reports/upload",
320
+ "reports": "store",
321
+ "rest_authconfig": "/etc/puppet/auth.conf",
322
+ "disable_per_environment_manifest": "false"
323
+ }
324
+ },
325
+ "defaultgateway": "10.0.2.2",
326
+ "path": "/home/vagrant/vendor/bundler/ruby/1.8/bin:/opt/puppetlabs/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin",
327
+ "package_provider": "yum",
328
+ "bios_release_date": "12/01/2006",
329
+ "tmp_mount_dev_shm": "rw,seclabel,relatime",
330
+ "memoryfree": "326.41 MB",
331
+ "selinux_config_mode": "enforcing",
75
332
  "uptime_days": 0,
76
- "uptime_hours": 0,
77
- "uptime_seconds": 109,
78
- "virtual": "kvm",
79
- "is_virtual": "true",
80
- "haveged_startup_provider": "init",
333
+ "fqdn": "foo.example.com",
334
+ "puppet_vardir": "/var/lib/puppet",
335
+ "fullrun": "false",
336
+ "swapfree_mb": "1535.78",
337
+ "macaddress_eth0": "52:54:00:8A:28:FF",
338
+ "selinux_enforced": "true",
339
+ "rubyversion": "1.8.7",
340
+ "uid_min": "500",
341
+ "ipaddress_eth0": "10.0.2.15",
342
+ "rubysitedir": "/usr/lib/ruby/site_ruby/1.8",
343
+ "kernelversion": "2.6.32",
344
+ "service_provider": "redhat",
345
+ "blockdevice_sda_size": 42949672960,
346
+ "uptime": "0:12 hours",
81
347
  "openldap_arch": "i386",
82
- "puppet_ruby_dir": "/home/vagrant/vendor/bundler/ruby/2.1.0/gems/puppet-3.8.7/lib/puppet",
83
- "acpid_enabled": true,
84
- "defaultgateway": "10.0.2.2",
348
+ "selinux_config_policy": "targeted",
349
+ "operatingsystem": "CentOS",
350
+ "haveged_startup_provider": "init",
351
+ "processorcount": "1",
352
+ "mtu_lo": "65536",
353
+ "domain": "example.com",
354
+ "puppet_ruby_dir": "/home/vagrant/vendor/bundler/ruby/1.8/gems/puppet-3.8.7/lib/puppet",
85
355
  "defaultgatewayiface": "eth0",
356
+ "manufacturer": "innotek GmbH",
357
+ "hardwareisa": "x86_64",
358
+ "memorysize_mb": "490.16",
86
359
  "fips_enabled": false,
87
- "fullrun": "false",
88
360
  "grub_version": "0.97",
89
- "has_clustering": false,
90
- "init_systems": [
91
- "rc",
92
- "upstart",
93
- "sysv"
94
- ],
361
+ "physicalprocessorcount": 1,
362
+ "swapsize": "1.50 GB",
363
+ "sshfp_rsa": "SSHFP 1 1 0ef92a59ec8c8208b2971ef121f485923ae8372a\nSSHFP 1 2 ea1c7f40a89cb90a4e6bd2e4bf6c52ba3e6a6d20f6e17301f45dbc8100160e3f",
364
+ "network_eth0": "10.0.2.0",
365
+ "interfaces": "eth0,lo",
366
+ "processor0": "Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz",
367
+ "osfamily": "RedHat",
368
+ "mtu_eth0": "1500",
369
+ "operatingsystemmajrelease": "6",
370
+ "kernelrelease": "2.6.32-696.el6.x86_64",
371
+ "mysql_server_id": 568063,
372
+ "type": "Other",
373
+ "architecture": "x86_64",
374
+ "kernel": "Linux",
375
+ "macaddress": "52:54:00:8A:28:FF",
95
376
  "runlevel": "3",
96
- "shmall": "4294967296",
97
- "tmp_mount_dev_shm": "rw,relatime",
98
- "tmp_mount_path_dev_shm": "tmpfs",
99
- "tmp_mount_fstype_dev_shm": "tmpfs",
100
- "uid_min": "500",
101
- "is_pe": false,
102
- "puppet_vardir": "/var/lib/puppet",
103
- "root_home": "/root",
104
- "has_tpm": false
377
+ "filesystems": "ext4,iso9660",
378
+ "has_tpm": false,
379
+ "uptime_hours": 0,
380
+ "swapsize_mb": "1536.00",
381
+ "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:",
382
+ "uniqueid": "007f0100",
383
+ "puppetversion": "3.8.7",
384
+ "memoryfree_mb": "326.41"
105
385
  }