onceover 3.21.0 → 3.22.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. checksums.yaml +4 -4
  2. data/.devcontainer/devcontainer.json +4 -6
  3. data/.github/workflows/release.yaml +24 -0
  4. data/Gemfile +3 -0
  5. data/README.md +45 -1
  6. data/Rakefile +1 -0
  7. data/cucumber.yml +1 -0
  8. data/features/step_definitions/run.rb +4 -0
  9. data/features/zzz_run.feature +1 -8
  10. data/lib/onceover/beaker/spec_helper.rb +8 -8
  11. data/lib/onceover/controlrepo.rb +3 -3
  12. data/lib/onceover/deploy.rb +1 -1
  13. data/lib/onceover/rspec/formatters.rb +2 -4
  14. data/lib/onceover/runner.rb +1 -1
  15. data/lib/onceover/test.rb +1 -1
  16. data/onceover.gemspec +6 -13
  17. data/spec/fixtures/controlrepos/puppet_controlrepo/.atom-build.json +9 -0
  18. data/spec/fixtures/controlrepos/puppet_controlrepo/.gitignore +5 -0
  19. data/spec/fixtures/controlrepos/puppet_controlrepo/.ruby-version +1 -0
  20. data/spec/fixtures/controlrepos/puppet_controlrepo/.travis.yml +13 -0
  21. data/spec/fixtures/controlrepos/puppet_controlrepo/Gemfile +22 -0
  22. data/spec/fixtures/controlrepos/puppet_controlrepo/Jenkinsfile +50 -0
  23. data/spec/fixtures/controlrepos/puppet_controlrepo/Puppetfile +102 -0
  24. data/spec/fixtures/controlrepos/puppet_controlrepo/README.md +4 -0
  25. data/spec/fixtures/controlrepos/puppet_controlrepo/Rakefile +6 -0
  26. data/spec/fixtures/controlrepos/puppet_controlrepo/data/common.yaml +558 -0
  27. data/spec/fixtures/controlrepos/puppet_controlrepo/data/datacenter/melbourne.yaml +12 -0
  28. data/spec/fixtures/controlrepos/puppet_controlrepo/data/datacenter/singapore.yaml +12 -0
  29. data/spec/fixtures/controlrepos/puppet_controlrepo/data/environments/development.yaml +3 -0
  30. data/spec/fixtures/controlrepos/puppet_controlrepo/data/environments/production.yaml +3 -0
  31. data/spec/fixtures/controlrepos/puppet_controlrepo/data/size/vol.large.yaml +27 -0
  32. data/spec/fixtures/controlrepos/puppet_controlrepo/environment.conf +3 -0
  33. data/spec/fixtures/controlrepos/puppet_controlrepo/hiera.yaml +25 -0
  34. data/spec/fixtures/controlrepos/puppet_controlrepo/manifests/site.pp +11 -0
  35. data/spec/fixtures/controlrepos/puppet_controlrepo/scripts/code_manager_config_version.rb +19 -0
  36. data/spec/fixtures/controlrepos/puppet_controlrepo/scripts/config_version.rb +25 -0
  37. data/spec/fixtures/controlrepos/puppet_controlrepo/scripts/config_version.sh +12 -0
  38. data/spec/fixtures/controlrepos/puppet_controlrepo/scripts/count_changed_classes.rb +26 -0
  39. data/spec/fixtures/controlrepos/puppet_controlrepo/scripts/get_changed_classes.rb +26 -0
  40. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/console/functions/user/token.pp +10 -0
  41. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/console/manifests/init.pp +14 -0
  42. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/console/manifests/user.pp +35 -0
  43. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/deployments/lib/puppet/functions/deployments/generate.rb +15 -0
  44. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/deployments/plans/signed_deployment.pp +126 -0
  45. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/facts.d/test.sh +2 -0
  46. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/files/artifactory/config_descriptor.xml +265 -0
  47. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/files/autosign.sh +23 -0
  48. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/files/hudson.tasks.Shell.xml +4 -0
  49. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/files/motd +4 -0
  50. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/files/polar_clock/index.html +198 -0
  51. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/apt.pp +9 -0
  52. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/aws_nodes.pp +54 -0
  53. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base/aws.pp +9 -0
  54. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base/rhel.pp +50 -0
  55. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base/windows/hardening.pp +57 -0
  56. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base/windows.pp +52 -0
  57. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base.pp +79 -0
  58. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/cd4pe/artifactory.pp +64 -0
  59. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/cd4pe/connection.pp +95 -0
  60. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/cd4pe/haproxy.pp +65 -0
  61. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/cd4pe/replicated.pp +53 -0
  62. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/compile/balancer.pp +28 -0
  63. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/compile/master.pp +19 -0
  64. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/dns/host_record.pp +16 -0
  65. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/dns/server.pp +66 -0
  66. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/docker.pp +5 -0
  67. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/base.pp +43 -0
  68. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/core/database_connection.pp +42 -0
  69. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/core.pp +72 -0
  70. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/ctrl.pp +57 -0
  71. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/database.pp +32 -0
  72. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/exec.pp +11 -0
  73. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/file_sync/client.pp +165 -0
  74. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/file_sync/master_patch.pp +37 -0
  75. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/grafana/dashboard.pp +17 -0
  76. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/haproxy.pp +43 -0
  77. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/init.pp +3 -0
  78. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/jenkins/plugins.pp +87 -0
  79. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/jenkins.pp +65 -0
  80. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/jira/aio.pp +39 -0
  81. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/jira/app.pp +27 -0
  82. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/jira/db.pp +25 -0
  83. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/metrics/collectd/compile.pp +82 -0
  84. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/metrics/collectd.pp +28 -0
  85. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/metrics/dashboard.pp +28 -0
  86. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/mysql_server.pp +7 -0
  87. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/nginx.pp +24 -0
  88. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/polar_clock.pp +55 -0
  89. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/puppetmaster/api_auth.pp +82 -0
  90. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/puppetmaster/autosign.pp +33 -0
  91. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/puppetmaster/aws.pp +58 -0
  92. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/puppetmaster/tuning.pp +139 -0
  93. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/puppetmaster.pp +139 -0
  94. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/rvm.pp +13 -0
  95. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/sumologic.pp +11 -0
  96. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/sunburst/windows.pp +104 -0
  97. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/vagrant.pp +25 -0
  98. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/windows/webserver.pp +27 -0
  99. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/cd4pe/connection_script.sh.epp +110 -0
  100. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/controlrepo_deploy_jenkins_job.xml.epp +51 -0
  101. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/dashboard.json.epp +403 -0
  102. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/jenkins_secret_text.json.epp +1 -0
  103. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/onceover_jenkins_job.xml.epp +51 -0
  104. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/userdata.epp +17 -0
  105. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/cd4pe.pp +29 -0
  106. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/clock.pp +16 -0
  107. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/compile/balancer.pp +5 -0
  108. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/compile/master.pp +5 -0
  109. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/eyeunify/aio.pp +10 -0
  110. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/eyeunify/controller.pp +10 -0
  111. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/eyeunify/database.pp +7 -0
  112. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/eyeunify/exec.pp +6 -0
  113. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/init.pp +3 -0
  114. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/lb.pp +14 -0
  115. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/metrics.pp +5 -0
  116. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/mysql.pp +13 -0
  117. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/windows/base.pp +5 -0
  118. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/windows/webserver.pp +6 -0
  119. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/.gitignore +5 -0
  120. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/acceptance/nodesets/onceover-nodes.yml +94 -0
  121. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/classes/test_spec.rb +8 -0
  122. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/factsets/CentOS-7.0-64-master-2017.3.2.json +531 -0
  123. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/factsets/CentOS-7.0-64-master.json +429 -0
  124. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/factsets/CentOS-7.0-64.json +353 -0
  125. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/factsets/Windows_Server-2008r2-64.json +184 -0
  126. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/factsets/Windows_Server-2012r2-64.json +165 -0
  127. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/hiera.yaml +18 -0
  128. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/matchers/file_matchers.rb +16 -0
  129. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/onceover.yaml +54 -0
  130. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/pre_conditions/site.pp +150 -0
  131. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/r10k.yaml +2 -0
  132. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/shared_examples/helper.rb +91 -0
  133. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/unit/00_parse_spec.rb +76 -0
  134. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/unit/01_linting_spec_example.rb +69 -0
  135. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/unit/03_puppetfile_spec_example.rb +35 -0
  136. data/templates/spec_helper.rb.erb +0 -2
  137. data/templates/test_spec.rb.erb +3 -0
  138. metadata +137 -79
  139. data/.gitmodules +0 -4
@@ -0,0 +1,429 @@
1
+ {
2
+ "name": "master",
3
+ "values": {
4
+ "initsystem": "systemd",
5
+ "aio_agent_build": "1.2.6.331.g7a9bb17",
6
+ "aio_agent_version": "1.2.6.331",
7
+ "architecture": "x86_64",
8
+ "augeas": {
9
+ "version": "1.4.0"
10
+ },
11
+ "augeasversion": "1.4.0",
12
+ "bios_release_date": "12/01/2006",
13
+ "bios_vendor": "innotek GmbH",
14
+ "bios_version": "VirtualBox",
15
+ "blockdevice_sda_model": "VBOX HARDDISK",
16
+ "blockdevice_sda_size": 21474836480,
17
+ "blockdevice_sda_vendor": "ATA",
18
+ "blockdevices": "sda",
19
+ "boardmanufacturer": "Oracle Corporation",
20
+ "boardproductname": "VirtualBox",
21
+ "boardserialnumber": "0",
22
+ "chassistype": "Other",
23
+ "concat_basedir": "/opt/puppetlabs/puppet/cache/concat",
24
+ "custom_auth_conf": "false",
25
+ "dhcp_servers": {
26
+ "enp0s3": "10.0.2.2",
27
+ "enp0s8": "192.168.56.100",
28
+ "system": "10.0.2.2"
29
+ },
30
+ "disks": {
31
+ "sda": {
32
+ "model": "VBOX HARDDISK",
33
+ "size": "20.00 GiB",
34
+ "size_bytes": 21474836480,
35
+ "vendor": "ATA"
36
+ }
37
+ },
38
+ "dmi": {
39
+ "bios": {
40
+ "release_date": "12/01/2006",
41
+ "vendor": "innotek GmbH",
42
+ "version": "VirtualBox"
43
+ },
44
+ "board": {
45
+ "manufacturer": "Oracle Corporation",
46
+ "product": "VirtualBox",
47
+ "serial_number": "0"
48
+ },
49
+ "chassis": {
50
+ "type": "Other"
51
+ },
52
+ "manufacturer": "innotek GmbH",
53
+ "product": {
54
+ "name": "VirtualBox",
55
+ "serial_number": "0",
56
+ "uuid": "C6F03159-5A86-4F33-8FEC-18FEE6A359FD"
57
+ }
58
+ },
59
+ "facterversion": "3.1.1",
60
+ "filesystems": "xfs",
61
+ "fqdn": "master",
62
+ "gid": "root",
63
+ "git_exec_path": "/usr/libexec/git-core",
64
+ "git_html_path": "/usr/share/doc/git-1.8.3.1",
65
+ "git_version": "1.8.3.1",
66
+ "hardwareisa": "x86_64",
67
+ "hardwaremodel": "x86_64",
68
+ "hostname": "master",
69
+ "id": "root",
70
+ "identity": {
71
+ "gid": 0,
72
+ "group": "root",
73
+ "uid": 0,
74
+ "user": "root"
75
+ },
76
+ "interfaces": "enp0s3,enp0s8,lo",
77
+ "ip6tables_version": "1.4.21",
78
+ "ipaddress": "10.0.2.15",
79
+ "ipaddress6": "fe80::a00:27ff:fe39:183c",
80
+ "ipaddress6_enp0s3": "fe80::a00:27ff:fe39:183c",
81
+ "ipaddress6_enp0s8": "fe80::a00:27ff:febe:f383",
82
+ "ipaddress6_lo": "::1",
83
+ "ipaddress_enp0s3": "10.0.2.15",
84
+ "ipaddress_enp0s8": "10.20.1.107",
85
+ "ipaddress_lo": "127.0.0.1",
86
+ "iptables_version": "1.4.21",
87
+ "is_pe": false,
88
+ "is_virtual": true,
89
+ "kernel": "Linux",
90
+ "kernelmajversion": "3.10",
91
+ "kernelrelease": "3.10.0-123.el7.x86_64",
92
+ "kernelversion": "3.10.0",
93
+ "load_averages": {
94
+ "15m": 0.83,
95
+ "1m": 3.09,
96
+ "5m": 2.06
97
+ },
98
+ "macaddress": "08:00:27:39:18:3c",
99
+ "macaddress_enp0s3": "08:00:27:39:18:3c",
100
+ "macaddress_enp0s8": "08:00:27:be:f3:83",
101
+ "manufacturer": "innotek GmbH",
102
+ "memory": {
103
+ "swap": {
104
+ "available": "1.03 GiB",
105
+ "available_bytes": 1107292160,
106
+ "capacity": "0%",
107
+ "total": "1.03 GiB",
108
+ "total_bytes": 1107292160,
109
+ "used": "0 bytes",
110
+ "used_bytes": 0
111
+ },
112
+ "system": {
113
+ "available": "1002.80 MiB",
114
+ "available_bytes": 1051512832,
115
+ "capacity": "73.56%",
116
+ "total": "3.70 GiB",
117
+ "total_bytes": 3976761344,
118
+ "used": "2.72 GiB",
119
+ "used_bytes": 2925248512
120
+ }
121
+ },
122
+ "memoryfree": "1002.80 MiB",
123
+ "memoryfree_mb": 1002.80078125,
124
+ "memorysize": "3.70 GiB",
125
+ "memorysize_mb": 3792.53515625,
126
+ "mountpoints": {
127
+ "/": {
128
+ "available": "16.35 GiB",
129
+ "available_bytes": 17556463616,
130
+ "capacity": "11.46%",
131
+ "device": "/dev/mapper/centos-root",
132
+ "filesystem": "xfs",
133
+ "options": [
134
+ "rw",
135
+ "relatime",
136
+ "attr2",
137
+ "inode64",
138
+ "noquota"
139
+ ],
140
+ "size": "18.47 GiB",
141
+ "size_bytes": 19828572160,
142
+ "used": "2.12 GiB",
143
+ "used_bytes": 2272108544
144
+ },
145
+ "/boot": {
146
+ "available": "393.11 MiB",
147
+ "available_bytes": 412209152,
148
+ "capacity": "20.85%",
149
+ "device": "/dev/sda1",
150
+ "filesystem": "xfs",
151
+ "options": [
152
+ "rw",
153
+ "relatime",
154
+ "attr2",
155
+ "inode64",
156
+ "noquota"
157
+ ],
158
+ "size": "496.67 MiB",
159
+ "size_bytes": 520794112,
160
+ "used": "103.55 MiB",
161
+ "used_bytes": 108584960
162
+ }
163
+ },
164
+ "mtu_enp0s3": 1500,
165
+ "mtu_enp0s8": 1500,
166
+ "mtu_lo": 65536,
167
+ "netmask": "255.255.255.0",
168
+ "netmask6": "ffff:ffff:ffff:ffff::",
169
+ "netmask6_enp0s3": "ffff:ffff:ffff:ffff::",
170
+ "netmask6_enp0s8": "ffff:ffff:ffff:ffff::",
171
+ "netmask6_lo": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
172
+ "netmask_enp0s3": "255.255.255.0",
173
+ "netmask_enp0s8": "255.255.255.0",
174
+ "netmask_lo": "255.0.0.0",
175
+ "network": "10.0.2.0",
176
+ "network6": "fe80::",
177
+ "network6_enp0s3": "fe80::",
178
+ "network6_enp0s8": "fe80::",
179
+ "network6_lo": "::1",
180
+ "network_enp0s3": "10.0.2.0",
181
+ "network_enp0s8": "10.20.1.0",
182
+ "network_lo": "127.0.0.0",
183
+ "networking": {
184
+ "dhcp": "10.0.2.2",
185
+ "domain": "prod.puppet.com",
186
+ "fqdn": "master",
187
+ "hostname": "master",
188
+ "interfaces": {
189
+ "enp0s3": {
190
+ "bindings": [
191
+ {
192
+ "address": "10.0.2.15",
193
+ "netmask": "255.255.255.0",
194
+ "network": "10.0.2.0"
195
+ }
196
+ ],
197
+ "bindings6": [
198
+ {
199
+ "address": "fe80::a00:27ff:fe39:183c",
200
+ "netmask": "ffff:ffff:ffff:ffff::",
201
+ "network": "fe80::"
202
+ }
203
+ ],
204
+ "dhcp": "10.0.2.2",
205
+ "ip": "10.0.2.15",
206
+ "ip6": "fe80::a00:27ff:fe39:183c",
207
+ "mac": "08:00:27:39:18:3c",
208
+ "mtu": 1500,
209
+ "netmask": "255.255.255.0",
210
+ "netmask6": "ffff:ffff:ffff:ffff::",
211
+ "network": "10.0.2.0",
212
+ "network6": "fe80::"
213
+ },
214
+ "enp0s8": {
215
+ "bindings": [
216
+ {
217
+ "address": "10.20.1.107",
218
+ "netmask": "255.255.255.0",
219
+ "network": "10.20.1.0"
220
+ }
221
+ ],
222
+ "bindings6": [
223
+ {
224
+ "address": "fe80::a00:27ff:febe:f383",
225
+ "netmask": "ffff:ffff:ffff:ffff::",
226
+ "network": "fe80::"
227
+ }
228
+ ],
229
+ "dhcp": "192.168.56.100",
230
+ "ip": "10.20.1.107",
231
+ "ip6": "fe80::a00:27ff:febe:f383",
232
+ "mac": "08:00:27:be:f3:83",
233
+ "mtu": 1500,
234
+ "netmask": "255.255.255.0",
235
+ "netmask6": "ffff:ffff:ffff:ffff::",
236
+ "network": "10.20.1.0",
237
+ "network6": "fe80::"
238
+ },
239
+ "lo": {
240
+ "bindings": [
241
+ {
242
+ "address": "127.0.0.1",
243
+ "netmask": "255.0.0.0",
244
+ "network": "127.0.0.0"
245
+ }
246
+ ],
247
+ "bindings6": [
248
+ {
249
+ "address": "::1",
250
+ "netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
251
+ "network": "::1"
252
+ }
253
+ ],
254
+ "ip": "127.0.0.1",
255
+ "ip6": "::1",
256
+ "mtu": 65536,
257
+ "netmask": "255.0.0.0",
258
+ "netmask6": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
259
+ "network": "127.0.0.0",
260
+ "network6": "::1"
261
+ }
262
+ },
263
+ "ip": "10.0.2.15",
264
+ "ip6": "fe80::a00:27ff:fe39:183c",
265
+ "mac": "08:00:27:39:18:3c",
266
+ "mtu": 1500,
267
+ "netmask": "255.255.255.0",
268
+ "netmask6": "ffff:ffff:ffff:ffff::",
269
+ "network": "10.0.2.0",
270
+ "network6": "fe80::",
271
+ "primary": "enp0s3"
272
+ },
273
+ "operatingsystem": "CentOS",
274
+ "operatingsystemmajrelease": "7",
275
+ "operatingsystemrelease": "7.0.1406",
276
+ "os": {
277
+ "architecture": "x86_64",
278
+ "family": "RedHat",
279
+ "hardware": "x86_64",
280
+ "name": "CentOS",
281
+ "release": {
282
+ "full": "7.0.1406",
283
+ "major": "7",
284
+ "minor": "0"
285
+ },
286
+ "selinux": {
287
+ "enabled": false
288
+ }
289
+ },
290
+ "osfamily": "RedHat",
291
+ "partitions": {
292
+ "/dev/mapper/centos-root": {
293
+ "filesystem": "xfs",
294
+ "mount": "/",
295
+ "size": "18.48 GiB",
296
+ "size_bytes": 19839057920,
297
+ "uuid": "db651e5f-a2c2-4236-9570-6226f63e1fcd"
298
+ },
299
+ "/dev/mapper/centos-swap": {
300
+ "filesystem": "swap",
301
+ "size": "1.03 GiB",
302
+ "size_bytes": 1107296256,
303
+ "uuid": "ff4ec16c-28c0-4715-846d-11e7c9b4e53b"
304
+ },
305
+ "/dev/sda1": {
306
+ "filesystem": "xfs",
307
+ "mount": "/boot",
308
+ "size": "500.00 MiB",
309
+ "size_bytes": 524288000,
310
+ "uuid": "39ce4ad1-4e9d-49a4-bce0-8a30b459490a"
311
+ },
312
+ "/dev/sda2": {
313
+ "filesystem": "LVM2_member",
314
+ "size": "19.51 GiB",
315
+ "size_bytes": 20949499904,
316
+ "uuid": "pg7zVv-M3hI-zpjY-eYlZ-06aD-ZRO2-J30GLd"
317
+ }
318
+ },
319
+ "path": "/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/puppetlabs/bin:/root/bin",
320
+ "pe_build": "2015.3.0-rc4-39-g9499e54",
321
+ "pe_concat_basedir": "/opt/puppetlabs/puppet/cache/pe_concat",
322
+ "pe_razor_server_version": "package pe-razor-server is not installed",
323
+ "pe_server_version": "2015.3.0",
324
+ "pe_postgresql_info": {
325
+ "installed_server_version": "11",
326
+ "installed_packages": {
327
+ "pe-postgresql-common": "2019.8-1",
328
+ "pe-postgresql11": "11.8-1",
329
+ "pe-postgresql11-contrib": "11.8-1",
330
+ "pe-postgresql11-pglogical": "2.3.2-1",
331
+ "pe-postgresql11-pgrepack": "1.4.5-1",
332
+ "pe-postgresql11-server": "11.8-1"
333
+ },
334
+ "data_partition_size_bytes": 68707921920,
335
+ "data_partition_available_bytes": 62284185600,
336
+ "versions": {
337
+ "11": {
338
+ "app_dir": "/opt/puppetlabs/server/apps/postgresql/11",
339
+ "data_dir": "/opt/puppetlabs/server/data/postgresql/11",
340
+ "tablespaces": [
341
+ "/opt/puppetlabs/server/data/postgresql/activity/PG_11_201809051",
342
+ "/opt/puppetlabs/server/data/postgresql/classifier/PG_11_201809051",
343
+ "/opt/puppetlabs/server/data/postgresql/orchestrator/PG_11_201809051",
344
+ "/opt/puppetlabs/server/data/postgresql/puppetdb/PG_11_201809051",
345
+ "/opt/puppetlabs/server/data/postgresql/rbac/PG_11_201809051"
346
+ ],
347
+ "used_bytes": 164225024
348
+ }
349
+ }
350
+ },
351
+ "physicalprocessorcount": 1,
352
+ "platform_symlink_writable": true,
353
+ "platform_tag": "el-7-x86_64",
354
+ "processor0": "Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz",
355
+ "processor1": "Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz",
356
+ "processor2": "Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz",
357
+ "processor3": "Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz",
358
+ "processorcount": 4,
359
+ "processors": {
360
+ "count": 4,
361
+ "isa": "x86_64",
362
+ "models": [
363
+ "Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz",
364
+ "Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz",
365
+ "Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz",
366
+ "Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz"
367
+ ],
368
+ "physicalcount": 1
369
+ },
370
+ "productname": "VirtualBox",
371
+ "puppet_files_dir_present": false,
372
+ "puppet_vardir": "/opt/puppetlabs/puppet/cache",
373
+ "puppetversion": "4.3.0",
374
+ "root_home": "/root",
375
+ "ruby": {
376
+ "platform": "x86_64-linux",
377
+ "sitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
378
+ "version": "2.1.7"
379
+ },
380
+ "rubyplatform": "x86_64-linux",
381
+ "rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
382
+ "rubyversion": "2.1.7",
383
+ "selinux": false,
384
+ "serialnumber": "0",
385
+ "ssh": {
386
+ "ecdsa": {
387
+ "fingerprints": {
388
+ "sha1": "SSHFP 3 1 91edfdf5e7e098f4392606865c017dabc26804bb",
389
+ "sha256": "SSHFP 3 2 f00c65a1884bfec52db11de89254f0bfd46baf9e759546654c94371a05ee0dba"
390
+ },
391
+ "key": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBBcSUcHQOfBDZElr6PBmxc/4ZDaIhsugXM7OE2SQj35iOMCN/I3XfINMo8SvBIQ6CsBqPnzgbKRBs7e1FPFnsT4="
392
+ },
393
+ "rsa": {
394
+ "fingerprints": {
395
+ "sha1": "SSHFP 1 1 f25e9ad2faddbe75263cfee4fa97dc965bc1d581",
396
+ "sha256": "SSHFP 1 2 0173e386031a134e4cbfb7f6971788761a5aa3d9e39dafcf163f003de2537199"
397
+ },
398
+ "key": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDLMo35gwbuqQvRq1gy6L8vddeyMNBYr5WPVcftMKSJR1jmwzxcZ+h0AEb3KPfoMHkqe9Xy+3oN981qe5ZCE780HO884AaXzXry9zdWQjGysrI+zHQbqbpOkYAGsVbJiQ7VnH7lMVZo2jCbABj4OdsbeCOeP3oDXTNCTaWWdQChzqvYgNBvb0mg/na1l0naQ1nsJYD85O8ZRQ9U/JOADMaOjummfOb2z7MgskZ9abm5eFCCQl+wUUNXKqQx+uyVM4lyyoTHpW3M2IV0P9wxhWJF6eovwyREGuMgJCs6kbHCFty7HtAYbzziabgQav8pMe68aBqjshbpU6ll/+aXWhD1"
399
+ }
400
+ },
401
+ "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBBcSUcHQOfBDZElr6PBmxc/4ZDaIhsugXM7OE2SQj35iOMCN/I3XfINMo8SvBIQ6CsBqPnzgbKRBs7e1FPFnsT4=",
402
+ "sshfp_ecdsa": "SSHFP 3 1 91edfdf5e7e098f4392606865c017dabc26804bb\nSSHFP 3 2 f00c65a1884bfec52db11de89254f0bfd46baf9e759546654c94371a05ee0dba",
403
+ "sshfp_rsa": "SSHFP 1 1 f25e9ad2faddbe75263cfee4fa97dc965bc1d581\nSSHFP 1 2 0173e386031a134e4cbfb7f6971788761a5aa3d9e39dafcf163f003de2537199",
404
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDLMo35gwbuqQvRq1gy6L8vddeyMNBYr5WPVcftMKSJR1jmwzxcZ+h0AEb3KPfoMHkqe9Xy+3oN981qe5ZCE780HO884AaXzXry9zdWQjGysrI+zHQbqbpOkYAGsVbJiQ7VnH7lMVZo2jCbABj4OdsbeCOeP3oDXTNCTaWWdQChzqvYgNBvb0mg/na1l0naQ1nsJYD85O8ZRQ9U/JOADMaOjummfOb2z7MgskZ9abm5eFCCQl+wUUNXKqQx+uyVM4lyyoTHpW3M2IV0P9wxhWJF6eovwyREGuMgJCs6kbHCFty7HtAYbzziabgQav8pMe68aBqjshbpU6ll/+aXWhD1",
405
+ "staging_http_get": "curl",
406
+ "swapfree": "1.03 GiB",
407
+ "swapfree_mb": 1055.99609375,
408
+ "swapsize": "1.03 GiB",
409
+ "swapsize_mb": 1055.99609375,
410
+ "system_uptime": {
411
+ "days": 0,
412
+ "hours": 0,
413
+ "seconds": 139,
414
+ "uptime": "0:02 hours"
415
+ },
416
+ "timezone": "UTC",
417
+ "uptime": "0:02 hours",
418
+ "uptime_days": 0,
419
+ "uptime_hours": 0,
420
+ "uptime_seconds": 139,
421
+ "uuid": "C6F03159-5A86-4F33-8FEC-18FEE6A359FD",
422
+ "virtual": "virtualbox",
423
+ "clientcert": "master",
424
+ "clientversion": "4.3.0",
425
+ "clientnoop": false
426
+ },
427
+ "timestamp": "2015-11-19T22:56:25.797070700+00:00",
428
+ "expiration": "2015-11-19T23:26:25.797623298+00:00"
429
+ }