inspec 0.9.9 → 0.9.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (306) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +34 -2
  3. data/README.md +5 -1
  4. data/bin/os +23 -0
  5. data/examples/kitchen-ansible/.kitchen/default-centos-71.yml +6 -0
  6. data/examples/kitchen-ansible/.kitchen/default-ubuntu-1204.yml +6 -0
  7. data/examples/kitchen-ansible/.kitchen/default-ubuntu-1404.yml +6 -0
  8. data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-centos-71/.vagrant/machines/default/virtualbox/action_set_name +1 -0
  9. data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-centos-71/.vagrant/machines/default/virtualbox/creator_uid +1 -0
  10. data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-centos-71/.vagrant/machines/default/virtualbox/id +1 -0
  11. data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-centos-71/.vagrant/machines/default/virtualbox/index_uuid +1 -0
  12. data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-centos-71/.vagrant/machines/default/virtualbox/private_key +27 -0
  13. data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-centos-71/.vagrant/machines/default/virtualbox/synced_folders +1 -0
  14. data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-centos-71/Vagrantfile +9 -0
  15. data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1204/.vagrant/machines/default/virtualbox/action_set_name +1 -0
  16. data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1204/.vagrant/machines/default/virtualbox/creator_uid +1 -0
  17. data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1204/.vagrant/machines/default/virtualbox/id +1 -0
  18. data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1204/.vagrant/machines/default/virtualbox/index_uuid +1 -0
  19. data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1204/.vagrant/machines/default/virtualbox/private_key +27 -0
  20. data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1204/.vagrant/machines/default/virtualbox/synced_folders +1 -0
  21. data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1204/Vagrantfile +9 -0
  22. data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name +1 -0
  23. data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid +1 -0
  24. data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id +1 -0
  25. data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid +1 -0
  26. data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key +27 -0
  27. data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders +1 -0
  28. data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1404/Vagrantfile +9 -0
  29. data/examples/kitchen-ansible/.kitchen/logs/default-centos-71.log +4 -0
  30. data/examples/kitchen-ansible/.kitchen/logs/default-ubuntu-1204.log +4 -0
  31. data/examples/kitchen-ansible/.kitchen/logs/default-ubuntu-1404.log +4 -0
  32. data/examples/kitchen-ansible/.kitchen/logs/kitchen.log +8 -0
  33. data/examples/kitchen-ansible/Gemfile.lock +154 -0
  34. data/examples/kitchen-chef/.kitchen/default-centos-71.yml +6 -0
  35. data/examples/kitchen-chef/.kitchen/default-ubuntu-1204.yml +6 -0
  36. data/examples/kitchen-chef/.kitchen/default-ubuntu-1404.yml +6 -0
  37. data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/.vagrant/machines/default/virtualbox/action_set_name +1 -0
  38. data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/.vagrant/machines/default/virtualbox/creator_uid +1 -0
  39. data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/.vagrant/machines/default/virtualbox/id +1 -0
  40. data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/.vagrant/machines/default/virtualbox/index_uuid +1 -0
  41. data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/.vagrant/machines/default/virtualbox/private_key +27 -0
  42. data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/.vagrant/machines/default/virtualbox/synced_folders +1 -0
  43. data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/Vagrantfile +9 -0
  44. data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/.vagrant/machines/default/virtualbox/action_set_name +1 -0
  45. data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/.vagrant/machines/default/virtualbox/creator_uid +1 -0
  46. data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/.vagrant/machines/default/virtualbox/id +1 -0
  47. data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/.vagrant/machines/default/virtualbox/index_uuid +1 -0
  48. data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/.vagrant/machines/default/virtualbox/private_key +27 -0
  49. data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/.vagrant/machines/default/virtualbox/synced_folders +1 -0
  50. data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/Vagrantfile +9 -0
  51. data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name +1 -0
  52. data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid +1 -0
  53. data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id +1 -0
  54. data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid +1 -0
  55. data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key +27 -0
  56. data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders +1 -0
  57. data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/Vagrantfile +9 -0
  58. data/examples/kitchen-chef/.kitchen/logs/default-centos-71.log +4 -0
  59. data/examples/kitchen-chef/.kitchen/logs/default-ubuntu-1204.log +4 -0
  60. data/examples/kitchen-chef/.kitchen/logs/default-ubuntu-1404.log +4 -0
  61. data/examples/kitchen-chef/.kitchen/logs/kitchen.log +8 -0
  62. data/examples/kitchen-chef/Berksfile.lock +11 -0
  63. data/examples/kitchen-chef/Gemfile.lock +223 -0
  64. data/examples/kitchen-puppet/.bundle/config +2 -0
  65. data/examples/kitchen-puppet/.kitchen/logs/default-centos-71.log +5 -0
  66. data/examples/kitchen-puppet/.kitchen/logs/default-ubuntu-1204.log +5 -0
  67. data/examples/kitchen-puppet/.kitchen/logs/default-ubuntu-1404.log +5 -0
  68. data/examples/kitchen-puppet/.kitchen/logs/kitchen.log +5 -0
  69. data/examples/kitchen-puppet/.librarian/puppet/config +2 -0
  70. data/examples/kitchen-puppet/Gemfile.lock +174 -0
  71. data/examples/kitchen-puppet/Puppetfile.lock +2 -0
  72. data/examples/profile/libraries/.DS_Store +0 -0
  73. data/examples/test-kitchen/.kitchen/logs/default-centos-71.log +5 -0
  74. data/examples/test-kitchen/.kitchen/logs/default-ubuntu-1204.log +5 -0
  75. data/examples/test-kitchen/.kitchen/logs/default-ubuntu-1404.log +5 -0
  76. data/examples/test-kitchen/.kitchen/logs/kitchen.log +5 -0
  77. data/examples/test-kitchen/Berksfile.lock +11 -0
  78. data/examples/test-kitchen/Gemfile.lock +233 -0
  79. data/inspec.gemspec +2 -2
  80. data/lib/.DS_Store +0 -0
  81. data/lib/extras/compliance/README.md +15 -0
  82. data/lib/extras/compliance/compliance.rb +245 -0
  83. data/lib/inspec/metadata.rb +3 -1
  84. data/lib/inspec/profile.rb +2 -0
  85. data/lib/inspec/profile_context.rb +34 -63
  86. data/lib/inspec/resource.rb +23 -0
  87. data/lib/inspec/runner.rb +17 -35
  88. data/lib/inspec/runner_mock.rb +31 -0
  89. data/lib/inspec/runner_rspec.rb +94 -0
  90. data/lib/inspec/targets/dir.rb +2 -4
  91. data/lib/inspec/version.rb +1 -1
  92. data/{test/unit/mock/profiles/complete-meta/test/.gitkeep → lib/resources/certificate.rb} +0 -0
  93. data/lib/resources/command.rb +1 -1
  94. data/lib/resources/postgres_session.rb +10 -15
  95. data/{test/unit/mock/profiles/custom-resource/test/.gitkeep → lib/resources/private_key.rb} +0 -0
  96. data/lib/resources/registry_key.rb +10 -6
  97. data/lib/resources/service.rb +232 -63
  98. data/test/chefdk/.gitignore +16 -0
  99. data/test/chefdk/.kitchen.yml +27 -0
  100. data/test/chefdk/Policyfile.rb +16 -0
  101. data/test/chefdk/README.md +4 -0
  102. data/test/chefdk/chefignore +100 -0
  103. data/test/chefdk/metadata.rb +7 -0
  104. data/test/chefdk/recipes/default.rb +5 -0
  105. data/test/chefdk/spec/spec_helper.rb +2 -0
  106. data/test/chefdk/spec/unit/recipes/default_spec.rb +20 -0
  107. data/test/chefdk/test/integration/default/serverspec/default_spec.rb +9 -0
  108. data/test/chefdk/test/integration/helpers/serverspec/spec_helper.rb +8 -0
  109. data/test/docker_run.rb +5 -1
  110. data/test/docker_test.rb +1 -2
  111. data/test/helper.rb +1 -0
  112. data/test/integration/.kitchen/default-aws-linux.yml +4 -0
  113. data/test/integration/.kitchen/default-centos-7.yml +4 -0
  114. data/test/integration/.kitchen/default-debian-8.yml +4 -0
  115. data/test/integration/.kitchen/default-fedora-22.yml +4 -0
  116. data/test/integration/.kitchen/default-redhat-65.yml +4 -0
  117. data/test/integration/.kitchen/default-redhat-71.yml +4 -0
  118. data/test/integration/.kitchen/default-suse-11sp3.yml +4 -0
  119. data/test/integration/.kitchen/default-suse-12.yml +4 -0
  120. data/test/integration/.kitchen/default-ubuntu-1204.yml +3 -0
  121. data/test/integration/.kitchen/default-ubuntu-1404.yml +4 -0
  122. data/test/integration/.kitchen/default-windows-2012.yml +1 -0
  123. data/test/integration/.kitchen/default-windows-2012r2.yml +2 -0
  124. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67-i386/Vagrantfile +9 -0
  125. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/action_set_name +1 -0
  126. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/creator_uid +1 -0
  127. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/id +1 -0
  128. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/index_uuid +1 -0
  129. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/private_key +27 -0
  130. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/synced_folders +1 -0
  131. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/Vagrantfile +9 -0
  132. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-modernIE-w10-edge/.vagrant/machines/default/virtualbox/action_set_name +1 -0
  133. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-modernIE-w10-edge/.vagrant/machines/default/virtualbox/creator_uid +1 -0
  134. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-modernIE-w10-edge/.vagrant/machines/default/virtualbox/id +1 -0
  135. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-modernIE-w10-edge/.vagrant/machines/default/virtualbox/index_uuid +1 -0
  136. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-modernIE-w10-edge/Vagrantfile +8 -0
  137. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/action_set_name +1 -0
  138. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/creator_uid +1 -0
  139. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/id +1 -0
  140. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/index_uuid +1 -0
  141. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/private_key +27 -0
  142. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/synced_folders +1 -0
  143. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/Vagrantfile +9 -0
  144. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name +1 -0
  145. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid +1 -0
  146. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id +1 -0
  147. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid +1 -0
  148. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key +27 -0
  149. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders +1 -0
  150. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/Vagrantfile +9 -0
  151. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-windows-2012R2-matt/.vagrant/machines/default/virtualbox/action_set_name +1 -0
  152. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-windows-2012R2-matt/.vagrant/machines/default/virtualbox/creator_uid +1 -0
  153. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-windows-2012R2-matt/.vagrant/machines/default/virtualbox/id +1 -0
  154. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-windows-2012R2-matt/.vagrant/machines/default/virtualbox/index_uuid +1 -0
  155. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-windows-2012R2-matt/Vagrantfile +8 -0
  156. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-new-ubuntu-1404/Vagrantfile +9 -0
  157. data/test/{unit/mock/profiles/empty/metadata.rb → integration/.kitchen/logs/default-aws-linux.log} +0 -0
  158. data/test/integration/.kitchen/logs/default-centos-511-i386.log +2 -0
  159. data/test/integration/.kitchen/logs/default-centos-511.log +2 -0
  160. data/test/integration/.kitchen/logs/default-centos-67-i386.log +2 -0
  161. data/test/integration/.kitchen/logs/default-centos-67.log +2 -0
  162. data/test/integration/.kitchen/logs/default-centos-7.log +0 -0
  163. data/test/integration/.kitchen/logs/default-centos-71.log +2 -0
  164. data/test/integration/.kitchen/logs/default-debian-6010-i386.log +2 -0
  165. data/test/integration/.kitchen/logs/default-debian-6010.log +2 -0
  166. data/test/integration/.kitchen/logs/default-debian-78-i386.log +2 -0
  167. data/test/integration/.kitchen/logs/default-debian-78.log +2 -0
  168. data/test/integration/.kitchen/logs/default-debian-8.log +0 -0
  169. data/test/integration/.kitchen/logs/default-debian-81-i386.log +2 -0
  170. data/test/integration/.kitchen/logs/default-debian-81.log +2 -0
  171. data/test/integration/.kitchen/logs/default-fedora-21-i386.log +2 -0
  172. data/test/integration/.kitchen/logs/default-fedora-21.log +2 -0
  173. data/test/integration/.kitchen/logs/default-fedora-22.log +0 -0
  174. data/test/integration/.kitchen/logs/default-freebsd-102.log +2 -0
  175. data/test/integration/.kitchen/logs/default-freebsd-93.log +2 -0
  176. data/test/integration/.kitchen/logs/default-mint-172-cinnamon.log +2 -0
  177. data/test/integration/.kitchen/logs/default-modernIE-w10-edge.log +2 -0
  178. data/test/integration/.kitchen/logs/default-modernIE-w7-ie11.log +2 -0
  179. data/test/integration/.kitchen/logs/default-modernIE-w81-ie11.log +2 -0
  180. data/test/integration/.kitchen/logs/default-opensuse-132-i386.log +2 -0
  181. data/test/integration/.kitchen/logs/default-opensuse-132-x86-64.log +2 -0
  182. data/test/integration/.kitchen/logs/default-opentable-win-2008r2-standard-amd64-nocm.log +0 -0
  183. data/test/integration/.kitchen/logs/default-opentable-win-2012r2-standard-amd64-nocm.log +0 -0
  184. data/test/integration/.kitchen/logs/default-redhat-65.log +0 -0
  185. data/test/integration/.kitchen/logs/default-redhat-71.log +0 -0
  186. data/test/integration/.kitchen/logs/default-suse-11sp3.log +0 -0
  187. data/test/integration/.kitchen/logs/default-suse-12.log +0 -0
  188. data/test/integration/.kitchen/logs/default-ubuntu-1004-i386.log +2 -0
  189. data/test/integration/.kitchen/logs/default-ubuntu-1004.log +2 -0
  190. data/test/integration/.kitchen/logs/default-ubuntu-1204-i386.log +2 -0
  191. data/test/integration/.kitchen/logs/default-ubuntu-1204.log +0 -0
  192. data/test/integration/.kitchen/logs/default-ubuntu-1404-i386.log +2 -0
  193. data/test/integration/.kitchen/logs/default-ubuntu-1404.log +0 -0
  194. data/test/integration/.kitchen/logs/default-ubuntu-1510.log +0 -0
  195. data/test/integration/.kitchen/logs/default-windows-2008-opentable.log +2 -0
  196. data/test/integration/.kitchen/logs/default-windows-2008.log +0 -0
  197. data/test/integration/.kitchen/logs/default-windows-2012.log +0 -0
  198. data/test/integration/.kitchen/logs/default-windows-2012R2-matt.log +2 -0
  199. data/test/integration/.kitchen/logs/default-windows-2012r2-opentable.log +2 -0
  200. data/test/integration/.kitchen/logs/default-windows-2012r2.log +41 -0
  201. data/test/integration/.kitchen/logs/kitchen.log +0 -0
  202. data/test/integration/.kitchen/logs/new-centos-511-i386.log +0 -0
  203. data/test/integration/.kitchen/logs/new-centos-511.log +0 -0
  204. data/test/integration/.kitchen/logs/new-centos-67-i386.log +0 -0
  205. data/test/integration/.kitchen/logs/new-centos-67.log +0 -0
  206. data/test/integration/.kitchen/logs/new-centos-71.log +0 -0
  207. data/test/integration/.kitchen/logs/new-debian-6010-i386.log +0 -0
  208. data/test/integration/.kitchen/logs/new-debian-6010.log +0 -0
  209. data/test/integration/.kitchen/logs/new-debian-78-i386.log +0 -0
  210. data/test/integration/.kitchen/logs/new-debian-78.log +0 -0
  211. data/test/integration/.kitchen/logs/new-debian-81-i386.log +0 -0
  212. data/test/integration/.kitchen/logs/new-debian-81.log +0 -0
  213. data/test/integration/.kitchen/logs/new-fedora-21-i386.log +0 -0
  214. data/test/integration/.kitchen/logs/new-fedora-21.log +0 -0
  215. data/test/integration/.kitchen/logs/new-fedora-22.log +0 -0
  216. data/test/integration/.kitchen/logs/new-freebsd-102.log +0 -0
  217. data/test/integration/.kitchen/logs/new-freebsd-93.log +0 -0
  218. data/test/integration/.kitchen/logs/new-opensuse-132-i386.log +0 -0
  219. data/test/integration/.kitchen/logs/new-opensuse-132-x86-64.log +0 -0
  220. data/test/integration/.kitchen/logs/new-ubuntu-1004-i386.log +0 -0
  221. data/test/integration/.kitchen/logs/new-ubuntu-1004.log +0 -0
  222. data/test/integration/.kitchen/logs/new-ubuntu-1204-i386.log +0 -0
  223. data/test/integration/.kitchen/logs/new-ubuntu-1204.log +0 -0
  224. data/test/integration/.kitchen/logs/new-ubuntu-1404-i386.log +0 -0
  225. data/test/integration/.kitchen/logs/new-ubuntu-1404.log +3 -0
  226. data/test/integration/.kitchen/logs/test-centos-511-i386.log +0 -0
  227. data/test/integration/.kitchen/logs/test-centos-511.log +0 -0
  228. data/test/integration/.kitchen/logs/test-centos-67-i386.log +0 -0
  229. data/test/integration/.kitchen/logs/test-centos-67.log +0 -0
  230. data/test/integration/.kitchen/logs/test-centos-71.log +0 -0
  231. data/test/integration/.kitchen/logs/test-debian-6010-i386.log +0 -0
  232. data/test/integration/.kitchen/logs/test-debian-6010.log +0 -0
  233. data/test/integration/.kitchen/logs/test-debian-78-i386.log +0 -0
  234. data/test/integration/.kitchen/logs/test-debian-78.log +0 -0
  235. data/test/integration/.kitchen/logs/test-debian-81-i386.log +0 -0
  236. data/test/integration/.kitchen/logs/test-debian-81.log +0 -0
  237. data/test/integration/.kitchen/logs/test-fedora-21-i386.log +0 -0
  238. data/test/integration/.kitchen/logs/test-fedora-21.log +0 -0
  239. data/test/integration/.kitchen/logs/test-fedora-22.log +0 -0
  240. data/test/integration/.kitchen/logs/test-freebsd-102.log +0 -0
  241. data/test/integration/.kitchen/logs/test-freebsd-93.log +0 -0
  242. data/test/integration/.kitchen/logs/test-opensuse-132-i386.log +0 -0
  243. data/test/integration/.kitchen/logs/test-opensuse-132-x86-64.log +0 -0
  244. data/test/integration/.kitchen/logs/test-ubuntu-1004-i386.log +0 -0
  245. data/test/integration/.kitchen/logs/test-ubuntu-1004.log +0 -0
  246. data/test/integration/.kitchen/logs/test-ubuntu-1204-i386.log +0 -0
  247. data/test/integration/.kitchen/logs/test-ubuntu-1204.log +0 -0
  248. data/test/integration/.kitchen/logs/test-ubuntu-1404-i386.log +0 -0
  249. data/test/integration/.kitchen/logs/test-ubuntu-1404.log +0 -0
  250. data/test/integration/.kitchen/new-ubuntu-1404.yml +1 -0
  251. data/test/integration/Berksfile +1 -0
  252. data/test/integration/Berksfile.lock +27 -0
  253. data/test/integration/TODO.md +15 -0
  254. data/test/integration/cookbooks/os_prepare/files/empty.iso +0 -0
  255. data/test/integration/cookbooks/os_prepare/metadata.rb +2 -0
  256. data/test/integration/cookbooks/os_prepare/recipes/_runit_service_centos.rb +34 -0
  257. data/test/integration/cookbooks/os_prepare/recipes/default.rb +1 -0
  258. data/test/integration/cookbooks/os_prepare/recipes/mount.rb +5 -5
  259. data/test/integration/cookbooks/os_prepare/recipes/postgres.rb +12 -0
  260. data/test/integration/cookbooks/os_prepare/recipes/service.rb +6 -2
  261. data/test/integration/cookbooks/os_prepare/templates/default/sv-default-svlog-run.erb +3 -0
  262. data/test/integration/test/.DS_Store +0 -0
  263. data/test/integration/test/integration/.DS_Store +0 -0
  264. data/test/integration/test/integration/default/.DS_Store +0 -0
  265. data/test/integration/test/integration/default/certificate_spec.rb +7 -0
  266. data/test/integration/test/integration/default/file_spec.rb +2 -2
  267. data/test/integration/test/integration/default/mount_spec.rb +1 -1
  268. data/test/integration/test/integration/default/postgres_session_spec.rb +9 -0
  269. data/test/integration/test/integration/default/service_spec.rb +34 -0
  270. data/test/mac/service_spec.rb +5 -0
  271. data/test/serverspec/.kitchen.yml +18 -0
  272. data/test/serverspec/.kitchen/default-ubuntu-1404.yml +6 -0
  273. data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name +1 -0
  274. data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid +1 -0
  275. data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id +1 -0
  276. data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid +1 -0
  277. data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key +27 -0
  278. data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders +1 -0
  279. data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/Vagrantfile +9 -0
  280. data/test/serverspec/.kitchen/logs/default-ubuntu-1404.log +2 -0
  281. data/test/serverspec/.kitchen/logs/kitchen.log +3 -0
  282. data/test/serverspec/Berksfile +3 -0
  283. data/test/serverspec/Berksfile.lock +5 -0
  284. data/test/serverspec/TODO.md +2 -0
  285. data/test/serverspec/test/integration/default/serverspec/os_spec.rb +25 -0
  286. data/test/serverspec/test/integration/default/serverspec/spec_helper.rb +48 -0
  287. data/test/serverspec/test/integration/default/serverspec/sysctl_spec.rb +37 -0
  288. data/test/unit/metadata_test.rb +13 -1
  289. data/test/unit/mock/profiles/complete-metadata/inspec.yml +7 -0
  290. data/test/unit/mock/profiles/empty-metadata/inspec.yml +0 -0
  291. data/test/unit/mock/profiles/{complete-meta → legacy-complete-metadata}/metadata.rb +0 -0
  292. data/test/unit/mock/profiles/legacy-complete-metadata/test/.gitkeep +0 -0
  293. data/test/unit/mock/profiles/legacy-empty-metadata/controls/.gitkeep +0 -0
  294. data/test/unit/mock/profiles/legacy-empty-metadata/metadata.rb +0 -0
  295. data/test/unit/mock/profiles/{metadata → legacy-simple-metadata}/metadata.rb +0 -0
  296. data/test/unit/mock/profiles/legacy-simple-metadata/test/.gitkeep +0 -0
  297. data/test/unit/mock/profiles/simple-metadata/inspec.yml +1 -0
  298. data/test/unit/profile_test.rb +82 -31
  299. data/test/unit/resources/service_test.rb +67 -3
  300. metadata +466 -23
  301. data/examples/resource/controls/tiny.rb +0 -3
  302. data/examples/resource/inspec.yml +0 -10
  303. data/examples/resource/libraries/tiny.rb +0 -3
  304. data/lib/inspec/targets/url.rb.orig +0 -87
  305. data/test/unit/mock/profiles/custom-resource/libraries/resource.rb +0 -3
  306. data/test/unit/mock/profiles/custom-resource/metadata.rb +0 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ec38b70d89c495843d834ff8825ed447419a29fd
4
- data.tar.gz: 2d3ef5b473cef4c2c2beb2dfd299e8a964b599bb
3
+ metadata.gz: b17924e97ef5192aed108798a10ef8b52d7c0538
4
+ data.tar.gz: 8c5ceda400de6c4eccd79d357219787f001e5b7d
5
5
  SHA512:
6
- metadata.gz: 26e4ecc01b3091ef0918a2733d73c455b708de5a34dbc3bb869bb9563bfe4f3360becb2bc80c7c7b331eb57db22223af0d5430f012dd829da1add361643d9266
7
- data.tar.gz: 045c295e95f3377e15796011d42fdc3c5b9d82b32073d1476b981cfc0c14d255ac236742e4cf5124e5e134d99f0a87a1bffb453338400337095846e9e4b867e0
6
+ metadata.gz: c76421ff13a91f6dded0fbf9ab4fda7f2d9a49b4eef102857d8c9e37b49c22d2536d2dc5810edf10f4e554d256e98ed6255ba01bbe244571a3902c3575d73b04
7
+ data.tar.gz: 55b9fbd3e7219024401e032a2a8fe3e63b407ae5e6eadb19e7b8d7684d265678dcbce1d4c7a51f72a536fa371dad72da4de2b6c2a9c5b686606abcd8d1392297
data/CHANGELOG.md CHANGED
@@ -1,7 +1,38 @@
1
1
  # Change Log
2
2
 
3
- ## [0.9.9](https://github.com/chef/inspec/tree/0.9.9) (2016-01-15)
4
- [Full Changelog](https://github.com/chef/inspec/compare/v0.9.8...0.9.9)
3
+ ## [0.9.10](https://github.com/chef/inspec/tree/0.9.10) (2016-01-25)
4
+ [Full Changelog](https://github.com/chef/inspec/compare/v0.9.9...0.9.10)
5
+
6
+ **Implemented enhancements:**
7
+
8
+ - specify process supervision type in service resource [\#242](https://github.com/chef/inspec/issues/242)
9
+ - optimize the error output for missing registry keys to `nil` [\#388](https://github.com/chef/inspec/pull/388) ([chris-rock](https://github.com/chris-rock))
10
+ - update readme [\#382](https://github.com/chef/inspec/pull/382) ([chris-rock](https://github.com/chris-rock))
11
+ - add service overrides for picking specific service managers, add runit\_service [\#380](https://github.com/chef/inspec/pull/380) ([srenatus](https://github.com/srenatus))
12
+ - integration tests: stop using alpine iso [\#379](https://github.com/chef/inspec/pull/379) ([srenatus](https://github.com/srenatus))
13
+ - warn about legacy supports fields in metadata [\#378](https://github.com/chef/inspec/pull/378) ([arlimus](https://github.com/arlimus))
14
+ - Update README links to the examples directory [\#376](https://github.com/chef/inspec/pull/376) ([frightenedmonkey](https://github.com/frightenedmonkey))
15
+ - add profile tests \(non-legacy\) [\#375](https://github.com/chef/inspec/pull/375) ([arlimus](https://github.com/arlimus))
16
+ - Fix typo [\#372](https://github.com/chef/inspec/pull/372) ([jcreedcmu](https://github.com/jcreedcmu))
17
+ - separate RSpec handling in runner [\#371](https://github.com/chef/inspec/pull/371) ([arlimus](https://github.com/arlimus))
18
+ - Improve the description and summary of the InSpec gem. [\#370](https://github.com/chef/inspec/pull/370) ([arlimus](https://github.com/arlimus))
19
+
20
+ **Fixed bugs:**
21
+
22
+ - Windows OS Detection [\#383](https://github.com/chef/inspec/issues/383)
23
+ - security\_policy is not returning the right value [\#373](https://github.com/chef/inspec/issues/373)
24
+ - PostgreSQL\_Session Resource [\#302](https://github.com/chef/inspec/issues/302)
25
+ - bugfix: write given ID to metadata json [\#389](https://github.com/chef/inspec/pull/389) ([arlimus](https://github.com/arlimus))
26
+ - resources/launchd\_service: fix parsing of non-running services [\#387](https://github.com/chef/inspec/pull/387) ([srenatus](https://github.com/srenatus))
27
+ - bugfix: pin net-ssh 2.9 in gem file [\#386](https://github.com/chef/inspec/pull/386) ([chris-rock](https://github.com/chris-rock))
28
+ - resource/postgres\_session: add integration tests, change error handling [\#381](https://github.com/chef/inspec/pull/381) ([srenatus](https://github.com/srenatus))
29
+
30
+ **Merged pull requests:**
31
+
32
+ - Enable appveyor for unit tests on Windows [\#361](https://github.com/chef/inspec/pull/361) ([chris-rock](https://github.com/chris-rock))
33
+
34
+ ## [v0.9.9](https://github.com/chef/inspec/tree/v0.9.9) (2016-01-16)
35
+ [Full Changelog](https://github.com/chef/inspec/compare/v0.9.8...v0.9.9)
5
36
 
6
37
  **Fixed bugs:**
7
38
 
@@ -10,6 +41,7 @@
10
41
 
11
42
  **Merged pull requests:**
12
43
 
44
+ - 0.9.9 [\#369](https://github.com/chef/inspec/pull/369) ([chris-rock](https://github.com/chris-rock))
13
45
  - add tests for loading metadata yaml internals [\#368](https://github.com/chef/inspec/pull/368) ([arlimus](https://github.com/arlimus))
14
46
  - make metadata.rb legacy mode consistent for supports [\#367](https://github.com/chef/inspec/pull/367) ([arlimus](https://github.com/arlimus))
15
47
  - lint with rubocop 0.36 [\#366](https://github.com/chef/inspec/pull/366) ([arlimus](https://github.com/arlimus))
data/README.md CHANGED
@@ -112,7 +112,11 @@ describe yaml('.kitchen.yml') do
112
112
  end
113
113
  ```
114
114
 
115
- Also have a look at our [example](https://github.com/chef/inspec/tree/master/examples/test-kitchen) that uses `inspec` in combination with `test-kitchen`
115
+ Also have a look at our examples for:
116
+ - [Using InSpec with Test Kitchen & Chef](https://github.com/chef/inspec/tree/master/examples/kitchen-chef)
117
+ - [Using InSpec with Test Kitchen & Puppet](https://github.com/chef/inspec/tree/master/examples/kitchen-puppet)
118
+ - [Using InSpec with Test Kitchen & Ansible](https://github.com/chef/inspec/tree/master/examples/kitchen-ansible)
119
+ - [Implementing an InSpec profile](https://github.com/chef/inspec/tree/master/examples/profile)
116
120
 
117
121
  ## Command Line Usage
118
122
 
data/bin/os ADDED
@@ -0,0 +1,23 @@
1
+ #!/usr/bin/env ruby
2
+ # encoding: utf-8
3
+
4
+ require 'train'
5
+
6
+ train = Train.create('local')
7
+
8
+ # start or reuse a connection
9
+ conn = train.connection
10
+ os = conn.os
11
+
12
+ # get OS info
13
+ conf = {
14
+ name: os[:name],
15
+ family: os[:family],
16
+ release: os[:release],
17
+ arch: os[:arch],
18
+ }
19
+ puts JSON.dump(conf)
20
+
21
+
22
+ # close the connection
23
+ conn.close
@@ -0,0 +1,6 @@
1
+ ---
2
+ hostname: 127.0.0.1
3
+ port: '2200'
4
+ username: vagrant
5
+ ssh_key: "/Users/chartmann/Development/compliance/inspec/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-centos-71/.vagrant/machines/default/virtualbox/private_key"
6
+ last_action: verify
@@ -0,0 +1,6 @@
1
+ ---
2
+ hostname: 127.0.0.1
3
+ port: '2202'
4
+ username: vagrant
5
+ ssh_key: "/Users/chartmann/Development/compliance/inspec/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1204/.vagrant/machines/default/virtualbox/private_key"
6
+ last_action: verify
@@ -0,0 +1,6 @@
1
+ ---
2
+ hostname: 127.0.0.1
3
+ port: '2204'
4
+ username: vagrant
5
+ ssh_key: "/Users/chartmann/Development/compliance/inspec/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key"
6
+ last_action: verify
@@ -0,0 +1,27 @@
1
+ -----BEGIN RSA PRIVATE KEY-----
2
+ MIIEpAIBAAKCAQEAuK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7B7w2l+UA
18
+ RJezveawV89nYETbrg8gBL8nC6yrfXUPK2xwrF8CgYBWqWkB+DiUXWX5615jgvE8
19
+ 2abdP0wdUkAS36lsFGoxVm1VsoaQ4IzDHaEH0Egb8w2WBJkIF4iJgnpRonNF3KvV
20
+ VXQ12gJ7i9tZV4iQuiZiT4j53lwB4woYE6zimVmLMBcrtwRrOBNhJmJUQdKDOomE
21
+ 6GhpiUS+6r7VQjuPHrypuQKBgQDBeLsJ0wqtLU/nJCrukV03WSwPRaxGuEZOoVST
22
+ 18H7RukQzfzsac4A9UcUJpdPKF2fe2+T0GADcZYD6LnjX/4LdF16d75m2utHqS1L
23
+ YtcgMI1LvCqSpCE+XDKJbEw1g6vhlz0hLTEe0XUQ0ebtEHsc7SJjb1SmKN568DN3
24
+ fdsg3QKBgQC+imy4aSMVhu5QKBH884W0IxhO+WTYwQfj+SEn8a5/xvpTKhPKqXKw
25
+ zlqpUs9dFmV0tJlBFqftxLasgMM0Rry6kkiUJwSTQH3m7KBwN0G0iVHNZcoIgnCx
26
+ gETpI0PxiE4LRDvWZC2gHTpUJod+Jsor0/HvQOMaZCW9E/FUckRV+w==
27
+ -----END RSA PRIVATE KEY-----
@@ -0,0 +1,9 @@
1
+ Vagrant.configure("2") do |c|
2
+ c.berkshelf.enabled = false if Vagrant.has_plugin?("vagrant-berkshelf")
3
+ c.vm.box = "opscode-centos-7.1"
4
+ c.vm.box_url = "https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-7.1_chef-provisionerless.box"
5
+ c.vm.hostname = "default-centos-71"
6
+ c.vm.synced_folder ".", "/vagrant", disabled: true
7
+ c.vm.provider :virtualbox do |p|
8
+ end
9
+ end
@@ -0,0 +1,27 @@
1
+ -----BEGIN RSA PRIVATE KEY-----
2
+ MIIEowIBAAKCAQEAs9/+nJH1zZRGlJsMUCsJJvjh5uEUIa3HorJBH5JbHpfnVaKm
3
+ fWoua0jpr1at/QJtZTFi5nO66ejA6KXKyeZ4D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QPdBBtm0j6GrFyt5op1qhEwmy92RuivP6976wK0kqkIaNzqGeOPO5StwiS2
20
+ nfKxNaa8ju4mL8Sulb/OoKzOcnpjfWEOUL6+4Qtg0CC/00u5tzFkdVEdq80xcrd4
21
+ SLH7KvpR9028EQNH4Zub8QKBgHet43EbNfGoQkuKlAwM/e5aU/+bV7Z3khtXd4s3
22
+ zFO8DkVC12QWN+YaQwDL70XXFDSrWx5nCtWbRC97VnZFXB9nRcreTL7FefXScTC/
23
+ Oh6F1AeAIgt781f039pV8+/gBdVTAdKiovje+tPgmuPvhgVQ56GFpC9TWzKoDE7w
24
+ IJj/AoGBAJ8orwF9YAHbIjbh5V+H8C6dPvPBFZMq2bRvT4/Q2MbNUVI+ingEBR5E
25
+ F9lKte7c4zmb1u2n3RwJV9PmaAI2KZo0py2s5zJ/lAyGlJCVwqnvUaykrXar2Aag
26
+ YZA9FZ7O9b+4f//yV6cEFPl9rySSA41fV47f4UzfAQmo4s7olgzj
27
+ -----END RSA PRIVATE KEY-----
@@ -0,0 +1,9 @@
1
+ Vagrant.configure("2") do |c|
2
+ c.berkshelf.enabled = false if Vagrant.has_plugin?("vagrant-berkshelf")
3
+ c.vm.box = "opscode-ubuntu-12.04"
4
+ c.vm.box_url = "https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-12.04_chef-provisionerless.box"
5
+ c.vm.hostname = "default-ubuntu-1204"
6
+ c.vm.synced_folder ".", "/vagrant", disabled: true
7
+ c.vm.provider :virtualbox do |p|
8
+ end
9
+ end
@@ -0,0 +1,27 @@
1
+ -----BEGIN RSA PRIVATE KEY-----
2
+ MIIEpAIBAAKCAQEAqa6M0DX3csRg6lDX9y3Bt9FBas4PF3+oB1kNOxlqcT2TIgn/
3
+ 35dIaC7EzzZF94dRn8UHAJCxd7l4BW6f7n2O8nwDMp41aMQOP9i75uNF2+sIBAud
4
+ bv/G5nW92d6aZjo4ipHqfuQYqHIEw8/pZrLHVOth+/hWRrW/xEHKY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uq+8xkvpEp6KK22BwHESuA8rhoJfKpVHvMG/OXwvgP+37tBu5FD5
21
+ 2U0JsBUHTT2a/44kBsssA6UCgYBLo3b9Ej8yeBL/aH3io9ZNQuOZafvOW5U/tRnF
22
+ 8X3UdLCKJTRqgtgxnGA4EsUAwWQ4lwK3fRcj8/7TnFrndnA20f+a8DtHhZAZ2Efr
23
+ 9h6MzsiclVSyaKB27/840Zxuvdz5q8Lj0uN7/dEyAwhKkH/EA4/H2V5pm2r/15Q9
24
+ DCjLgQKBgQCF78EXo4Hb72RzxqLHXS9/u6UgyzBfSB6rlLbv3sR1w0JgHFXNDFxq
25
+ shuDEd+HkLHvWEudyDplqwzdLJFTe7P97XRr+P9EeG6t4ZLKPsdMTD4q/cV+FHZZ
26
+ qtECgZ6BvymQ8pLFW8a6clq4wTRenpb4e+9mHcBJebWA2ne0acyafA==
27
+ -----END RSA PRIVATE KEY-----
@@ -0,0 +1,9 @@
1
+ Vagrant.configure("2") do |c|
2
+ c.berkshelf.enabled = false if Vagrant.has_plugin?("vagrant-berkshelf")
3
+ c.vm.box = "opscode-ubuntu-14.04"
4
+ c.vm.box_url = "https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-14.04_chef-provisionerless.box"
5
+ c.vm.hostname = "default-ubuntu-1404"
6
+ c.vm.synced_folder ".", "/vagrant", disabled: true
7
+ c.vm.provider :virtualbox do |p|
8
+ end
9
+ end
@@ -0,0 +1,4 @@
1
+ I, [2016-01-12T19:39:27.436556 #48197] INFO -- default-centos-71: -----> Setting up <default-centos-71>...
2
+ I, [2016-01-12T19:39:27.437687 #48197] INFO -- default-centos-71: Finished setting up <default-centos-71> (0m0.00s).
3
+ I, [2016-01-12T19:39:27.437738 #48197] INFO -- default-centos-71: -----> Verifying <default-centos-71>...
4
+ I, [2016-01-12T19:39:28.337247 #48197] INFO -- default-centos-71: Finished verifying <default-centos-71> (0m0.90s).
@@ -0,0 +1,4 @@
1
+ I, [2016-01-12T19:39:28.337600 #48197] INFO -- default-ubuntu-1204: -----> Setting up <default-ubuntu-1204>...
2
+ I, [2016-01-12T19:39:28.339013 #48197] INFO -- default-ubuntu-1204: Finished setting up <default-ubuntu-1204> (0m0.00s).
3
+ I, [2016-01-12T19:39:28.339071 #48197] INFO -- default-ubuntu-1204: -----> Verifying <default-ubuntu-1204>...
4
+ I, [2016-01-12T19:39:28.500767 #48197] INFO -- default-ubuntu-1204: Finished verifying <default-ubuntu-1204> (0m0.16s).
@@ -0,0 +1,4 @@
1
+ I, [2016-01-12T19:39:28.501281 #48197] INFO -- default-ubuntu-1404: -----> Setting up <default-ubuntu-1404>...
2
+ I, [2016-01-12T19:39:28.501937 #48197] INFO -- default-ubuntu-1404: Finished setting up <default-ubuntu-1404> (0m0.00s).
3
+ I, [2016-01-12T19:39:28.501992 #48197] INFO -- default-ubuntu-1404: -----> Verifying <default-ubuntu-1404>...
4
+ I, [2016-01-12T19:39:28.703119 #48197] INFO -- default-ubuntu-1404: Finished verifying <default-ubuntu-1404> (0m0.20s).
@@ -0,0 +1,8 @@
1
+ I, [2016-01-12T19:39:27.064670 #48197] INFO -- Kitchen: -----> Starting Kitchen (v1.4.2)
2
+ I, [2016-01-12T19:39:27.436504 #48197] INFO -- Kitchen: -----> Setting up <default-centos-71>...
3
+ I, [2016-01-12T19:39:27.437725 #48197] INFO -- Kitchen: -----> Verifying <default-centos-71>...
4
+ I, [2016-01-12T19:39:28.337575 #48197] INFO -- Kitchen: -----> Setting up <default-ubuntu-1204>...
5
+ I, [2016-01-12T19:39:28.339056 #48197] INFO -- Kitchen: -----> Verifying <default-ubuntu-1204>...
6
+ I, [2016-01-12T19:39:28.501253 #48197] INFO -- Kitchen: -----> Setting up <default-ubuntu-1404>...
7
+ I, [2016-01-12T19:39:28.501978 #48197] INFO -- Kitchen: -----> Verifying <default-ubuntu-1404>...
8
+ I, [2016-01-12T19:39:28.703236 #48197] INFO -- Kitchen: -----> Kitchen is finished. (0m1.64s)
@@ -0,0 +1,154 @@
1
+ PATH
2
+ remote: ../../.
3
+ specs:
4
+ inspec (0.9.8)
5
+ json (~> 1.8)
6
+ method_source (~> 0.8)
7
+ pry (~> 0)
8
+ r-train (~> 0.9, >= 0.9.3)
9
+ rainbow (~> 2)
10
+ rspec (~> 3.3)
11
+ rspec-its (~> 1.2)
12
+ rubyzip (~> 1.1)
13
+ thor (~> 0.19)
14
+
15
+ GEM
16
+ remote: https://rubygems.org/
17
+ specs:
18
+ ast (2.1.0)
19
+ astrolabe (1.3.1)
20
+ parser (~> 2.2)
21
+ builder (3.2.2)
22
+ coderay (1.1.0)
23
+ concurrent-ruby (0.9.2)
24
+ diff-lcs (1.2.5)
25
+ docile (1.1.5)
26
+ docker-api (1.24.1)
27
+ excon (>= 0.38.0)
28
+ json
29
+ excon (0.45.4)
30
+ faraday (0.9.2)
31
+ multipart-post (>= 1.2, < 3)
32
+ ffi (1.9.10)
33
+ gssapi (1.2.0)
34
+ ffi (>= 1.0.1)
35
+ gyoku (1.3.1)
36
+ builder (>= 2.1.2)
37
+ highline (1.7.8)
38
+ httpclient (2.7.0.1)
39
+ json (1.8.3)
40
+ kitchen-ansible (0.0.32)
41
+ librarian-ansible
42
+ test-kitchen
43
+ kitchen-inspec (0.9.0)
44
+ inspec (~> 0.9)
45
+ test-kitchen (~> 1.4)
46
+ kitchen-vagrant (0.19.0)
47
+ test-kitchen (~> 1.4)
48
+ librarian (0.1.2)
49
+ highline
50
+ thor (~> 0.15)
51
+ librarian-ansible (1.0.6)
52
+ faraday
53
+ librarian (~> 0.1.0)
54
+ little-plugger (1.1.4)
55
+ logging (2.0.0)
56
+ little-plugger (~> 1.1)
57
+ multi_json (~> 1.10)
58
+ method_source (0.8.2)
59
+ minitest (5.8.3)
60
+ mixlib-shellout (2.2.3)
61
+ multi_json (1.11.2)
62
+ multipart-post (2.0.0)
63
+ net-scp (1.2.1)
64
+ net-ssh (>= 2.6.5)
65
+ net-ssh (2.9.2)
66
+ nori (2.6.0)
67
+ parser (2.2.3.0)
68
+ ast (>= 1.1, < 3.0)
69
+ powerpack (0.1.1)
70
+ pry (0.10.3)
71
+ coderay (~> 1.1.0)
72
+ method_source (~> 0.8.1)
73
+ slop (~> 3.4)
74
+ r-train (0.9.3)
75
+ docker-api (~> 1.22)
76
+ json (~> 1.8)
77
+ mixlib-shellout (~> 2.1)
78
+ net-scp (~> 1.2)
79
+ net-ssh (~> 2.9)
80
+ winrm (~> 1.3)
81
+ winrm-transport (~> 1.0)
82
+ rainbow (2.0.0)
83
+ rake (10.4.2)
84
+ rspec (3.4.0)
85
+ rspec-core (~> 3.4.0)
86
+ rspec-expectations (~> 3.4.0)
87
+ rspec-mocks (~> 3.4.0)
88
+ rspec-core (3.4.1)
89
+ rspec-support (~> 3.4.0)
90
+ rspec-expectations (3.4.0)
91
+ diff-lcs (>= 1.2.0, < 2.0)
92
+ rspec-support (~> 3.4.0)
93
+ rspec-its (1.2.0)
94
+ rspec-core (>= 3.0.0)
95
+ rspec-expectations (>= 3.0.0)
96
+ rspec-mocks (3.4.0)
97
+ diff-lcs (>= 1.2.0, < 2.0)
98
+ rspec-support (~> 3.4.0)
99
+ rspec-support (3.4.1)
100
+ rubocop (0.33.0)
101
+ astrolabe (~> 1.3)
102
+ parser (>= 2.2.2.5, < 3.0)
103
+ powerpack (~> 0.1)
104
+ rainbow (>= 1.99.1, < 3.0)
105
+ ruby-progressbar (~> 1.4)
106
+ ruby-progressbar (1.7.5)
107
+ rubyntlm (0.4.0)
108
+ rubyzip (1.1.7)
109
+ safe_yaml (1.0.4)
110
+ simplecov (0.11.0)
111
+ docile (~> 1.1.0)
112
+ json (~> 1.8)
113
+ simplecov-html (~> 0.10.0)
114
+ simplecov-html (0.10.0)
115
+ slop (3.6.0)
116
+ test-kitchen (1.4.2)
117
+ mixlib-shellout (>= 1.2, < 3.0)
118
+ net-scp (~> 1.1)
119
+ net-ssh (~> 2.7, < 2.10)
120
+ safe_yaml (~> 1.0)
121
+ thor (~> 0.18)
122
+ thor (0.19.1)
123
+ uuidtools (2.1.5)
124
+ winrm (1.4.0)
125
+ builder (>= 2.1.2)
126
+ gssapi (~> 1.2)
127
+ gyoku (~> 1.0)
128
+ httpclient (~> 2.2, >= 2.2.0.2)
129
+ logging (>= 1.6.1, < 3.0)
130
+ nori (~> 2.0)
131
+ rubyntlm (~> 0.4.0)
132
+ uuidtools (~> 2.1.2)
133
+ winrm-transport (1.0.3)
134
+ rubyzip (~> 1.1, >= 1.1.7)
135
+ winrm (~> 1.3)
136
+
137
+ PLATFORMS
138
+ ruby
139
+
140
+ DEPENDENCIES
141
+ bundler (~> 1.5)
142
+ concurrent-ruby (~> 0.9)
143
+ inspec!
144
+ kitchen-ansible
145
+ kitchen-inspec
146
+ kitchen-vagrant
147
+ minitest (~> 5.5)
148
+ rake (~> 10)
149
+ rubocop (~> 0.33.0)
150
+ simplecov (~> 0.10)
151
+ test-kitchen (~> 1.4)
152
+
153
+ BUNDLED WITH
154
+ 1.10.6