onceover 3.21.0 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (191) hide show
  1. checksums.yaml +4 -4
  2. data/.devcontainer/devcontainer.json +4 -6
  3. data/.github/dependabot.yml +17 -0
  4. data/.github/workflows/release.yaml +32 -0
  5. data/.github/workflows/tests.yaml +30 -4
  6. data/.gitignore +2 -1
  7. data/.rubocop.yml +4 -704
  8. data/.rubocop_todo.yml +828 -0
  9. data/CHANGELOG.md +1036 -0
  10. data/Gemfile +9 -0
  11. data/LICENSE +202 -0
  12. data/README.md +122 -32
  13. data/Rakefile +24 -14
  14. data/cucumber.yml +1 -0
  15. data/features/auto_vendored.feature +27 -0
  16. data/features/step_definitions/common.rb +5 -5
  17. data/features/step_definitions/run.rb +4 -0
  18. data/features/support/cache_helper.rb +0 -1
  19. data/features/support/command_helper.rb +0 -2
  20. data/features/support/controlrepo_helper.rb +0 -2
  21. data/features/zzz_run.feature +1 -8
  22. data/lib/onceover/beaker/spec_helper.rb +9 -9
  23. data/lib/onceover/beaker.rb +9 -12
  24. data/lib/onceover/cli/run.rb +1 -0
  25. data/lib/onceover/controlrepo.rb +22 -27
  26. data/lib/onceover/deploy.rb +30 -3
  27. data/lib/onceover/group.rb +1 -3
  28. data/lib/onceover/logger.rb +3 -3
  29. data/lib/onceover/node.rb +0 -2
  30. data/lib/onceover/rake_tasks.rb +9 -4
  31. data/lib/onceover/rspec/formatters.rb +5 -8
  32. data/lib/onceover/runner.rb +1 -1
  33. data/lib/onceover/test.rb +2 -3
  34. data/lib/onceover/testconfig.rb +2 -2
  35. data/lib/onceover/vendored_modules.rb +186 -0
  36. data/onceover.gemspec +26 -30
  37. data/spec/fixtures/controlrepos/caching/spec/factsets/README.md +1 -1
  38. data/spec/fixtures/controlrepos/caching/spec/pre_conditions/README.md +1 -1
  39. data/spec/fixtures/controlrepos/factsets/spec/factsets/README.md +1 -1
  40. data/spec/fixtures/controlrepos/puppet_controlrepo/.atom-build.json +9 -0
  41. data/spec/fixtures/controlrepos/puppet_controlrepo/.gitignore +5 -0
  42. data/spec/fixtures/controlrepos/puppet_controlrepo/.ruby-version +1 -0
  43. data/spec/fixtures/controlrepos/puppet_controlrepo/.travis.yml +13 -0
  44. data/spec/fixtures/controlrepos/puppet_controlrepo/Gemfile +22 -0
  45. data/spec/fixtures/controlrepos/puppet_controlrepo/Jenkinsfile +50 -0
  46. data/spec/fixtures/controlrepos/puppet_controlrepo/Puppetfile +102 -0
  47. data/spec/fixtures/controlrepos/puppet_controlrepo/README.md +4 -0
  48. data/spec/fixtures/controlrepos/puppet_controlrepo/Rakefile +6 -0
  49. data/spec/fixtures/controlrepos/puppet_controlrepo/data/common.yaml +558 -0
  50. data/spec/fixtures/controlrepos/puppet_controlrepo/data/datacenter/melbourne.yaml +12 -0
  51. data/spec/fixtures/controlrepos/puppet_controlrepo/data/datacenter/singapore.yaml +12 -0
  52. data/spec/fixtures/controlrepos/puppet_controlrepo/data/environments/development.yaml +3 -0
  53. data/spec/fixtures/controlrepos/puppet_controlrepo/data/environments/production.yaml +3 -0
  54. data/spec/fixtures/controlrepos/puppet_controlrepo/data/size/vol.large.yaml +27 -0
  55. data/spec/fixtures/controlrepos/puppet_controlrepo/environment.conf +3 -0
  56. data/spec/fixtures/controlrepos/puppet_controlrepo/hiera.yaml +25 -0
  57. data/spec/fixtures/controlrepos/puppet_controlrepo/manifests/site.pp +11 -0
  58. data/spec/fixtures/controlrepos/puppet_controlrepo/scripts/code_manager_config_version.rb +19 -0
  59. data/spec/fixtures/controlrepos/puppet_controlrepo/scripts/config_version.rb +25 -0
  60. data/spec/fixtures/controlrepos/puppet_controlrepo/scripts/config_version.sh +12 -0
  61. data/spec/fixtures/controlrepos/puppet_controlrepo/scripts/count_changed_classes.rb +26 -0
  62. data/spec/fixtures/controlrepos/puppet_controlrepo/scripts/get_changed_classes.rb +26 -0
  63. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/console/functions/user/token.pp +10 -0
  64. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/console/manifests/init.pp +14 -0
  65. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/console/manifests/user.pp +35 -0
  66. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/deployments/lib/puppet/functions/deployments/generate.rb +15 -0
  67. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/deployments/plans/signed_deployment.pp +126 -0
  68. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/facts.d/test.sh +2 -0
  69. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/files/artifactory/config_descriptor.xml +265 -0
  70. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/files/autosign.sh +23 -0
  71. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/files/hudson.tasks.Shell.xml +4 -0
  72. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/files/motd +4 -0
  73. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/files/polar_clock/index.html +198 -0
  74. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/apt.pp +9 -0
  75. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/aws_nodes.pp +54 -0
  76. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base/aws.pp +9 -0
  77. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base/rhel.pp +50 -0
  78. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base/windows/hardening.pp +57 -0
  79. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base/windows.pp +52 -0
  80. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/base.pp +79 -0
  81. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/cd4pe/artifactory.pp +64 -0
  82. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/cd4pe/connection.pp +95 -0
  83. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/cd4pe/haproxy.pp +65 -0
  84. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/cd4pe/replicated.pp +53 -0
  85. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/compile/balancer.pp +28 -0
  86. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/compile/master.pp +19 -0
  87. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/dns/host_record.pp +16 -0
  88. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/dns/server.pp +66 -0
  89. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/docker.pp +5 -0
  90. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/base.pp +43 -0
  91. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/core/database_connection.pp +42 -0
  92. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/core.pp +72 -0
  93. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/ctrl.pp +57 -0
  94. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/database.pp +32 -0
  95. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/eyeunify/exec.pp +11 -0
  96. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/file_sync/client.pp +165 -0
  97. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/file_sync/master_patch.pp +37 -0
  98. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/grafana/dashboard.pp +17 -0
  99. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/haproxy.pp +43 -0
  100. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/init.pp +3 -0
  101. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/jenkins/plugins.pp +87 -0
  102. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/jenkins.pp +65 -0
  103. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/jira/aio.pp +39 -0
  104. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/jira/app.pp +27 -0
  105. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/jira/db.pp +25 -0
  106. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/metrics/collectd/compile.pp +82 -0
  107. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/metrics/collectd.pp +28 -0
  108. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/metrics/dashboard.pp +28 -0
  109. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/mysql_server.pp +7 -0
  110. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/nginx.pp +24 -0
  111. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/polar_clock.pp +55 -0
  112. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/puppetmaster/api_auth.pp +82 -0
  113. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/puppetmaster/autosign.pp +33 -0
  114. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/puppetmaster/aws.pp +58 -0
  115. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/puppetmaster/tuning.pp +139 -0
  116. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/puppetmaster.pp +139 -0
  117. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/rvm.pp +13 -0
  118. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/sumologic.pp +11 -0
  119. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/sunburst/windows.pp +104 -0
  120. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/vagrant.pp +25 -0
  121. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/manifests/windows/webserver.pp +27 -0
  122. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/cd4pe/connection_script.sh.epp +110 -0
  123. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/controlrepo_deploy_jenkins_job.xml.epp +51 -0
  124. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/dashboard.json.epp +403 -0
  125. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/jenkins_secret_text.json.epp +1 -0
  126. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/onceover_jenkins_job.xml.epp +51 -0
  127. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/userdata.epp +17 -0
  128. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/cd4pe.pp +29 -0
  129. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/clock.pp +16 -0
  130. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/compile/balancer.pp +5 -0
  131. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/compile/master.pp +5 -0
  132. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/eyeunify/aio.pp +10 -0
  133. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/eyeunify/controller.pp +10 -0
  134. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/eyeunify/database.pp +7 -0
  135. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/eyeunify/exec.pp +6 -0
  136. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/init.pp +3 -0
  137. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/lb.pp +14 -0
  138. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/metrics.pp +5 -0
  139. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/mysql.pp +13 -0
  140. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/windows/base.pp +5 -0
  141. data/spec/fixtures/controlrepos/puppet_controlrepo/site-modules/role/manifests/windows/webserver.pp +6 -0
  142. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/.gitignore +5 -0
  143. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/acceptance/nodesets/onceover-nodes.yml +94 -0
  144. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/classes/test_spec.rb +8 -0
  145. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/factsets/CentOS-7.0-64-master-2017.3.2.json +531 -0
  146. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/factsets/CentOS-7.0-64-master.json +429 -0
  147. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/factsets/CentOS-7.0-64.json +353 -0
  148. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/factsets/Windows_Server-2008r2-64.json +184 -0
  149. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/factsets/Windows_Server-2012r2-64.json +165 -0
  150. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/hiera.yaml +18 -0
  151. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/matchers/file_matchers.rb +16 -0
  152. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/onceover.yaml +54 -0
  153. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/pre_conditions/site.pp +150 -0
  154. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/r10k.yaml +2 -0
  155. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/shared_examples/helper.rb +91 -0
  156. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/unit/00_parse_spec.rb +76 -0
  157. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/unit/01_linting_spec_example.rb +69 -0
  158. data/spec/fixtures/controlrepos/puppet_controlrepo/spec/unit/03_puppetfile_spec_example.rb +35 -0
  159. data/spec/fixtures/controlrepos/vendored/Puppetfile +3 -0
  160. data/spec/fixtures/controlrepos/vendored/Puppetfile.cron +5 -0
  161. data/spec/fixtures/controlrepos/vendored/environment.conf +1 -0
  162. data/spec/fixtures/controlrepos/vendored/site-modules/role/manifests/cron.pp +9 -0
  163. data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/augeas_core-puppet_agent-7.30.0.json +1 -0
  164. data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/augeas_core-puppet_agent-8.6.0.json +1 -0
  165. data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/cron_core-puppet_agent-7.30.0.json +1 -0
  166. data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/cron_core-puppet_agent-8.6.0.json +1 -0
  167. data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/host_core-puppet_agent-7.30.0.json +1 -0
  168. data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/host_core-puppet_agent-8.6.0.json +1 -0
  169. data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/mount_core-puppet_agent-7.30.0.json +1 -0
  170. data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/mount_core-puppet_agent-8.6.0.json +1 -0
  171. data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/repo_tree-puppet_agent-7.30.0.json +1 -0
  172. data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/repo_tree-puppet_agent-8.6.0.json +1 -0
  173. data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/scheduled_task-puppet_agent-7.30.0.json +1 -0
  174. data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/scheduled_task-puppet_agent-8.6.0.json +1 -0
  175. data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/selinux_core-puppet_agent-7.30.0.json +1 -0
  176. data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/selinux_core-puppet_agent-8.6.0.json +1 -0
  177. data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/sshkeys_core-puppet_agent-7.30.0.json +1 -0
  178. data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/sshkeys_core-puppet_agent-8.6.0.json +1 -0
  179. data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/yumrepo_core-puppet_agent-7.30.0.json +1 -0
  180. data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/yumrepo_core-puppet_agent-8.6.0.json +1 -0
  181. data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/zfs_core-puppet_agent-7.30.0.json +1 -0
  182. data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/zfs_core-puppet_agent-8.6.0.json +1 -0
  183. data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/zone_core-puppet_agent-7.30.0.json +1 -0
  184. data/spec/fixtures/controlrepos/vendored/spec/vendored_modules/zone_core-puppet_agent-8.6.0.json +1 -0
  185. data/spec/onceover/controlrepo_spec.rb +1 -1
  186. data/templates/factsets_README.md.erb +1 -1
  187. data/templates/pre_conditions_README.md.erb +1 -1
  188. data/templates/spec_helper.rb.erb +0 -2
  189. data/templates/test_spec.rb.erb +3 -0
  190. metadata +173 -68
  191. data/.gitmodules +0 -4
@@ -0,0 +1,531 @@
1
+ {
2
+ "name": "master.prod.puppet.com",
3
+ "values": {
4
+ "aio_agent_build": "5.3.3",
5
+ "aio_agent_version": "5.3.3",
6
+ "architecture": "x86_64",
7
+ "augeas": {
8
+ "version": "1.8.1"
9
+ },
10
+ "augeasversion": "1.8.1",
11
+ "bios_release_date": "04/01/2014",
12
+ "bios_vendor": "SeaBIOS",
13
+ "bios_version": "1.9.1-5.el7",
14
+ "blockdevice_vda_size": 68719476736,
15
+ "blockdevice_vda_vendor": "0x1af4",
16
+ "blockdevices": "vda",
17
+ "chassistype": "Other",
18
+ "cidr_facts": {
19
+ "foo": "bar"
20
+ },
21
+ "collectd_version": "5.8.0",
22
+ "dhcp_servers": {
23
+ "eth0": "192.168.0.1",
24
+ "system": "192.168.0.1"
25
+ },
26
+ "dmi": {
27
+ "bios": {
28
+ "release_date": "04/01/2014",
29
+ "vendor": "SeaBIOS",
30
+ "version": "1.9.1-5.el7"
31
+ },
32
+ "chassis": {
33
+ "type": "Other"
34
+ },
35
+ "manufacturer": "Fedora Project",
36
+ "product": {
37
+ "name": "OpenStack Nova",
38
+ "serial_number": "072c6176-42ad-4054-87ee-7e8600e73717",
39
+ "uuid": "7A6E3957-2DEB-E44D-91F3-B66F523F13C1"
40
+ }
41
+ },
42
+ "domain": "prod.puppet.com",
43
+ "ec2_metadata": {
44
+ "ami-id": "ami-00000007",
45
+ "ami-launch-index": "0",
46
+ "ami-manifest-path": "FIXME",
47
+ "block-device-mapping": {
48
+ "ami": "vda",
49
+ "root": "/dev/vda"
50
+ },
51
+ "hostname": "master.prod.puppet.com",
52
+ "instance-action": "none",
53
+ "instance-id": "i-0021c380",
54
+ "instance-type": "g1.xlarge",
55
+ "local-hostname": "master.prod.puppet.com",
56
+ "local-ipv4": "192.168.0.21",
57
+ "placement": {
58
+ "availability-zone": "opdx1"
59
+ },
60
+ "public-hostname": "master.prod.puppet.com",
61
+ "public-ipv4": "10.32.169.61",
62
+ "public-keys": {
63
+ "0": {
64
+ "openssh-key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCsW6oyaz2B3XxbFofHwOHn2gm4GWJVGnBIj+e6rg/LEYQLpO8hKS2TCqXPxI+3zj74YolADS3x+Mt8LCUx+HP9NiMiNoL1Y2ibkplKpLw6i0HbAw8jzPQ/IZTfGEswZKIoMU6GA5jS2BdsILAYYROafQ19cEgC6M3/tanOQciYOqPKVTiF/lVeg3P1HSFcSLf+J6mTQqYkGFJk5FwC1GAa3iIB1ymaEzXk1x+PSd6Hr63D95nLelagV18lrWawVpuOiYi3C8BGMcVinl+W04Rd+p3A7e378hIbjzZ64tUpxapqCYUE7PgTS31kRpXFJ35igIrBr73xgnw9fdn6CyP0D1ZaX8pD56kNpm6bwd9n1Gv9An5NXwknNg8FpqcFaoX16H9tfuF2l6jtmjD3HtZAUVjGkZWBQSpSv3C1gmMhSz0nZp6dTZN68drSt15UZh+uo55gFgzohp9uuSC8/a1G4gxvsgD1xb4+I/nbkVLfW9r7Wbh1vgvBVvQoaqfJq8zY1AGik7rWi3mpP3z4opQeAXDTeYPLm5usN2HVYXstYsg2Ab4E4BcO/oz0V7eRP/WVF+pg0uoJ+pFIxV/bpYutVAAs/l/4VanDKKh8U+Ya9hEN5HVTDFbXXyoppEjsmye6Qt193zga70A9yUfPQJ9S/RxjkLgr+D7A2qwnu7imbw== dylan@Dylans-MacBook-Pro.local"
65
+ }
66
+ },
67
+ "reservation-id": "r-kpq4ot6x",
68
+ "security-groups": "sg0"
69
+ },
70
+ "env_temp_variable": "\\tmp",
71
+ "fact": "test",
72
+ "facterversion": "3.9.3",
73
+ "filesystems": "xfs",
74
+ "fqdn": "master.prod.puppet.com",
75
+ "gemhome": "/opt/puppetlabs/puppet/lib/ruby/gems/2.4.0",
76
+ "gid": "root",
77
+ "git_exec_path": "/usr/libexec/git-core",
78
+ "git_html_path": "/usr/share/doc/git-1.8.3.1",
79
+ "git_version": "1.8.3.1",
80
+ "gnupg_command": "/bin/gpg",
81
+ "gnupg_installed": true,
82
+ "hardwareisa": "x86_64",
83
+ "hardwaremodel": "x86_64",
84
+ "hostname": "master",
85
+ "hypervisors": {
86
+ "kvm": {
87
+ "openstack": true
88
+ }
89
+ },
90
+ "id": "root",
91
+ "identity": {
92
+ "gid": 0,
93
+ "group": "root",
94
+ "privileged": true,
95
+ "uid": 0,
96
+ "user": "root"
97
+ },
98
+ "initsystem": "systemd",
99
+ "interfaces": "eth0,lo",
100
+ "ip6tables_version": "1.4.21",
101
+ "ipaddress": "192.168.0.21",
102
+ "ipaddress6": "fe80::f816:3eff:fead:f422",
103
+ "ipaddress6_eth0": "fe80::f816:3eff:fead:f422",
104
+ "ipaddress6_lo": "::1",
105
+ "ipaddress_eth0": "192.168.0.21",
106
+ "ipaddress_lo": "127.0.0.1",
107
+ "iptables_version": "1.4.21",
108
+ "is_pe": false,
109
+ "is_virtual": true,
110
+ "jenkins_plugins": "",
111
+ "kernel": "Linux",
112
+ "kernelmajversion": "3.10",
113
+ "kernelrelease": "3.10.0-327.el7.x86_64",
114
+ "kernelversion": "3.10.0",
115
+ "load_averages": {
116
+ "15m": 0.58,
117
+ "1m": 0.76,
118
+ "5m": 0.77
119
+ },
120
+ "macaddress": "fa:16:3e:ad:f4:22",
121
+ "macaddress_eth0": "fa:16:3e:ad:f4:22",
122
+ "manufacturer": "Fedora Project",
123
+ "mco_confdir": "/etc/mcollective/etc",
124
+ "mco_server_config": "/etc/mcollective/server.cfg",
125
+ "mco_server_settings": {
126
+ "plugin.yaml": "/etc/puppetlabs/mcollective/facts.yaml",
127
+ "libdir": "/opt/puppet/libexec/mcollective:/opt/puppetlabs/mcollective/plugins"
128
+ },
129
+ "memory": {
130
+ "system": {
131
+ "available": "4.05 GiB",
132
+ "available_bytes": 4345696256,
133
+ "capacity": "47.02%",
134
+ "total": "7.64 GiB",
135
+ "total_bytes": 8202584064,
136
+ "used": "3.59 GiB",
137
+ "used_bytes": 3856887808
138
+ }
139
+ },
140
+ "memoryfree": "4.05 GiB",
141
+ "memoryfree_mb": 4144.37890625,
142
+ "memorysize": "7.64 GiB",
143
+ "memorysize_mb": 7822.59375,
144
+ "mountpoints": {
145
+ "/": {
146
+ "available": "59.59 GiB",
147
+ "available_bytes": 63983071232,
148
+ "capacity": "6.87%",
149
+ "device": "/dev/vda1",
150
+ "filesystem": "xfs",
151
+ "options": [
152
+ "rw",
153
+ "relatime",
154
+ "attr2",
155
+ "inode64",
156
+ "noquota"
157
+ ],
158
+ "size": "63.98 GiB",
159
+ "size_bytes": 68702453760,
160
+ "used": "4.40 GiB",
161
+ "used_bytes": 4719382528
162
+ },
163
+ "/dev/shm": {
164
+ "available": "3.82 GiB",
165
+ "available_bytes": 4101287936,
166
+ "capacity": "0.00%",
167
+ "device": "tmpfs",
168
+ "filesystem": "tmpfs",
169
+ "options": [
170
+ "rw",
171
+ "nosuid",
172
+ "nodev"
173
+ ],
174
+ "size": "3.82 GiB",
175
+ "size_bytes": 4101292032,
176
+ "used": "4.00 KiB",
177
+ "used_bytes": 4096
178
+ },
179
+ "/run": {
180
+ "available": "3.80 GiB",
181
+ "available_bytes": 4084166656,
182
+ "capacity": "0.42%",
183
+ "device": "tmpfs",
184
+ "filesystem": "tmpfs",
185
+ "options": [
186
+ "rw",
187
+ "nosuid",
188
+ "nodev",
189
+ "mode=755"
190
+ ],
191
+ "size": "3.82 GiB",
192
+ "size_bytes": 4101292032,
193
+ "used": "16.33 MiB",
194
+ "used_bytes": 17125376
195
+ },
196
+ "/run/user/1000": {
197
+ "available": "782.26 MiB",
198
+ "available_bytes": 820260864,
199
+ "capacity": "0%",
200
+ "device": "tmpfs",
201
+ "filesystem": "tmpfs",
202
+ "options": [
203
+ "rw",
204
+ "nosuid",
205
+ "nodev",
206
+ "relatime",
207
+ "size=801036k",
208
+ "mode=700",
209
+ "uid=1000",
210
+ "gid=1000"
211
+ ],
212
+ "size": "782.26 MiB",
213
+ "size_bytes": 820260864,
214
+ "used": "0 bytes",
215
+ "used_bytes": 0
216
+ },
217
+ "/run/user/994": {
218
+ "available": "782.26 MiB",
219
+ "available_bytes": 820260864,
220
+ "capacity": "0%",
221
+ "device": "tmpfs",
222
+ "filesystem": "tmpfs",
223
+ "options": [
224
+ "rw",
225
+ "nosuid",
226
+ "nodev",
227
+ "relatime",
228
+ "size=801036k",
229
+ "mode=700",
230
+ "uid=994",
231
+ "gid=991"
232
+ ],
233
+ "size": "782.26 MiB",
234
+ "size_bytes": 820260864,
235
+ "used": "0 bytes",
236
+ "used_bytes": 0
237
+ },
238
+ "/sys/fs/cgroup": {
239
+ "available": "3.82 GiB",
240
+ "available_bytes": 4101292032,
241
+ "capacity": "0%",
242
+ "device": "tmpfs",
243
+ "filesystem": "tmpfs",
244
+ "options": [
245
+ "ro",
246
+ "nosuid",
247
+ "nodev",
248
+ "noexec",
249
+ "mode=755"
250
+ ],
251
+ "size": "3.82 GiB",
252
+ "size_bytes": 4101292032,
253
+ "used": "0 bytes",
254
+ "used_bytes": 0
255
+ }
256
+ },
257
+ "mtu_eth0": 1500,
258
+ "mtu_lo": 65536,
259
+ "mysql_server_id": 16977186,
260
+ "netmask": "255.255.255.0",
261
+ "netmask6": "ffff:ffff:ffff:ffff::",
262
+ "netmask6_eth0": "ffff:ffff:ffff:ffff::",
263
+ "netmask6_lo": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
264
+ "netmask_eth0": "255.255.255.0",
265
+ "netmask_lo": "255.0.0.0",
266
+ "network": "192.168.0.0",
267
+ "network6": "fe80::",
268
+ "network6_eth0": "fe80::",
269
+ "network6_lo": "::1",
270
+ "network_eth0": "192.168.0.0",
271
+ "network_lo": "127.0.0.0",
272
+ "networking": {
273
+ "dhcp": "192.168.0.1",
274
+ "domain": "prod.puppet.com",
275
+ "fqdn": "master.prod.puppet.com",
276
+ "hostname": "master",
277
+ "interfaces": {
278
+ "eth0": {
279
+ "bindings": [
280
+ {
281
+ "address": "192.168.0.21",
282
+ "netmask": "255.255.255.0",
283
+ "network": "192.168.0.0"
284
+ }
285
+ ],
286
+ "bindings6": [
287
+ {
288
+ "address": "fe80::f816:3eff:fead:f422",
289
+ "netmask": "ffff:ffff:ffff:ffff::",
290
+ "network": "fe80::"
291
+ }
292
+ ],
293
+ "dhcp": "192.168.0.1",
294
+ "ip": "192.168.0.21",
295
+ "ip6": "fe80::f816:3eff:fead:f422",
296
+ "mac": "fa:16:3e:ad:f4:22",
297
+ "mtu": 1500,
298
+ "netmask": "255.255.255.0",
299
+ "netmask6": "ffff:ffff:ffff:ffff::",
300
+ "network": "192.168.0.0",
301
+ "network6": "fe80::"
302
+ },
303
+ "lo": {
304
+ "bindings": [
305
+ {
306
+ "address": "127.0.0.1",
307
+ "netmask": "255.0.0.0",
308
+ "network": "127.0.0.0"
309
+ }
310
+ ],
311
+ "bindings6": [
312
+ {
313
+ "address": "::1",
314
+ "netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
315
+ "network": "::1"
316
+ }
317
+ ],
318
+ "ip": "127.0.0.1",
319
+ "ip6": "::1",
320
+ "mtu": 65536,
321
+ "netmask": "255.0.0.0",
322
+ "netmask6": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
323
+ "network": "127.0.0.0",
324
+ "network6": "::1"
325
+ }
326
+ },
327
+ "ip": "192.168.0.21",
328
+ "ip6": "fe80::f816:3eff:fead:f422",
329
+ "mac": "fa:16:3e:ad:f4:22",
330
+ "mtu": 1500,
331
+ "netmask": "255.255.255.0",
332
+ "netmask6": "ffff:ffff:ffff:ffff::",
333
+ "network": "192.168.0.0",
334
+ "network6": "fe80::",
335
+ "primary": "eth0"
336
+ },
337
+ "operatingsystem": "CentOS",
338
+ "operatingsystemmajrelease": "7",
339
+ "operatingsystemrelease": "7.2.1511",
340
+ "os": {
341
+ "architecture": "x86_64",
342
+ "family": "RedHat",
343
+ "hardware": "x86_64",
344
+ "name": "CentOS",
345
+ "release": {
346
+ "full": "7.2.1511",
347
+ "major": "7",
348
+ "minor": "2"
349
+ },
350
+ "selinux": {
351
+ "enabled": false
352
+ }
353
+ },
354
+ "osfamily": "RedHat",
355
+ "ostempdir": "/tmp",
356
+ "package_provider": "yum",
357
+ "path": "/sbin:/bin:/usr/sbin:/usr/bin:/opt/puppetlabs/bin",
358
+ "pe_build": "2017.3.2",
359
+ "pe_cert_change": "master.prod.puppet.com",
360
+ "pe_concat_basedir": "/opt/puppetlabs/puppet/cache/pe_concat",
361
+ "pe_postgresql_info": {
362
+ "installed_server_version": "9.6",
363
+ "data_partition_size_bytes": 68702453760,
364
+ "data_partition_available_bytes": 63983071232,
365
+ "versions": {
366
+ "9.6": {
367
+ "app_dir": "/opt/puppetlabs/server/apps/postgresql",
368
+ "data_dir": "/opt/puppetlabs/server/data/postgresql/9.6",
369
+ "tablespaces": [
370
+ "/opt/puppetlabs/server/data/postgresql/activity/PG_9.6_201608131",
371
+ "/opt/puppetlabs/server/data/postgresql/classifier/PG_9.6_201608131",
372
+ "/opt/puppetlabs/server/data/postgresql/orchestrator/PG_9.6_201608131",
373
+ "/opt/puppetlabs/server/data/postgresql/puppetdb/PG_9.6_201608131",
374
+ "/opt/puppetlabs/server/data/postgresql/rbac/PG_9.6_201608131"
375
+ ],
376
+ "used_bytes": 141352960
377
+ }
378
+ }
379
+ },
380
+ "pe_razor_server_version": "package pe-razor-server is not installed",
381
+ "pe_server_version": "2017.3.2",
382
+ "physicalprocessorcount": 8,
383
+ "platform_symlink_writable": true,
384
+ "platform_tag": "el-7-x86_64",
385
+ "processor0": "Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz",
386
+ "processor1": "Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz",
387
+ "processor2": "Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz",
388
+ "processor3": "Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz",
389
+ "processor4": "Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz",
390
+ "processor5": "Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz",
391
+ "processor6": "Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz",
392
+ "processor7": "Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz",
393
+ "processorcount": 8,
394
+ "processors": {
395
+ "count": 8,
396
+ "isa": "x86_64",
397
+ "models": [
398
+ "Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz",
399
+ "Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz",
400
+ "Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz",
401
+ "Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz",
402
+ "Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz",
403
+ "Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz",
404
+ "Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz",
405
+ "Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz"
406
+ ],
407
+ "physicalcount": 8
408
+ },
409
+ "productname": "OpenStack Nova",
410
+ "puppet_agent_pid": 5575,
411
+ "puppet_client_datadir": "/opt/puppetlabs/puppet/cache/client_data",
412
+ "puppet_confdir": "/etc/puppetlabs/puppet",
413
+ "puppet_config": "/etc/puppetlabs/puppet/puppet.conf",
414
+ "puppet_environmentpath": "/etc/puppetlabs/code/environments",
415
+ "puppet_files_dir_present": false,
416
+ "puppet_inventory_metadata": {
417
+ "packages": {
418
+ "collection_enabled": false,
419
+ "last_collection_time": "0.0s"
420
+ }
421
+ },
422
+ "puppet_master_server": "master.prod.puppet.com",
423
+ "puppet_server": "master.prod.puppet.com",
424
+ "puppet_ssldir": "/etc/puppetlabs/puppet/ssl",
425
+ "puppet_sslpaths": {
426
+ "privatedir": {
427
+ "path": "/etc/puppetlabs/puppet/ssl/private",
428
+ "path_exists": true
429
+ },
430
+ "privatekeydir": {
431
+ "path": "/etc/puppetlabs/puppet/ssl/private_keys",
432
+ "path_exists": true
433
+ },
434
+ "publickeydir": {
435
+ "path": "/etc/puppetlabs/puppet/ssl/public_keys",
436
+ "path_exists": true
437
+ },
438
+ "certdir": {
439
+ "path": "/etc/puppetlabs/puppet/ssl/certs",
440
+ "path_exists": true
441
+ },
442
+ "requestdir": {
443
+ "path": "/etc/puppetlabs/puppet/ssl/certificate_requests",
444
+ "path_exists": true
445
+ },
446
+ "hostcrl": {
447
+ "path": "/etc/puppetlabs/puppet/ssl/crl.pem",
448
+ "path_exists": true
449
+ }
450
+ },
451
+ "puppet_stringify_facts": false,
452
+ "puppet_vardir": "/opt/puppetlabs/puppet/cache",
453
+ "puppetversion": "5.3.3",
454
+ "python_dir": "/usr/lib/python2.7/site-packages",
455
+ "r10k_environment": "production",
456
+ "r10k_path": "/opt/puppetlabs/bin/r10k",
457
+ "role": "role::puppetmaster::basic",
458
+ "root_home": "/root",
459
+ "ruby": {
460
+ "platform": "x86_64-linux",
461
+ "sitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.4.0",
462
+ "version": "2.4.2"
463
+ },
464
+ "rubyplatform": "x86_64-linux",
465
+ "rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.4.0",
466
+ "rubyversion": "2.4.2",
467
+ "rvm_installed": false,
468
+ "selinux": false,
469
+ "selinux_semanage_is_python3": false,
470
+ "serialnumber": "072c6176-42ad-4054-87ee-7e8600e73717",
471
+ "service_provider": "systemd",
472
+ "ssh": {
473
+ "ecdsa": {
474
+ "fingerprints": {
475
+ "sha1": "SSHFP 3 1 55b0f229fcaa3817e1aa2c83418e3ce88d5c727c",
476
+ "sha256": "SSHFP 3 2 e36ad209146fff0ebdbf7190fd593f3c7a0fb57ab893a435452360e40bdf6fbe"
477
+ },
478
+ "key": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJgR5Xe5EUGeGKVXLlAoVr9owoKUFXYknAq9i4SnGxh/ZRFccUKRUvdyzKbEZoCzLybROL4F7LQBfTdUrkSw7MA="
479
+ },
480
+ "ed25519": {
481
+ "fingerprints": {
482
+ "sha1": "SSHFP 4 1 f48ed6af2f4db78441665639dee904d4c627543b",
483
+ "sha256": "SSHFP 4 2 54044b687320b8939f5ea6b6b598355c4a4bc78f6a39fa8b5a61d2806e440418"
484
+ },
485
+ "key": "AAAAC3NzaC1lZDI1NTE5AAAAIDefCjGLwq6bIptLS+kuan/kPUvMQq1rtAo7jsat3ZTP"
486
+ },
487
+ "rsa": {
488
+ "fingerprints": {
489
+ "sha1": "SSHFP 1 1 e5484279857f0d3050cc3b6192873b49ad4b24f6",
490
+ "sha256": "SSHFP 1 2 faf344e7782b02cee0e6c4156528105dc4c92a7f7680d969f3f643044ca4bc17"
491
+ },
492
+ "key": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDg8YfWYOvO1gVHFLZeM6iqInOYdCam75s4KnBLxmgwzy6Z6rJRD4N9n72nJyP5tAvnxcUpBOsYs8SNRtpsHWW4r9+tWV8p4MJRuJmeMhivz9AbErNR0gVL0gzU+xG/cGyCX/gRQVQcMsQ9/7McwZPYR5Yw7uo4SBMVttysKze6Z/mJQxa1yR1OnAsBOe+l49IyKC/VU3b5XVcFcwswuJYkpm6IgPTvKBXYnP8OC/+gOBSucrMuYJCBOsL6pOi19O39shkHgXwa+1fjkAw5XvWWt7LMEaGlWY/HHkIco/9PkFosHmO+4/I2qIMwMeBaXuzFG9GTDVP1AdRR3AMXtUzL"
493
+ }
494
+ },
495
+ "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJgR5Xe5EUGeGKVXLlAoVr9owoKUFXYknAq9i4SnGxh/ZRFccUKRUvdyzKbEZoCzLybROL4F7LQBfTdUrkSw7MA=",
496
+ "sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIDefCjGLwq6bIptLS+kuan/kPUvMQq1rtAo7jsat3ZTP",
497
+ "sshfp_ecdsa": "SSHFP 3 1 55b0f229fcaa3817e1aa2c83418e3ce88d5c727c\nSSHFP 3 2 e36ad209146fff0ebdbf7190fd593f3c7a0fb57ab893a435452360e40bdf6fbe",
498
+ "sshfp_ed25519": "SSHFP 4 1 f48ed6af2f4db78441665639dee904d4c627543b\nSSHFP 4 2 54044b687320b8939f5ea6b6b598355c4a4bc78f6a39fa8b5a61d2806e440418",
499
+ "sshfp_rsa": "SSHFP 1 1 e5484279857f0d3050cc3b6192873b49ad4b24f6\nSSHFP 1 2 faf344e7782b02cee0e6c4156528105dc4c92a7f7680d969f3f643044ca4bc17",
500
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDg8YfWYOvO1gVHFLZeM6iqInOYdCam75s4KnBLxmgwzy6Z6rJRD4N9n72nJyP5tAvnxcUpBOsYs8SNRtpsHWW4r9+tWV8p4MJRuJmeMhivz9AbErNR0gVL0gzU+xG/cGyCX/gRQVQcMsQ9/7McwZPYR5Yw7uo4SBMVttysKze6Z/mJQxa1yR1OnAsBOe+l49IyKC/VU3b5XVcFcwswuJYkpm6IgPTvKBXYnP8OC/+gOBSucrMuYJCBOsL6pOi19O39shkHgXwa+1fjkAw5XvWWt7LMEaGlWY/HHkIco/9PkFosHmO+4/I2qIMwMeBaXuzFG9GTDVP1AdRR3AMXtUzL",
501
+ "staging_http_get": "curl",
502
+ "system_uptime": {
503
+ "days": 0,
504
+ "hours": 0,
505
+ "seconds": 621,
506
+ "uptime": "0:10 hours"
507
+ },
508
+ "systemd": true,
509
+ "systemd_internal_services": {
510
+ "systemd-bootchart.service": "disabled",
511
+ "systemd-nspawn@.service": "disabled",
512
+ "systemd-readahead-collect.service": "enabled",
513
+ "systemd-readahead-drop.service": "enabled",
514
+ "systemd-readahead-replay.service": "enabled"
515
+ },
516
+ "systemd_version": "219",
517
+ "timezone": "UTC",
518
+ "uptime": "0:10 hours",
519
+ "uptime_days": 0,
520
+ "uptime_hours": 0,
521
+ "uptime_seconds": 621,
522
+ "uuid": "7A6E3957-2DEB-E44D-91F3-B66F523F13C1",
523
+ "vcsrepo_svn_ver": "",
524
+ "virtual": "kvm",
525
+ "clientcert": "master.prod.puppet.com",
526
+ "clientversion": "5.3.3",
527
+ "clientnoop": false
528
+ },
529
+ "timestamp": "2018-01-08T02:57:31.920805838+00:00",
530
+ "expiration": "2018-01-08T03:27:31.921647334+00:00"
531
+ }