inspec 0.9.9 → 0.9.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +34 -2
- data/README.md +5 -1
- data/bin/os +23 -0
- data/examples/kitchen-ansible/.kitchen/default-centos-71.yml +6 -0
- data/examples/kitchen-ansible/.kitchen/default-ubuntu-1204.yml +6 -0
- data/examples/kitchen-ansible/.kitchen/default-ubuntu-1404.yml +6 -0
- data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-centos-71/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-centos-71/.vagrant/machines/default/virtualbox/creator_uid +1 -0
- data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-centos-71/.vagrant/machines/default/virtualbox/id +1 -0
- data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-centos-71/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-centos-71/.vagrant/machines/default/virtualbox/private_key +27 -0
- data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-centos-71/.vagrant/machines/default/virtualbox/synced_folders +1 -0
- data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-centos-71/Vagrantfile +9 -0
- data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1204/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1204/.vagrant/machines/default/virtualbox/creator_uid +1 -0
- data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1204/.vagrant/machines/default/virtualbox/id +1 -0
- data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1204/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1204/.vagrant/machines/default/virtualbox/private_key +27 -0
- data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1204/.vagrant/machines/default/virtualbox/synced_folders +1 -0
- data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1204/Vagrantfile +9 -0
- data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid +1 -0
- data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id +1 -0
- data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key +27 -0
- data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders +1 -0
- data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1404/Vagrantfile +9 -0
- data/examples/kitchen-ansible/.kitchen/logs/default-centos-71.log +4 -0
- data/examples/kitchen-ansible/.kitchen/logs/default-ubuntu-1204.log +4 -0
- data/examples/kitchen-ansible/.kitchen/logs/default-ubuntu-1404.log +4 -0
- data/examples/kitchen-ansible/.kitchen/logs/kitchen.log +8 -0
- data/examples/kitchen-ansible/Gemfile.lock +154 -0
- data/examples/kitchen-chef/.kitchen/default-centos-71.yml +6 -0
- data/examples/kitchen-chef/.kitchen/default-ubuntu-1204.yml +6 -0
- data/examples/kitchen-chef/.kitchen/default-ubuntu-1404.yml +6 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/.vagrant/machines/default/virtualbox/creator_uid +1 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/.vagrant/machines/default/virtualbox/id +1 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/.vagrant/machines/default/virtualbox/private_key +27 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/.vagrant/machines/default/virtualbox/synced_folders +1 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/Vagrantfile +9 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/.vagrant/machines/default/virtualbox/creator_uid +1 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/.vagrant/machines/default/virtualbox/id +1 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/.vagrant/machines/default/virtualbox/private_key +27 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/.vagrant/machines/default/virtualbox/synced_folders +1 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/Vagrantfile +9 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid +1 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id +1 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key +27 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders +1 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/Vagrantfile +9 -0
- data/examples/kitchen-chef/.kitchen/logs/default-centos-71.log +4 -0
- data/examples/kitchen-chef/.kitchen/logs/default-ubuntu-1204.log +4 -0
- data/examples/kitchen-chef/.kitchen/logs/default-ubuntu-1404.log +4 -0
- data/examples/kitchen-chef/.kitchen/logs/kitchen.log +8 -0
- data/examples/kitchen-chef/Berksfile.lock +11 -0
- data/examples/kitchen-chef/Gemfile.lock +223 -0
- data/examples/kitchen-puppet/.bundle/config +2 -0
- data/examples/kitchen-puppet/.kitchen/logs/default-centos-71.log +5 -0
- data/examples/kitchen-puppet/.kitchen/logs/default-ubuntu-1204.log +5 -0
- data/examples/kitchen-puppet/.kitchen/logs/default-ubuntu-1404.log +5 -0
- data/examples/kitchen-puppet/.kitchen/logs/kitchen.log +5 -0
- data/examples/kitchen-puppet/.librarian/puppet/config +2 -0
- data/examples/kitchen-puppet/Gemfile.lock +174 -0
- data/examples/kitchen-puppet/Puppetfile.lock +2 -0
- data/examples/profile/libraries/.DS_Store +0 -0
- data/examples/test-kitchen/.kitchen/logs/default-centos-71.log +5 -0
- data/examples/test-kitchen/.kitchen/logs/default-ubuntu-1204.log +5 -0
- data/examples/test-kitchen/.kitchen/logs/default-ubuntu-1404.log +5 -0
- data/examples/test-kitchen/.kitchen/logs/kitchen.log +5 -0
- data/examples/test-kitchen/Berksfile.lock +11 -0
- data/examples/test-kitchen/Gemfile.lock +233 -0
- data/inspec.gemspec +2 -2
- data/lib/.DS_Store +0 -0
- data/lib/extras/compliance/README.md +15 -0
- data/lib/extras/compliance/compliance.rb +245 -0
- data/lib/inspec/metadata.rb +3 -1
- data/lib/inspec/profile.rb +2 -0
- data/lib/inspec/profile_context.rb +34 -63
- data/lib/inspec/resource.rb +23 -0
- data/lib/inspec/runner.rb +17 -35
- data/lib/inspec/runner_mock.rb +31 -0
- data/lib/inspec/runner_rspec.rb +94 -0
- data/lib/inspec/targets/dir.rb +2 -4
- data/lib/inspec/version.rb +1 -1
- data/{test/unit/mock/profiles/complete-meta/test/.gitkeep → lib/resources/certificate.rb} +0 -0
- data/lib/resources/command.rb +1 -1
- data/lib/resources/postgres_session.rb +10 -15
- data/{test/unit/mock/profiles/custom-resource/test/.gitkeep → lib/resources/private_key.rb} +0 -0
- data/lib/resources/registry_key.rb +10 -6
- data/lib/resources/service.rb +232 -63
- data/test/chefdk/.gitignore +16 -0
- data/test/chefdk/.kitchen.yml +27 -0
- data/test/chefdk/Policyfile.rb +16 -0
- data/test/chefdk/README.md +4 -0
- data/test/chefdk/chefignore +100 -0
- data/test/chefdk/metadata.rb +7 -0
- data/test/chefdk/recipes/default.rb +5 -0
- data/test/chefdk/spec/spec_helper.rb +2 -0
- data/test/chefdk/spec/unit/recipes/default_spec.rb +20 -0
- data/test/chefdk/test/integration/default/serverspec/default_spec.rb +9 -0
- data/test/chefdk/test/integration/helpers/serverspec/spec_helper.rb +8 -0
- data/test/docker_run.rb +5 -1
- data/test/docker_test.rb +1 -2
- data/test/helper.rb +1 -0
- data/test/integration/.kitchen/default-aws-linux.yml +4 -0
- data/test/integration/.kitchen/default-centos-7.yml +4 -0
- data/test/integration/.kitchen/default-debian-8.yml +4 -0
- data/test/integration/.kitchen/default-fedora-22.yml +4 -0
- data/test/integration/.kitchen/default-redhat-65.yml +4 -0
- data/test/integration/.kitchen/default-redhat-71.yml +4 -0
- data/test/integration/.kitchen/default-suse-11sp3.yml +4 -0
- data/test/integration/.kitchen/default-suse-12.yml +4 -0
- data/test/integration/.kitchen/default-ubuntu-1204.yml +3 -0
- data/test/integration/.kitchen/default-ubuntu-1404.yml +4 -0
- data/test/integration/.kitchen/default-windows-2012.yml +1 -0
- data/test/integration/.kitchen/default-windows-2012r2.yml +2 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67-i386/Vagrantfile +9 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/creator_uid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/id +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/private_key +27 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/synced_folders +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/Vagrantfile +9 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-modernIE-w10-edge/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-modernIE-w10-edge/.vagrant/machines/default/virtualbox/creator_uid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-modernIE-w10-edge/.vagrant/machines/default/virtualbox/id +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-modernIE-w10-edge/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-modernIE-w10-edge/Vagrantfile +8 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/creator_uid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/id +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/private_key +27 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/synced_folders +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/Vagrantfile +9 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key +27 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/Vagrantfile +9 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-windows-2012R2-matt/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-windows-2012R2-matt/.vagrant/machines/default/virtualbox/creator_uid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-windows-2012R2-matt/.vagrant/machines/default/virtualbox/id +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-windows-2012R2-matt/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-windows-2012R2-matt/Vagrantfile +8 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-new-ubuntu-1404/Vagrantfile +9 -0
- data/test/{unit/mock/profiles/empty/metadata.rb → integration/.kitchen/logs/default-aws-linux.log} +0 -0
- data/test/integration/.kitchen/logs/default-centos-511-i386.log +2 -0
- data/test/integration/.kitchen/logs/default-centos-511.log +2 -0
- data/test/integration/.kitchen/logs/default-centos-67-i386.log +2 -0
- data/test/integration/.kitchen/logs/default-centos-67.log +2 -0
- data/test/integration/.kitchen/logs/default-centos-7.log +0 -0
- data/test/integration/.kitchen/logs/default-centos-71.log +2 -0
- data/test/integration/.kitchen/logs/default-debian-6010-i386.log +2 -0
- data/test/integration/.kitchen/logs/default-debian-6010.log +2 -0
- data/test/integration/.kitchen/logs/default-debian-78-i386.log +2 -0
- data/test/integration/.kitchen/logs/default-debian-78.log +2 -0
- data/test/integration/.kitchen/logs/default-debian-8.log +0 -0
- data/test/integration/.kitchen/logs/default-debian-81-i386.log +2 -0
- data/test/integration/.kitchen/logs/default-debian-81.log +2 -0
- data/test/integration/.kitchen/logs/default-fedora-21-i386.log +2 -0
- data/test/integration/.kitchen/logs/default-fedora-21.log +2 -0
- data/test/integration/.kitchen/logs/default-fedora-22.log +0 -0
- data/test/integration/.kitchen/logs/default-freebsd-102.log +2 -0
- data/test/integration/.kitchen/logs/default-freebsd-93.log +2 -0
- data/test/integration/.kitchen/logs/default-mint-172-cinnamon.log +2 -0
- data/test/integration/.kitchen/logs/default-modernIE-w10-edge.log +2 -0
- data/test/integration/.kitchen/logs/default-modernIE-w7-ie11.log +2 -0
- data/test/integration/.kitchen/logs/default-modernIE-w81-ie11.log +2 -0
- data/test/integration/.kitchen/logs/default-opensuse-132-i386.log +2 -0
- data/test/integration/.kitchen/logs/default-opensuse-132-x86-64.log +2 -0
- data/test/integration/.kitchen/logs/default-opentable-win-2008r2-standard-amd64-nocm.log +0 -0
- data/test/integration/.kitchen/logs/default-opentable-win-2012r2-standard-amd64-nocm.log +0 -0
- data/test/integration/.kitchen/logs/default-redhat-65.log +0 -0
- data/test/integration/.kitchen/logs/default-redhat-71.log +0 -0
- data/test/integration/.kitchen/logs/default-suse-11sp3.log +0 -0
- data/test/integration/.kitchen/logs/default-suse-12.log +0 -0
- data/test/integration/.kitchen/logs/default-ubuntu-1004-i386.log +2 -0
- data/test/integration/.kitchen/logs/default-ubuntu-1004.log +2 -0
- data/test/integration/.kitchen/logs/default-ubuntu-1204-i386.log +2 -0
- data/test/integration/.kitchen/logs/default-ubuntu-1204.log +0 -0
- data/test/integration/.kitchen/logs/default-ubuntu-1404-i386.log +2 -0
- data/test/integration/.kitchen/logs/default-ubuntu-1404.log +0 -0
- data/test/integration/.kitchen/logs/default-ubuntu-1510.log +0 -0
- data/test/integration/.kitchen/logs/default-windows-2008-opentable.log +2 -0
- data/test/integration/.kitchen/logs/default-windows-2008.log +0 -0
- data/test/integration/.kitchen/logs/default-windows-2012.log +0 -0
- data/test/integration/.kitchen/logs/default-windows-2012R2-matt.log +2 -0
- data/test/integration/.kitchen/logs/default-windows-2012r2-opentable.log +2 -0
- data/test/integration/.kitchen/logs/default-windows-2012r2.log +41 -0
- data/test/integration/.kitchen/logs/kitchen.log +0 -0
- data/test/integration/.kitchen/logs/new-centos-511-i386.log +0 -0
- data/test/integration/.kitchen/logs/new-centos-511.log +0 -0
- data/test/integration/.kitchen/logs/new-centos-67-i386.log +0 -0
- data/test/integration/.kitchen/logs/new-centos-67.log +0 -0
- data/test/integration/.kitchen/logs/new-centos-71.log +0 -0
- data/test/integration/.kitchen/logs/new-debian-6010-i386.log +0 -0
- data/test/integration/.kitchen/logs/new-debian-6010.log +0 -0
- data/test/integration/.kitchen/logs/new-debian-78-i386.log +0 -0
- data/test/integration/.kitchen/logs/new-debian-78.log +0 -0
- data/test/integration/.kitchen/logs/new-debian-81-i386.log +0 -0
- data/test/integration/.kitchen/logs/new-debian-81.log +0 -0
- data/test/integration/.kitchen/logs/new-fedora-21-i386.log +0 -0
- data/test/integration/.kitchen/logs/new-fedora-21.log +0 -0
- data/test/integration/.kitchen/logs/new-fedora-22.log +0 -0
- data/test/integration/.kitchen/logs/new-freebsd-102.log +0 -0
- data/test/integration/.kitchen/logs/new-freebsd-93.log +0 -0
- data/test/integration/.kitchen/logs/new-opensuse-132-i386.log +0 -0
- data/test/integration/.kitchen/logs/new-opensuse-132-x86-64.log +0 -0
- data/test/integration/.kitchen/logs/new-ubuntu-1004-i386.log +0 -0
- data/test/integration/.kitchen/logs/new-ubuntu-1004.log +0 -0
- data/test/integration/.kitchen/logs/new-ubuntu-1204-i386.log +0 -0
- data/test/integration/.kitchen/logs/new-ubuntu-1204.log +0 -0
- data/test/integration/.kitchen/logs/new-ubuntu-1404-i386.log +0 -0
- data/test/integration/.kitchen/logs/new-ubuntu-1404.log +3 -0
- data/test/integration/.kitchen/logs/test-centos-511-i386.log +0 -0
- data/test/integration/.kitchen/logs/test-centos-511.log +0 -0
- data/test/integration/.kitchen/logs/test-centos-67-i386.log +0 -0
- data/test/integration/.kitchen/logs/test-centos-67.log +0 -0
- data/test/integration/.kitchen/logs/test-centos-71.log +0 -0
- data/test/integration/.kitchen/logs/test-debian-6010-i386.log +0 -0
- data/test/integration/.kitchen/logs/test-debian-6010.log +0 -0
- data/test/integration/.kitchen/logs/test-debian-78-i386.log +0 -0
- data/test/integration/.kitchen/logs/test-debian-78.log +0 -0
- data/test/integration/.kitchen/logs/test-debian-81-i386.log +0 -0
- data/test/integration/.kitchen/logs/test-debian-81.log +0 -0
- data/test/integration/.kitchen/logs/test-fedora-21-i386.log +0 -0
- data/test/integration/.kitchen/logs/test-fedora-21.log +0 -0
- data/test/integration/.kitchen/logs/test-fedora-22.log +0 -0
- data/test/integration/.kitchen/logs/test-freebsd-102.log +0 -0
- data/test/integration/.kitchen/logs/test-freebsd-93.log +0 -0
- data/test/integration/.kitchen/logs/test-opensuse-132-i386.log +0 -0
- data/test/integration/.kitchen/logs/test-opensuse-132-x86-64.log +0 -0
- data/test/integration/.kitchen/logs/test-ubuntu-1004-i386.log +0 -0
- data/test/integration/.kitchen/logs/test-ubuntu-1004.log +0 -0
- data/test/integration/.kitchen/logs/test-ubuntu-1204-i386.log +0 -0
- data/test/integration/.kitchen/logs/test-ubuntu-1204.log +0 -0
- data/test/integration/.kitchen/logs/test-ubuntu-1404-i386.log +0 -0
- data/test/integration/.kitchen/logs/test-ubuntu-1404.log +0 -0
- data/test/integration/.kitchen/new-ubuntu-1404.yml +1 -0
- data/test/integration/Berksfile +1 -0
- data/test/integration/Berksfile.lock +27 -0
- data/test/integration/TODO.md +15 -0
- data/test/integration/cookbooks/os_prepare/files/empty.iso +0 -0
- data/test/integration/cookbooks/os_prepare/metadata.rb +2 -0
- data/test/integration/cookbooks/os_prepare/recipes/_runit_service_centos.rb +34 -0
- data/test/integration/cookbooks/os_prepare/recipes/default.rb +1 -0
- data/test/integration/cookbooks/os_prepare/recipes/mount.rb +5 -5
- data/test/integration/cookbooks/os_prepare/recipes/postgres.rb +12 -0
- data/test/integration/cookbooks/os_prepare/recipes/service.rb +6 -2
- data/test/integration/cookbooks/os_prepare/templates/default/sv-default-svlog-run.erb +3 -0
- data/test/integration/test/.DS_Store +0 -0
- data/test/integration/test/integration/.DS_Store +0 -0
- data/test/integration/test/integration/default/.DS_Store +0 -0
- data/test/integration/test/integration/default/certificate_spec.rb +7 -0
- data/test/integration/test/integration/default/file_spec.rb +2 -2
- data/test/integration/test/integration/default/mount_spec.rb +1 -1
- data/test/integration/test/integration/default/postgres_session_spec.rb +9 -0
- data/test/integration/test/integration/default/service_spec.rb +34 -0
- data/test/mac/service_spec.rb +5 -0
- data/test/serverspec/.kitchen.yml +18 -0
- data/test/serverspec/.kitchen/default-ubuntu-1404.yml +6 -0
- data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid +1 -0
- data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id +1 -0
- data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key +27 -0
- data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders +1 -0
- data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/Vagrantfile +9 -0
- data/test/serverspec/.kitchen/logs/default-ubuntu-1404.log +2 -0
- data/test/serverspec/.kitchen/logs/kitchen.log +3 -0
- data/test/serverspec/Berksfile +3 -0
- data/test/serverspec/Berksfile.lock +5 -0
- data/test/serverspec/TODO.md +2 -0
- data/test/serverspec/test/integration/default/serverspec/os_spec.rb +25 -0
- data/test/serverspec/test/integration/default/serverspec/spec_helper.rb +48 -0
- data/test/serverspec/test/integration/default/serverspec/sysctl_spec.rb +37 -0
- data/test/unit/metadata_test.rb +13 -1
- data/test/unit/mock/profiles/complete-metadata/inspec.yml +7 -0
- data/test/unit/mock/profiles/empty-metadata/inspec.yml +0 -0
- data/test/unit/mock/profiles/{complete-meta → legacy-complete-metadata}/metadata.rb +0 -0
- data/test/unit/mock/profiles/legacy-complete-metadata/test/.gitkeep +0 -0
- data/test/unit/mock/profiles/legacy-empty-metadata/controls/.gitkeep +0 -0
- data/test/unit/mock/profiles/legacy-empty-metadata/metadata.rb +0 -0
- data/test/unit/mock/profiles/{metadata → legacy-simple-metadata}/metadata.rb +0 -0
- data/test/unit/mock/profiles/legacy-simple-metadata/test/.gitkeep +0 -0
- data/test/unit/mock/profiles/simple-metadata/inspec.yml +1 -0
- data/test/unit/profile_test.rb +82 -31
- data/test/unit/resources/service_test.rb +67 -3
- metadata +466 -23
- data/examples/resource/controls/tiny.rb +0 -3
- data/examples/resource/inspec.yml +0 -10
- data/examples/resource/libraries/tiny.rb +0 -3
- data/lib/inspec/targets/url.rb.orig +0 -87
- data/test/unit/mock/profiles/custom-resource/libraries/resource.rb +0 -3
- data/test/unit/mock/profiles/custom-resource/metadata.rb +0 -7
@@ -0,0 +1,6 @@
|
|
1
|
+
---
|
2
|
+
hostname: 127.0.0.1
|
3
|
+
port: '2222'
|
4
|
+
username: vagrant
|
5
|
+
ssh_key: "/Users/chartmann/Development/compliance/inspec/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-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: '2201'
|
4
|
+
username: vagrant
|
5
|
+
ssh_key: "/Users/chartmann/Development/compliance/inspec/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-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: '2203'
|
4
|
+
username: vagrant
|
5
|
+
ssh_key: "/Users/chartmann/Development/compliance/inspec/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key"
|
6
|
+
last_action: verify
|
@@ -0,0 +1 @@
|
|
1
|
+
1452644945
|
@@ -0,0 +1 @@
|
|
1
|
+
501
|
@@ -0,0 +1 @@
|
|
1
|
+
3baf6655-6a49-4132-b878-3e949dbfb81a
|
@@ -0,0 +1 @@
|
|
1
|
+
72fe12e5dd6640d7849c1620121ba0a1
|
@@ -0,0 +1,27 @@
|
|
1
|
+
-----BEGIN RSA PRIVATE KEY-----
|
2
|
+
MIIEowIBAAKCAQEArIvnDLGLjAaY9sJt4oSSMItNgGCZR15uJFXIXoPUFCIjYIeX
|
3
|
+
5JeHoYSeP/ar0V90vEQxS4ypiFDj2Ap5OtlBeor1eSomn2TIvazb8X74VW0CXGsH
|
4
|
+
XZ/jE8REhg3y2+E+BUnYb/xktOI7n7WRt92jLuYGa0xOV5JayTWUa858HKx4SnCw
|
5
|
+
XiRYKGrFWg8ACl+PXVX59ivVO63YvSjb1m9cRCs+xJUeTwiXxbyBt+QR0lNfNV1+
|
6
|
+
vhFEoTd27edVvzXevC/7KJyOTiTlbdxZZBOLZbD4umCedZ7J5mvXjyyuD2Zqzp0g
|
7
|
+
l7qMhnaxCjpOAQ43A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
|
22
|
+
bVCZq0UIk1RxVh3Oc6mRbZN92qdM2bHtMbiec0f+NI8SNhAiyw0kr2nv92F54DV7
|
23
|
+
YMT7FxtHergSMUoveF7EeYY6dUV6He1CXtlWaRLt3E8qhgGLlHrI+S1BFuUsK6RE
|
24
|
+
cvJfHwKBgDjLd9c/KklNJxCSXkh6YOc+8aKpbePUhhXB/ebm8Bv+ydniRz7GzNbd
|
25
|
+
5evAuJ5exTuqhdt1Tb9fGL36c6blHnjVZAzhCYln/7Sc/AKAQ0RENbU5lsQAmD64
|
26
|
+
A26qNX+07nOM67zYnH8k0JurObEihyB6hJElpiorhf3Jy4DNAPHs
|
27
|
+
-----END RSA PRIVATE KEY-----
|
@@ -0,0 +1 @@
|
|
1
|
+
{}
|
@@ -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 @@
|
|
1
|
+
1452645018
|
@@ -0,0 +1 @@
|
|
1
|
+
501
|
@@ -0,0 +1 @@
|
|
1
|
+
0337be18-83fb-4393-8921-5c69f4f70285
|
@@ -0,0 +1 @@
|
|
1
|
+
a77f3c34a8454cddbc7fc85dd624b7a2
|
@@ -0,0 +1,27 @@
|
|
1
|
+
-----BEGIN RSA PRIVATE KEY-----
|
2
|
+
MIIEowIBAAKCAQEA1vDLyLrN48/5w6wwRCB1S3FvUhacxW5Xj5INeKXzGwjD5MSH
|
3
|
+
FboPlXAGFNLobWbiQlaep3HRKEzkw8OP5bmnlrYzRznKRi1yY7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K7pq271UE8tGKWkWW2dlNAoGAPq2pjv+V02TnchjUNzxa
|
19
|
+
M3ASYDpB+zNYJDJq6rVA3LT1Mojr0Mvj5qE0ofrBq6xK4/ihVbMiWqVb1nVFiJha
|
20
|
+
rG3FnfLRiTEUvdlPehHkZh04YLoOtAjuoU3wsrMvwkbFm1E81wf0F37zmvPL8zEf
|
21
|
+
pSaz45tu6CzFvdU6hW1LinECgYBsLAsstia1bMnskIc4rSxjFDW5dw29fltbTVLJ
|
22
|
+
QBYS0vIfJavJ1GdRmaqOxrPYC30VIvvM5W1Q1eNyDCvJgZpKP+HwcpcsQYF/2aM4
|
23
|
+
EgctecT1C73hGx8QFSGyhU0jvZNUXqVfX6pghpPWi0Sj97JgkAppqWHcHogWv3kj
|
24
|
+
eOT2sQKBgFn5QkDy0P2CZPJbgpF+ZNcSo67qqm97iKkwiaA5Me9mZr1yuDS+cvnQ
|
25
|
+
gdGa2V/W3iNROPVPP3F4XJdf8RJegmjvql4OZVaeMU+k7UxBxM+LpBgAEDCmmsj1
|
26
|
+
eoMSxUF4MJcVt72ByTRu4Jp/E8GrQmPoq4pA4C0CDQX/QErA/0OQ
|
27
|
+
-----END RSA PRIVATE KEY-----
|
@@ -0,0 +1 @@
|
|
1
|
+
{}
|
@@ -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 @@
|
|
1
|
+
1452645077
|
@@ -0,0 +1 @@
|
|
1
|
+
501
|
@@ -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drcJ3yHVUDLu5sG7suqB+srGK0p7NCmVX5Ya+ni
|
15
|
+
l6n2qwqLUr3lhqHJMOsOOzRPU8DRKOA6yWC+UbfubI8gQeg7c/SkhpjZAoGBANtz
|
16
|
+
Ia/Ownz4mK0s5BcLQRgH3G19/gB6p/GpZHfXqbHLiZf4bQPtS+ta/ZOb0rjPQo7x
|
17
|
+
GcI6FNTkOMWI9f/2aoSniaJW9+o+Vj2cC5Mzsj4ElcrD0El7xuTADCZzFl6szN0G
|
18
|
+
oLsPof/Q+DBNaEEAaxwl5B4WlERm8WsMPWjYyYetAoGBAKCdOqg7CpnXgilu4tv4
|
19
|
+
WfP0216ChfxsIRX+EZaF/zkOiMHqLLWCPHfh1BFhDTfkXYuuzYmDECoUxYcKW1va
|
20
|
+
jwaMWc8gdUek50lSmAxTb1R08+HKNC5WJMK6OG7cZZtfI+xr5jPcrswkaxq0iAET
|
21
|
+
F62pCAhF4vMd4CmTDVaYpRe5AoGAIQCvkEEH/sNkMqcNpmmK4JJOFCleibPoje9r
|
22
|
+
rJpCavqxNqmlu3F0eXC1sf09M4339IdN2GfjuiCYaRyv4k6stkZ77G4n2pKFZb6R
|
23
|
+
/xFHPQxzeor4SBTVVJGNQjsMojBanuLgSUGQm2hR6vG5PA1UDmekZuH+aksRA4hT
|
24
|
+
s/DmXgECgYA0GFp0lLv1d+Y3s3WUIbMepd7o0JvQvWflE9j+n19UpsNlWJyveLSM
|
25
|
+
d9r4EjCt7/7C0CLVn77qJ7BKzovgbKHEj3idoxV/zHBtGhUQR47YbYZ15t8c2gr7
|
26
|
+
rnsmzCpjW002wVD6pdm9AF3b3Fm5dbEgLYOnzoTgsU6o6Sm2fVtIxg==
|
27
|
+
-----END RSA PRIVATE KEY-----
|
@@ -0,0 +1 @@
|
|
1
|
+
{}
|
@@ -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:13.648413 #48184] INFO -- default-centos-71: -----> Setting up <default-centos-71>...
|
2
|
+
I, [2016-01-12T19:39:13.649790 #48184] INFO -- default-centos-71: Finished setting up <default-centos-71> (0m0.00s).
|
3
|
+
I, [2016-01-12T19:39:13.649858 #48184] INFO -- default-centos-71: -----> Verifying <default-centos-71>...
|
4
|
+
I, [2016-01-12T19:39:14.497365 #48184] INFO -- default-centos-71: Finished verifying <default-centos-71> (0m0.84s).
|
@@ -0,0 +1,4 @@
|
|
1
|
+
I, [2016-01-12T19:39:14.497732 #48184] INFO -- default-ubuntu-1204: -----> Setting up <default-ubuntu-1204>...
|
2
|
+
I, [2016-01-12T19:39:14.498476 #48184] INFO -- default-ubuntu-1204: Finished setting up <default-ubuntu-1204> (0m0.00s).
|
3
|
+
I, [2016-01-12T19:39:14.498536 #48184] INFO -- default-ubuntu-1204: -----> Verifying <default-ubuntu-1204>...
|
4
|
+
I, [2016-01-12T19:39:14.635005 #48184] INFO -- default-ubuntu-1204: Finished verifying <default-ubuntu-1204> (0m0.14s).
|
@@ -0,0 +1,4 @@
|
|
1
|
+
I, [2016-01-12T19:39:14.635531 #48184] INFO -- default-ubuntu-1404: -----> Setting up <default-ubuntu-1404>...
|
2
|
+
I, [2016-01-12T19:39:14.636366 #48184] INFO -- default-ubuntu-1404: Finished setting up <default-ubuntu-1404> (0m0.00s).
|
3
|
+
I, [2016-01-12T19:39:14.636439 #48184] INFO -- default-ubuntu-1404: -----> Verifying <default-ubuntu-1404>...
|
4
|
+
I, [2016-01-12T19:39:14.850624 #48184] INFO -- default-ubuntu-1404: Finished verifying <default-ubuntu-1404> (0m0.21s).
|
@@ -0,0 +1,8 @@
|
|
1
|
+
I, [2016-01-12T19:39:12.927294 #48184] INFO -- Kitchen: -----> Starting Kitchen (v1.4.2)
|
2
|
+
I, [2016-01-12T19:39:13.648361 #48184] INFO -- Kitchen: -----> Setting up <default-centos-71>...
|
3
|
+
I, [2016-01-12T19:39:13.649834 #48184] INFO -- Kitchen: -----> Verifying <default-centos-71>...
|
4
|
+
I, [2016-01-12T19:39:14.497705 #48184] INFO -- Kitchen: -----> Setting up <default-ubuntu-1204>...
|
5
|
+
I, [2016-01-12T19:39:14.498522 #48184] INFO -- Kitchen: -----> Verifying <default-ubuntu-1204>...
|
6
|
+
I, [2016-01-12T19:39:14.635497 #48184] INFO -- Kitchen: -----> Setting up <default-ubuntu-1404>...
|
7
|
+
I, [2016-01-12T19:39:14.636421 #48184] INFO -- Kitchen: -----> Verifying <default-ubuntu-1404>...
|
8
|
+
I, [2016-01-12T19:39:14.850741 #48184] INFO -- Kitchen: -----> Kitchen is finished. (0m1.92s)
|
@@ -0,0 +1,223 @@
|
|
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
|
+
addressable (2.3.8)
|
19
|
+
ast (2.1.0)
|
20
|
+
astrolabe (1.3.1)
|
21
|
+
parser (~> 2.2)
|
22
|
+
berkshelf (4.0.1)
|
23
|
+
addressable (~> 2.3.4)
|
24
|
+
berkshelf-api-client (~> 2.0)
|
25
|
+
buff-config (~> 1.0)
|
26
|
+
buff-extensions (~> 1.0)
|
27
|
+
buff-shell_out (~> 0.1)
|
28
|
+
celluloid (= 0.16.0)
|
29
|
+
celluloid-io (~> 0.16.1)
|
30
|
+
cleanroom (~> 1.0)
|
31
|
+
faraday (~> 0.9.0)
|
32
|
+
httpclient (~> 2.6.0)
|
33
|
+
minitar (~> 0.5.4)
|
34
|
+
octokit (~> 3.0)
|
35
|
+
retryable (~> 2.0)
|
36
|
+
ridley (~> 4.3)
|
37
|
+
solve (~> 1.1)
|
38
|
+
thor (~> 0.19)
|
39
|
+
berkshelf-api-client (2.0.0)
|
40
|
+
faraday (~> 0.9.1)
|
41
|
+
httpclient (~> 2.6.0)
|
42
|
+
buff-config (1.0.1)
|
43
|
+
buff-extensions (~> 1.0)
|
44
|
+
varia_model (~> 0.4)
|
45
|
+
buff-extensions (1.0.0)
|
46
|
+
buff-ignore (1.1.1)
|
47
|
+
buff-ruby_engine (0.1.0)
|
48
|
+
buff-shell_out (0.2.0)
|
49
|
+
buff-ruby_engine (~> 0.1.0)
|
50
|
+
builder (3.2.2)
|
51
|
+
celluloid (0.16.0)
|
52
|
+
timers (~> 4.0.0)
|
53
|
+
celluloid-io (0.16.2)
|
54
|
+
celluloid (>= 0.16.0)
|
55
|
+
nio4r (>= 1.1.0)
|
56
|
+
cleanroom (1.0.0)
|
57
|
+
coderay (1.1.0)
|
58
|
+
concurrent-ruby (0.9.2)
|
59
|
+
dep-selector-libgecode (1.0.2)
|
60
|
+
dep_selector (1.0.3)
|
61
|
+
dep-selector-libgecode (~> 1.0)
|
62
|
+
ffi (~> 1.9)
|
63
|
+
diff-lcs (1.2.5)
|
64
|
+
docile (1.1.5)
|
65
|
+
docker-api (1.24.1)
|
66
|
+
excon (>= 0.38.0)
|
67
|
+
json
|
68
|
+
erubis (2.7.0)
|
69
|
+
excon (0.45.4)
|
70
|
+
faraday (0.9.2)
|
71
|
+
multipart-post (>= 1.2, < 3)
|
72
|
+
ffi (1.9.10)
|
73
|
+
gssapi (1.2.0)
|
74
|
+
ffi (>= 1.0.1)
|
75
|
+
gyoku (1.3.1)
|
76
|
+
builder (>= 2.1.2)
|
77
|
+
hashie (3.4.3)
|
78
|
+
hitimes (1.2.3)
|
79
|
+
httpclient (2.6.0.1)
|
80
|
+
json (1.8.3)
|
81
|
+
kitchen-inspec (0.9.0)
|
82
|
+
inspec (~> 0.9)
|
83
|
+
test-kitchen (~> 1.4)
|
84
|
+
kitchen-vagrant (0.19.0)
|
85
|
+
test-kitchen (~> 1.4)
|
86
|
+
little-plugger (1.1.4)
|
87
|
+
logging (2.0.0)
|
88
|
+
little-plugger (~> 1.1)
|
89
|
+
multi_json (~> 1.10)
|
90
|
+
method_source (0.8.2)
|
91
|
+
minitar (0.5.4)
|
92
|
+
minitest (5.8.3)
|
93
|
+
mixlib-authentication (1.3.0)
|
94
|
+
mixlib-log
|
95
|
+
mixlib-log (1.6.0)
|
96
|
+
mixlib-shellout (2.2.3)
|
97
|
+
multi_json (1.11.2)
|
98
|
+
multipart-post (2.0.0)
|
99
|
+
net-scp (1.2.1)
|
100
|
+
net-ssh (>= 2.6.5)
|
101
|
+
net-ssh (2.9.2)
|
102
|
+
nio4r (1.1.1)
|
103
|
+
nori (2.6.0)
|
104
|
+
octokit (3.8.0)
|
105
|
+
sawyer (~> 0.6.0, >= 0.5.3)
|
106
|
+
parser (2.2.3.0)
|
107
|
+
ast (>= 1.1, < 3.0)
|
108
|
+
powerpack (0.1.1)
|
109
|
+
pry (0.10.3)
|
110
|
+
coderay (~> 1.1.0)
|
111
|
+
method_source (~> 0.8.1)
|
112
|
+
slop (~> 3.4)
|
113
|
+
r-train (0.9.3)
|
114
|
+
docker-api (~> 1.22)
|
115
|
+
json (~> 1.8)
|
116
|
+
mixlib-shellout (~> 2.1)
|
117
|
+
net-scp (~> 1.2)
|
118
|
+
net-ssh (~> 2.9)
|
119
|
+
winrm (~> 1.3)
|
120
|
+
winrm-transport (~> 1.0)
|
121
|
+
rainbow (2.0.0)
|
122
|
+
rake (10.4.2)
|
123
|
+
retryable (2.0.3)
|
124
|
+
ridley (4.3.2)
|
125
|
+
addressable
|
126
|
+
buff-config (~> 1.0)
|
127
|
+
buff-extensions (~> 1.0)
|
128
|
+
buff-ignore (~> 1.1)
|
129
|
+
buff-shell_out (~> 0.1)
|
130
|
+
celluloid (~> 0.16.0)
|
131
|
+
celluloid-io (~> 0.16.1)
|
132
|
+
erubis
|
133
|
+
faraday (~> 0.9.0)
|
134
|
+
hashie (>= 2.0.2, < 4.0.0)
|
135
|
+
httpclient (~> 2.6)
|
136
|
+
json (>= 1.7.7)
|
137
|
+
mixlib-authentication (>= 1.3.0)
|
138
|
+
retryable (~> 2.0)
|
139
|
+
semverse (~> 1.1)
|
140
|
+
varia_model (~> 0.4.0)
|
141
|
+
rspec (3.4.0)
|
142
|
+
rspec-core (~> 3.4.0)
|
143
|
+
rspec-expectations (~> 3.4.0)
|
144
|
+
rspec-mocks (~> 3.4.0)
|
145
|
+
rspec-core (3.4.1)
|
146
|
+
rspec-support (~> 3.4.0)
|
147
|
+
rspec-expectations (3.4.0)
|
148
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
149
|
+
rspec-support (~> 3.4.0)
|
150
|
+
rspec-its (1.2.0)
|
151
|
+
rspec-core (>= 3.0.0)
|
152
|
+
rspec-expectations (>= 3.0.0)
|
153
|
+
rspec-mocks (3.4.0)
|
154
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
155
|
+
rspec-support (~> 3.4.0)
|
156
|
+
rspec-support (3.4.1)
|
157
|
+
rubocop (0.33.0)
|
158
|
+
astrolabe (~> 1.3)
|
159
|
+
parser (>= 2.2.2.5, < 3.0)
|
160
|
+
powerpack (~> 0.1)
|
161
|
+
rainbow (>= 1.99.1, < 3.0)
|
162
|
+
ruby-progressbar (~> 1.4)
|
163
|
+
ruby-progressbar (1.7.5)
|
164
|
+
rubyntlm (0.4.0)
|
165
|
+
rubyzip (1.1.7)
|
166
|
+
safe_yaml (1.0.4)
|
167
|
+
sawyer (0.6.0)
|
168
|
+
addressable (~> 2.3.5)
|
169
|
+
faraday (~> 0.8, < 0.10)
|
170
|
+
semverse (1.2.1)
|
171
|
+
simplecov (0.11.0)
|
172
|
+
docile (~> 1.1.0)
|
173
|
+
json (~> 1.8)
|
174
|
+
simplecov-html (~> 0.10.0)
|
175
|
+
simplecov-html (0.10.0)
|
176
|
+
slop (3.6.0)
|
177
|
+
solve (1.2.1)
|
178
|
+
dep_selector (~> 1.0)
|
179
|
+
semverse (~> 1.1)
|
180
|
+
test-kitchen (1.4.2)
|
181
|
+
mixlib-shellout (>= 1.2, < 3.0)
|
182
|
+
net-scp (~> 1.1)
|
183
|
+
net-ssh (~> 2.7, < 2.10)
|
184
|
+
safe_yaml (~> 1.0)
|
185
|
+
thor (~> 0.18)
|
186
|
+
thor (0.19.1)
|
187
|
+
timers (4.0.4)
|
188
|
+
hitimes
|
189
|
+
uuidtools (2.1.5)
|
190
|
+
varia_model (0.4.1)
|
191
|
+
buff-extensions (~> 1.0)
|
192
|
+
hashie (>= 2.0.2, < 4.0.0)
|
193
|
+
winrm (1.4.0)
|
194
|
+
builder (>= 2.1.2)
|
195
|
+
gssapi (~> 1.2)
|
196
|
+
gyoku (~> 1.0)
|
197
|
+
httpclient (~> 2.2, >= 2.2.0.2)
|
198
|
+
logging (>= 1.6.1, < 3.0)
|
199
|
+
nori (~> 2.0)
|
200
|
+
rubyntlm (~> 0.4.0)
|
201
|
+
uuidtools (~> 2.1.2)
|
202
|
+
winrm-transport (1.0.3)
|
203
|
+
rubyzip (~> 1.1, >= 1.1.7)
|
204
|
+
winrm (~> 1.3)
|
205
|
+
|
206
|
+
PLATFORMS
|
207
|
+
ruby
|
208
|
+
|
209
|
+
DEPENDENCIES
|
210
|
+
berkshelf (~> 4.0)
|
211
|
+
bundler (~> 1.5)
|
212
|
+
concurrent-ruby (~> 0.9)
|
213
|
+
inspec!
|
214
|
+
kitchen-inspec
|
215
|
+
kitchen-vagrant
|
216
|
+
minitest (~> 5.5)
|
217
|
+
rake (~> 10)
|
218
|
+
rubocop (~> 0.33.0)
|
219
|
+
simplecov (~> 0.10)
|
220
|
+
test-kitchen (~> 1.4)
|
221
|
+
|
222
|
+
BUNDLED WITH
|
223
|
+
1.10.6
|