onceover 3.20.0 → 3.22.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (150) hide show
  1. checksums.yaml +4 -4
  2. data/.devcontainer/devcontainer.json +31 -0
  3. data/.github/workflows/release.yaml +24 -0
  4. data/.github/workflows/tests.yaml +5 -8
  5. data/.gitignore +0 -1
  6. data/.rubocop.yml +1 -1
  7. data/.vscode/extensions.json +4 -0
  8. data/Gemfile +12 -0
  9. data/README.md +46 -2
  10. data/Rakefile +1 -0
  11. data/cucumber.yml +1 -0
  12. data/factsets/Windows_Server-2008r2-64.json +184 -184
  13. data/factsets/Windows_Server-2012r2-64.json +165 -165
  14. data/factsets/windows-10-64.json +104 -104
  15. data/features/step_definitions/run.rb +4 -0
  16. data/features/zzz_run.feature +2 -8
  17. data/lib/onceover/beaker/spec_helper.rb +8 -8
  18. data/lib/onceover/cli/run.rb +1 -0
  19. data/lib/onceover/cli/show.rb +1 -1
  20. data/lib/onceover/controlrepo.rb +62 -34
  21. data/lib/onceover/deploy.rb +6 -3
  22. data/lib/onceover/rspec/formatters.rb +2 -4
  23. data/lib/onceover/runner.rb +2 -1
  24. data/lib/onceover/test.rb +1 -1
  25. data/lib/onceover/testconfig.rb +4 -2
  26. data/onceover.gemspec +6 -11
  27. data/spec/fixtures/controlrepos/caching/Puppetfile +17 -17
  28. data/spec/fixtures/controlrepos/puppet_controlrepo/.atom-build.json +9 -0
  29. data/spec/fixtures/controlrepos/puppet_controlrepo/.gitignore +5 -0
  30. data/spec/fixtures/controlrepos/puppet_controlrepo/.ruby-version +1 -0
  31. data/spec/fixtures/controlrepos/puppet_controlrepo/.travis.yml +13 -0
  32. data/spec/fixtures/controlrepos/puppet_controlrepo/Gemfile +22 -0
  33. data/spec/fixtures/controlrepos/puppet_controlrepo/Jenkinsfile +50 -0
  34. data/spec/fixtures/controlrepos/puppet_controlrepo/Puppetfile +102 -0
  35. data/spec/fixtures/controlrepos/puppet_controlrepo/README.md +4 -0
  36. data/spec/fixtures/controlrepos/puppet_controlrepo/Rakefile +6 -0
  37. data/spec/fixtures/controlrepos/puppet_controlrepo/data/common.yaml +558 -0
  38. data/spec/fixtures/controlrepos/puppet_controlrepo/data/datacenter/melbourne.yaml +12 -0
  39. data/spec/fixtures/controlrepos/puppet_controlrepo/data/datacenter/singapore.yaml +12 -0
  40. data/spec/fixtures/controlrepos/puppet_controlrepo/data/environments/development.yaml +3 -0
  41. data/spec/fixtures/controlrepos/puppet_controlrepo/data/environments/production.yaml +3 -0
  42. data/spec/fixtures/controlrepos/puppet_controlrepo/data/size/vol.large.yaml +27 -0
  43. data/spec/fixtures/controlrepos/puppet_controlrepo/environment.conf +3 -0
  44. data/spec/fixtures/controlrepos/puppet_controlrepo/hiera.yaml +25 -0
  45. data/spec/fixtures/controlrepos/puppet_controlrepo/manifests/site.pp +11 -0
  46. data/spec/fixtures/controlrepos/puppet_controlrepo/scripts/code_manager_config_version.rb +19 -0
  47. data/spec/fixtures/controlrepos/puppet_controlrepo/scripts/config_version.rb +25 -0
  48. data/spec/fixtures/controlrepos/puppet_controlrepo/scripts/config_version.sh +12 -0
  49. data/spec/fixtures/controlrepos/puppet_controlrepo/scripts/count_changed_classes.rb +26 -0
  50. data/spec/fixtures/controlrepos/puppet_controlrepo/scripts/get_changed_classes.rb +26 -0
  51. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/console/functions/user/token.pp +10 -0
  52. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/console/manifests/init.pp +14 -0
  53. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/console/manifests/user.pp +35 -0
  54. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/deployments/lib/puppet/functions/deployments/generate.rb +15 -0
  55. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/deployments/plans/signed_deployment.pp +126 -0
  56. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/facts.d/test.sh +2 -0
  57. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/files/artifactory/config_descriptor.xml +265 -0
  58. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/files/autosign.sh +23 -0
  59. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/files/hudson.tasks.Shell.xml +4 -0
  60. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/files/motd +4 -0
  61. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/files/polar_clock/index.html +198 -0
  62. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/apt.pp +9 -0
  63. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/aws_nodes.pp +54 -0
  64. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base/aws.pp +9 -0
  65. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base/rhel.pp +50 -0
  66. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base/windows/hardening.pp +57 -0
  67. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base/windows.pp +52 -0
  68. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base.pp +79 -0
  69. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/cd4pe/artifactory.pp +64 -0
  70. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/cd4pe/connection.pp +95 -0
  71. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/cd4pe/haproxy.pp +65 -0
  72. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/cd4pe/replicated.pp +53 -0
  73. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/compile/balancer.pp +28 -0
  74. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/compile/master.pp +19 -0
  75. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/dns/host_record.pp +16 -0
  76. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/dns/server.pp +66 -0
  77. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/docker.pp +5 -0
  78. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/base.pp +43 -0
  79. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/core/database_connection.pp +42 -0
  80. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/core.pp +72 -0
  81. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/ctrl.pp +57 -0
  82. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/database.pp +32 -0
  83. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/exec.pp +11 -0
  84. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/file_sync/client.pp +165 -0
  85. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/file_sync/master_patch.pp +37 -0
  86. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/grafana/dashboard.pp +17 -0
  87. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/haproxy.pp +43 -0
  88. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/init.pp +3 -0
  89. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/jenkins/plugins.pp +87 -0
  90. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/jenkins.pp +65 -0
  91. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/jira/aio.pp +39 -0
  92. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/jira/app.pp +27 -0
  93. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/jira/db.pp +25 -0
  94. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/metrics/collectd/compile.pp +82 -0
  95. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/metrics/collectd.pp +28 -0
  96. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/metrics/dashboard.pp +28 -0
  97. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/mysql_server.pp +7 -0
  98. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/nginx.pp +24 -0
  99. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/polar_clock.pp +55 -0
  100. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/puppetmaster/api_auth.pp +82 -0
  101. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/puppetmaster/autosign.pp +33 -0
  102. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/puppetmaster/aws.pp +58 -0
  103. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/puppetmaster/tuning.pp +139 -0
  104. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/puppetmaster.pp +139 -0
  105. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/rvm.pp +13 -0
  106. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/sumologic.pp +11 -0
  107. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/sunburst/windows.pp +104 -0
  108. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/vagrant.pp +25 -0
  109. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/windows/webserver.pp +27 -0
  110. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/cd4pe/connection_script.sh.epp +110 -0
  111. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/controlrepo_deploy_jenkins_job.xml.epp +51 -0
  112. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/dashboard.json.epp +403 -0
  113. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/jenkins_secret_text.json.epp +1 -0
  114. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/onceover_jenkins_job.xml.epp +51 -0
  115. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/userdata.epp +17 -0
  116. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/cd4pe.pp +29 -0
  117. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/clock.pp +16 -0
  118. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/compile/balancer.pp +5 -0
  119. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/compile/master.pp +5 -0
  120. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/eyeunify/aio.pp +10 -0
  121. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/eyeunify/controller.pp +10 -0
  122. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/eyeunify/database.pp +7 -0
  123. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/eyeunify/exec.pp +6 -0
  124. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/init.pp +3 -0
  125. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/lb.pp +14 -0
  126. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/metrics.pp +5 -0
  127. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/mysql.pp +13 -0
  128. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/windows/base.pp +5 -0
  129. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/windows/webserver.pp +6 -0
  130. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/.gitignore +5 -0
  131. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/acceptance/nodesets/onceover-nodes.yml +94 -0
  132. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/classes/test_spec.rb +8 -0
  133. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/factsets/CentOS-7.0-64-master-2017.3.2.json +531 -0
  134. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/factsets/CentOS-7.0-64-master.json +429 -0
  135. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/factsets/CentOS-7.0-64.json +353 -0
  136. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/factsets/Windows_Server-2008r2-64.json +184 -0
  137. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/factsets/Windows_Server-2012r2-64.json +165 -0
  138. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/hiera.yaml +18 -0
  139. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/matchers/file_matchers.rb +16 -0
  140. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/onceover.yaml +54 -0
  141. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/pre_conditions/site.pp +150 -0
  142. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/r10k.yaml +2 -0
  143. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/shared_examples/helper.rb +91 -0
  144. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/unit/00_parse_spec.rb +76 -0
  145. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/unit/01_linting_spec_example.rb +69 -0
  146. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/unit/03_puppetfile_spec_example.rb +35 -0
  147. data/templates/spec_helper.rb.erb +0 -2
  148. data/templates/test_spec.rb.erb +3 -0
  149. metadata +136 -77
  150. data/.gitmodules +0 -4
@@ -0,0 +1,353 @@
1
+ {
2
+ "name": "centos7b.syd.puppetlabs.demo",
3
+ "values": {
4
+ "initsystem": "systemd",
5
+ "aio_agent_build": "1.2.2",
6
+ "aio_agent_version": "1.2.2",
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
+ "datacenter": "sydney",
26
+ "dhcp_servers": {
27
+ "enp0s3": "10.0.2.2",
28
+ "enp0s8": "192.168.56.100",
29
+ "system": "10.0.2.2"
30
+ },
31
+ "disks": {
32
+ "sda": {
33
+ "model": "VBOX HARDDISK",
34
+ "size": "20.00 GiB",
35
+ "size_bytes": 21474836480,
36
+ "vendor": "ATA"
37
+ }
38
+ },
39
+ "dmi": {
40
+ "bios": {
41
+ "release_date": "12/01/2006",
42
+ "vendor": "innotek GmbH",
43
+ "version": "VirtualBox"
44
+ },
45
+ "board": {
46
+ "manufacturer": "Oracle Corporation",
47
+ "product": "VirtualBox",
48
+ "serial_number": "0"
49
+ },
50
+ "chassis": {
51
+ "type": "Other"
52
+ },
53
+ "manufacturer": "innotek GmbH",
54
+ "product": {
55
+ "name": "VirtualBox",
56
+ "serial_number": "0",
57
+ "uuid": "9D7BE471-F3DA-47EE-B023-F659129270EF"
58
+ }
59
+ },
60
+ "domain": "syd.puppetlabs.demo",
61
+ "facterversion": "3.0.2",
62
+ "filesystems": "xfs",
63
+ "fqdn": "centos7b.syd.puppetlabs.demo",
64
+ "gid": "root",
65
+ "hardwareisa": "x86_64",
66
+ "hardwaremodel": "x86_64",
67
+ "homedir": "/root",
68
+ "hostname": "centos7b",
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:fe39:832c",
82
+ "ipaddress6_lo": "::1",
83
+ "ipaddress_enp0s3": "10.0.2.15",
84
+ "ipaddress_enp0s8": "10.20.1.92",
85
+ "ipaddress_lo": "127.0.0.1",
86
+ "iptables_version": "1.4.21",
87
+ "is_admin": true,
88
+ "is_pe": false,
89
+ "is_virtual": true,
90
+ "kernel": "Linux",
91
+ "kernelmajversion": "3.10",
92
+ "kernelrelease": "3.10.0-123.el7.x86_64",
93
+ "kernelversion": "3.10.0",
94
+ "load_averages": {
95
+ "15m": 0.05,
96
+ "1m": 0.26,
97
+ "5m": 0.12
98
+ },
99
+ "macaddress": "08:00:27:39:18:3c",
100
+ "macaddress_enp0s3": "08:00:27:39:18:3c",
101
+ "macaddress_enp0s8": "08:00:27:39:83:2c",
102
+ "manufacturer": "innotek GmbH",
103
+ "memory": {
104
+ "swap": {
105
+ "available": "1.03 GiB",
106
+ "available_bytes": 1107292160,
107
+ "capacity": "0%",
108
+ "total": "1.03 GiB",
109
+ "total_bytes": 1107292160,
110
+ "used": "0 bytes",
111
+ "used_bytes": 0
112
+ },
113
+ "system": {
114
+ "available": "297.76 MiB",
115
+ "available_bytes": 312225792,
116
+ "capacity": "39.28%",
117
+ "total": "490.41 MiB",
118
+ "total_bytes": 514228224,
119
+ "used": "192.64 MiB",
120
+ "used_bytes": 202002432
121
+ }
122
+ },
123
+ "memoryfree": "297.76 MiB",
124
+ "memoryfree_mb": 297.76171875,
125
+ "memorysize": "490.41 MiB",
126
+ "memorysize_mb": 490.40625,
127
+ "mountpoints": {
128
+ "/": {
129
+ "available": "17.30 GiB",
130
+ "available_bytes": 18574749696,
131
+ "capacity": "6.32%",
132
+ "device": "/dev/mapper/centos-root",
133
+ "filesystem": "xfs",
134
+ "options": [
135
+ "rw",
136
+ "relatime",
137
+ "attr2",
138
+ "inode64",
139
+ "noquota"
140
+ ],
141
+ "size": "18.47 GiB",
142
+ "size_bytes": 19828572160,
143
+ "used": "1.17 GiB",
144
+ "used_bytes": 1253822464
145
+ },
146
+ "/boot": {
147
+ "available": "393.11 MiB",
148
+ "available_bytes": 412209152,
149
+ "capacity": "20.85%",
150
+ "device": "/dev/sda1",
151
+ "filesystem": "xfs",
152
+ "options": [
153
+ "rw",
154
+ "relatime",
155
+ "attr2",
156
+ "inode64",
157
+ "noquota"
158
+ ],
159
+ "size": "496.67 MiB",
160
+ "size_bytes": 520794112,
161
+ "used": "103.55 MiB",
162
+ "used_bytes": 108584960
163
+ }
164
+ },
165
+ "mtu_enp0s3": 1500,
166
+ "mtu_enp0s8": 1500,
167
+ "mtu_lo": 65536,
168
+ "mysql_server_id": 8563388,
169
+ "netmask": "255.255.255.0",
170
+ "netmask6": "ffff:ffff:ffff:ffff::",
171
+ "netmask6_enp0s3": "ffff:ffff:ffff:ffff::",
172
+ "netmask6_enp0s8": "ffff:ffff:ffff:ffff::",
173
+ "netmask6_lo": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
174
+ "netmask_enp0s3": "255.255.255.0",
175
+ "netmask_enp0s8": "255.255.255.0",
176
+ "netmask_lo": "255.0.0.0",
177
+ "network": "10.0.2.0",
178
+ "network6": "fe80::",
179
+ "network6_enp0s3": "fe80::",
180
+ "network6_enp0s8": "fe80::",
181
+ "network6_lo": "::1",
182
+ "network_enp0s3": "10.0.2.0",
183
+ "network_enp0s8": "10.20.1.0",
184
+ "network_lo": "127.0.0.0",
185
+ "networking": {
186
+ "dhcp": "10.0.2.2",
187
+ "domain": "syd.puppetlabs.demo",
188
+ "fqdn": "centos7b.syd.puppetlabs.demo",
189
+ "hostname": "centos7b",
190
+ "interfaces": {
191
+ "enp0s3": {
192
+ "dhcp": "10.0.2.2",
193
+ "ip": "10.0.2.15",
194
+ "ip6": "fe80::a00:27ff:fe39:183c",
195
+ "mac": "08:00:27:39:18:3c",
196
+ "mtu": 1500,
197
+ "netmask": "255.255.255.0",
198
+ "netmask6": "ffff:ffff:ffff:ffff::",
199
+ "network": "10.0.2.0",
200
+ "network6": "fe80::"
201
+ },
202
+ "enp0s8": {
203
+ "dhcp": "192.168.56.100",
204
+ "ip": "10.20.1.92",
205
+ "ip6": "fe80::a00:27ff:fe39:832c",
206
+ "mac": "08:00:27:39:83:2c",
207
+ "mtu": 1500,
208
+ "netmask": "255.255.255.0",
209
+ "netmask6": "ffff:ffff:ffff:ffff::",
210
+ "network": "10.20.1.0",
211
+ "network6": "fe80::"
212
+ },
213
+ "lo": {
214
+ "ip": "127.0.0.1",
215
+ "ip6": "::1",
216
+ "mtu": 65536,
217
+ "netmask": "255.0.0.0",
218
+ "netmask6": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
219
+ "network": "127.0.0.0",
220
+ "network6": "::1"
221
+ }
222
+ },
223
+ "ip": "10.0.2.15",
224
+ "ip6": "fe80::a00:27ff:fe39:183c",
225
+ "mac": "08:00:27:39:18:3c",
226
+ "mtu": 1500,
227
+ "netmask": "255.255.255.0",
228
+ "netmask6": "ffff:ffff:ffff:ffff::",
229
+ "network": "10.0.2.0",
230
+ "network6": "fe80::"
231
+ },
232
+ "operatingsystem": "CentOS",
233
+ "operatingsystemmajrelease": "7",
234
+ "operatingsystemrelease": "7.0.1406",
235
+ "os": {
236
+ "architecture": "x86_64",
237
+ "family": "RedHat",
238
+ "hardware": "x86_64",
239
+ "name": "CentOS",
240
+ "release": {
241
+ "full": "7.0.1406",
242
+ "major": "7",
243
+ "minor": "0"
244
+ },
245
+ "selinux": {
246
+ "enabled": false
247
+ }
248
+ },
249
+ "osfamily": "RedHat",
250
+ "partitions": {
251
+ "/dev/mapper/centos-root": {
252
+ "filesystem": "xfs",
253
+ "mount": "/",
254
+ "size": "0 bytes",
255
+ "size_bytes": 0,
256
+ "uuid": "db651e5f-a2c2-4236-9570-6226f63e1fcd"
257
+ },
258
+ "/dev/mapper/centos-swap": {
259
+ "filesystem": "swap",
260
+ "size": "0 bytes",
261
+ "size_bytes": 0,
262
+ "uuid": "ff4ec16c-28c0-4715-846d-11e7c9b4e53b"
263
+ },
264
+ "/dev/sda1": {
265
+ "filesystem": "xfs",
266
+ "mount": "/boot",
267
+ "size": "500.00 MiB",
268
+ "size_bytes": 524288000,
269
+ "uuid": "39ce4ad1-4e9d-49a4-bce0-8a30b459490a"
270
+ },
271
+ "/dev/sda2": {
272
+ "filesystem": "LVM2_member",
273
+ "size": "19.51 GiB",
274
+ "size_bytes": 20949499904,
275
+ "uuid": "pg7zVv-M3hI-zpjY-eYlZ-06aD-ZRO2-J30GLd"
276
+ }
277
+ },
278
+ "path": "/opt/puppetlabs/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin",
279
+ "pe_concat_basedir": "/opt/puppetlabs/puppet/cache/pe_concat",
280
+ "pe_razor_server_version": "package pe-razor-server is not installed",
281
+ "physicalprocessorcount": 1,
282
+ "platform_symlink_writable": true,
283
+ "platform_tag": "el-7-x86_64",
284
+ "processor0": "Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz",
285
+ "processorcount": 1,
286
+ "processors": {
287
+ "count": 1,
288
+ "isa": "x86_64",
289
+ "models": [
290
+ "Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz"
291
+ ],
292
+ "physicalcount": 1
293
+ },
294
+ "productname": "VirtualBox",
295
+ "puppet_files_dir_present": false,
296
+ "puppet_vardir": "/opt/puppetlabs/puppet/cache",
297
+ "puppetversion": "4.2.1",
298
+ "root_home": "/root",
299
+ "ruby": {
300
+ "platform": "x86_64-linux",
301
+ "sitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
302
+ "version": "2.1.6"
303
+ },
304
+ "rubyplatform": "x86_64-linux",
305
+ "rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
306
+ "rubyversion": "2.1.6",
307
+ "selinux": false,
308
+ "serialnumber": "0",
309
+ "ssh": {
310
+ "ecdsa": {
311
+ "fingerprints": {
312
+ "sha1": "SSHFP 3 1 91edfdf5e7e098f4392606865c017dabc26804bb",
313
+ "sha256": "SSHFP 3 2 f00c65a1884bfec52db11de89254f0bfd46baf9e759546654c94371a05ee0dba"
314
+ },
315
+ "key": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBBcSUcHQOfBDZElr6PBmxc/4ZDaIhsugXM7OE2SQj35iOMCN/I3XfINMo8SvBIQ6CsBqPnzgbKRBs7e1FPFnsT4="
316
+ },
317
+ "rsa": {
318
+ "fingerprints": {
319
+ "sha1": "SSHFP 1 1 f25e9ad2faddbe75263cfee4fa97dc965bc1d581",
320
+ "sha256": "SSHFP 1 2 0173e386031a134e4cbfb7f6971788761a5aa3d9e39dafcf163f003de2537199"
321
+ },
322
+ "key": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDLMo35gwbuqQvRq1gy6L8vddeyMNBYr5WPVcftMKSJR1jmwzxcZ+h0AEb3KPfoMHkqe9Xy+3oN981qe5ZCE780HO884AaXzXry9zdWQjGysrI+zHQbqbpOkYAGsVbJiQ7VnH7lMVZo2jCbABj4OdsbeCOeP3oDXTNCTaWWdQChzqvYgNBvb0mg/na1l0naQ1nsJYD85O8ZRQ9U/JOADMaOjummfOb2z7MgskZ9abm5eFCCQl+wUUNXKqQx+uyVM4lyyoTHpW3M2IV0P9wxhWJF6eovwyREGuMgJCs6kbHCFty7HtAYbzziabgQav8pMe68aBqjshbpU6ll/+aXWhD1"
323
+ }
324
+ },
325
+ "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBBcSUcHQOfBDZElr6PBmxc/4ZDaIhsugXM7OE2SQj35iOMCN/I3XfINMo8SvBIQ6CsBqPnzgbKRBs7e1FPFnsT4=",
326
+ "sshfp_ecdsa": "SSHFP 3 1 91edfdf5e7e098f4392606865c017dabc26804bb\nSSHFP 3 2 f00c65a1884bfec52db11de89254f0bfd46baf9e759546654c94371a05ee0dba",
327
+ "sshfp_rsa": "SSHFP 1 1 f25e9ad2faddbe75263cfee4fa97dc965bc1d581\nSSHFP 1 2 0173e386031a134e4cbfb7f6971788761a5aa3d9e39dafcf163f003de2537199",
328
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDLMo35gwbuqQvRq1gy6L8vddeyMNBYr5WPVcftMKSJR1jmwzxcZ+h0AEb3KPfoMHkqe9Xy+3oN981qe5ZCE780HO884AaXzXry9zdWQjGysrI+zHQbqbpOkYAGsVbJiQ7VnH7lMVZo2jCbABj4OdsbeCOeP3oDXTNCTaWWdQChzqvYgNBvb0mg/na1l0naQ1nsJYD85O8ZRQ9U/JOADMaOjummfOb2z7MgskZ9abm5eFCCQl+wUUNXKqQx+uyVM4lyyoTHpW3M2IV0P9wxhWJF6eovwyREGuMgJCs6kbHCFty7HtAYbzziabgQav8pMe68aBqjshbpU6ll/+aXWhD1",
329
+ "staging_http_get": "curl",
330
+ "swapfree": "1.03 GiB",
331
+ "swapfree_mb": 1055.99609375,
332
+ "swapsize": "1.03 GiB",
333
+ "swapsize_mb": 1055.99609375,
334
+ "system_uptime": {
335
+ "days": 0,
336
+ "hours": 0,
337
+ "seconds": 78,
338
+ "uptime": "0:01 hours"
339
+ },
340
+ "timezone": "UTC",
341
+ "uptime": "0:01 hours",
342
+ "uptime_days": 0,
343
+ "uptime_hours": 0,
344
+ "uptime_seconds": 78,
345
+ "uuid": "9D7BE471-F3DA-47EE-B023-F659129270EF",
346
+ "virtual": "virtualbox",
347
+ "clientcert": "centos7b.syd.puppetlabs.demo",
348
+ "clientversion": "4.2.1",
349
+ "clientnoop": false
350
+ },
351
+ "timestamp": "2015-09-23T23:50:15.484459763+00:00",
352
+ "expiration": "2015-09-24T00:20:15.484744482+00:00"
353
+ }
@@ -0,0 +1,184 @@
1
+ {
2
+ "name": "server2008r2a.pdx.puppetlabs.demo",
3
+ "values": {
4
+ "choco_install_path": "C:\\choco",
5
+ "agent_specified_environment": "production",
6
+ "aio_agent_build": "1.2.2",
7
+ "aio_agent_version": "1.2.2",
8
+ "architecture": "x64",
9
+ "common_appdata": "C:\\ProgramData",
10
+ "concat_basedir": "C:/ProgramData/PuppetLabs/puppet/cache/concat",
11
+ "custom_auth_conf": "false",
12
+ "datacenter": "portland",
13
+ "dhcp_servers": {
14
+ "Local Area Connection": "10.0.2.2"
15
+ },
16
+ "dmi": {
17
+ "manufacturer": "innotek GmbH",
18
+ "product": {
19
+ "name": "VirtualBox",
20
+ "serial_number": "0"
21
+ }
22
+ },
23
+ "domain": "pdx.puppetlabs.demo",
24
+ "env_windows_installdir": "C:\\Program Files\\Puppet Labs\\Puppet",
25
+ "facterversion": "3.0.2",
26
+ "fqdn": "server2008r2a.pdx.puppetlabs.demo",
27
+ "hardwareisa": "x64",
28
+ "hardwaremodel": "x86_64",
29
+ "hostname": "server2008r2a",
30
+ "id": "SERVER2008R2A\\vagrant",
31
+ "identity": {
32
+ "user": "SERVER2008R2A\\vagrant"
33
+ },
34
+ "iis_version": "Get-ItemProperty : Cannot find path 'HKLM:\\SOFTWARE\\Microsoft\\InetStp\\' because it does not exist.\nAt line:1 char:18\n+ (Get-ItemProperty <<<< HKLM:\\SOFTWARE\\Microsoft\\InetStp\\ -Name VersionString).VersionString.SubString(8,3)\n + CategoryInfo : ObjectNotFound: (HKLM:\\SOFTWARE\\Microsoft\\InetStp\\:String) [Get-ItemProperty], ItemNotFo \n undException\n + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetItemPropertyCommand\n \nYou cannot call a method on a null-valued expression.\nAt line:1 char:97\n+ (Get-ItemProperty HKLM:\\SOFTWARE\\Microsoft\\InetStp\\ -Name VersionString).VersionString.SubString <<<< (8,3)\n + CategoryInfo : InvalidOperation: (SubString:String) [], RuntimeException\n + FullyQualifiedErrorId : InvokeMethodOnNull\n \n",
35
+ "interfaces": "Local Area Connection 2,Local Area Connection",
36
+ "ipaddress": "10.20.1.101",
37
+ "ipaddress6": "fe80::2c34:c353:1aaa:a872%13",
38
+ "ipaddress6_Local Area Connection": "fe80::50f8:86eb:f103:75b%12",
39
+ "ipaddress6_Local Area Connection 2": "fe80::2c34:c353:1aaa:a872%13",
40
+ "ipaddress_Local Area Connection": "10.0.2.15",
41
+ "ipaddress_Local Area Connection 2": "10.20.1.101",
42
+ "is_admin": true,
43
+ "is_pe": false,
44
+ "is_virtual": true,
45
+ "kernel": "windows",
46
+ "kernelmajversion": "6.1",
47
+ "kernelrelease": "6.1.7600",
48
+ "kernelversion": "6.1.7600",
49
+ "macaddress": "08:00:27:7B:C7:40",
50
+ "macaddress_Local Area Connection": "08:00:27:AB:52:FB",
51
+ "macaddress_Local Area Connection 2": "08:00:27:7B:C7:40",
52
+ "manufacturer": "innotek GmbH",
53
+ "memory": {
54
+ "system": {
55
+ "available": "448.14 MiB",
56
+ "available_bytes": 469909504,
57
+ "capacity": "56.22%",
58
+ "total": "1023.55 MiB",
59
+ "total_bytes": 1073274880,
60
+ "used": "575.41 MiB",
61
+ "used_bytes": 603365376
62
+ }
63
+ },
64
+ "memoryfree": "448.14 MiB",
65
+ "memoryfree_mb": 448.140625,
66
+ "memorysize": "1023.55 MiB",
67
+ "memorysize_mb": 1023.5546875,
68
+ "mtu_Local Area Connection": 1500,
69
+ "mtu_Local Area Connection 2": 1500,
70
+ "mysql_server_id": 8583088,
71
+ "netmask": "255.255.255.0",
72
+ "netmask6": "ffff:ffff:ffff:ffff::",
73
+ "netmask6_Local Area Connection": "ffff:ffff:ffff:ffff::",
74
+ "netmask6_Local Area Connection 2": "ffff:ffff:ffff:ffff::",
75
+ "netmask_Local Area Connection": "255.255.255.0",
76
+ "netmask_Local Area Connection 2": "255.255.255.0",
77
+ "network": "10.20.1.0",
78
+ "network6": "fe80::%13",
79
+ "network6_Local Area Connection": "fe80::%12",
80
+ "network6_Local Area Connection 2": "fe80::%13",
81
+ "network_Local Area Connection": "10.0.2.0",
82
+ "network_Local Area Connection 2": "10.20.1.0",
83
+ "networking": {
84
+ "domain": "pdx.puppetlabs.demo",
85
+ "fqdn": "server2008r2a.pdx.puppetlabs.demo",
86
+ "hostname": "server2008r2a",
87
+ "interfaces": {
88
+ "Local Area Connection": {
89
+ "dhcp": "10.0.2.2",
90
+ "ip": "10.0.2.15",
91
+ "ip6": "fe80::50f8:86eb:f103:75b%12",
92
+ "mac": "08:00:27:AB:52:FB",
93
+ "mtu": 1500,
94
+ "netmask": "255.255.255.0",
95
+ "netmask6": "ffff:ffff:ffff:ffff::",
96
+ "network": "10.0.2.0",
97
+ "network6": "fe80::%12"
98
+ },
99
+ "Local Area Connection 2": {
100
+ "ip": "10.20.1.101",
101
+ "ip6": "fe80::2c34:c353:1aaa:a872%13",
102
+ "mac": "08:00:27:7B:C7:40",
103
+ "mtu": 1500,
104
+ "netmask": "255.255.255.0",
105
+ "netmask6": "ffff:ffff:ffff:ffff::",
106
+ "network": "10.20.1.0",
107
+ "network6": "fe80::%13"
108
+ }
109
+ },
110
+ "ip": "10.20.1.101",
111
+ "ip6": "fe80::2c34:c353:1aaa:a872%13",
112
+ "mac": "08:00:27:7B:C7:40",
113
+ "mtu": 1500,
114
+ "netmask": "255.255.255.0",
115
+ "netmask6": "ffff:ffff:ffff:ffff::",
116
+ "network": "10.20.1.0",
117
+ "network6": "fe80::%13"
118
+ },
119
+ "operatingsystem": "windows",
120
+ "operatingsystemmajrelease": "2008 R2",
121
+ "operatingsystemrelease": "2008 R2",
122
+ "os": {
123
+ "architecture": "x64",
124
+ "family": "windows",
125
+ "hardware": "x86_64",
126
+ "name": "windows",
127
+ "release": {
128
+ "full": "2008 R2",
129
+ "major": "2008 R2"
130
+ },
131
+ "windows": {
132
+ "system32": "C:\\Windows\\system32"
133
+ }
134
+ },
135
+ "osfamily": "windows",
136
+ "path": "C:/Program Files/Puppet Labs/Puppet/facter/bin;C:\\Program Files\\Puppet Labs\\Puppet\\puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\facter\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\hiera\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\mcollective\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\sys\\ruby\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\sys\\tools\\bin;%SystemRoot%\\system32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\ProgramData\\chocolatey\\bin;",
137
+ "pe_concat_basedir": "C:/ProgramData/PuppetLabs/puppet/cache/pe_concat",
138
+ "physicalprocessorcount": 1,
139
+ "platform_symlink_writable": false,
140
+ "processor0": "Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz",
141
+ "processorcount": 1,
142
+ "processors": {
143
+ "count": 1,
144
+ "isa": "x64",
145
+ "models": [
146
+ "Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz"
147
+ ],
148
+ "physicalcount": 1
149
+ },
150
+ "productname": "VirtualBox",
151
+ "puppet_files_dir_present": false,
152
+ "puppet_vardir": "C:/ProgramData/PuppetLabs/puppet/cache",
153
+ "puppetversion": "4.2.1",
154
+ "ruby": {
155
+ "platform": "x64-mingw32",
156
+ "sitedir": "C:/Program Files/Puppet Labs/Puppet/sys/ruby/lib/ruby/site_ruby/2.1.0",
157
+ "version": "2.1.6"
158
+ },
159
+ "rubyplatform": "x64-mingw32",
160
+ "rubysitedir": "C:/Program Files/Puppet Labs/Puppet/sys/ruby/lib/ruby/site_ruby/2.1.0",
161
+ "rubyversion": "2.1.6",
162
+ "serialnumber": "0",
163
+ "staging_http_get": "powershell",
164
+ "staging_windir": "C:\\ProgramData\\staging",
165
+ "system32": "C:\\Windows\\system32",
166
+ "system_uptime": {
167
+ "days": 0,
168
+ "hours": 0,
169
+ "seconds": 266,
170
+ "uptime": "0:04 hours"
171
+ },
172
+ "timezone": "Pacific Daylight Time",
173
+ "uptime": "0:04 hours",
174
+ "uptime_days": 0,
175
+ "uptime_hours": 0,
176
+ "uptime_seconds": 266,
177
+ "virtual": "virtualbox",
178
+ "clientcert": "server2008r2a.pdx.puppetlabs.demo",
179
+ "clientversion": "4.2.1",
180
+ "clientnoop": false
181
+ },
182
+ "timestamp": "2015-09-27T23:37:41.296750000-07:00",
183
+ "expiration": "2015-09-28T00:07:41.296750000-07:00"
184
+ }