inspec 0.9.8 → 0.9.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +5 -1
- data/CHANGELOG.md +23 -2
- data/Gemfile +1 -1
- data/Rakefile +15 -1
- data/docs/resources.rst +1 -1
- data/examples/profile/controls/gordon.rb +1 -1
- data/examples/resource/controls/tiny.rb +3 -0
- data/examples/resource/inspec.yml +10 -0
- data/examples/resource/libraries/tiny.rb +3 -0
- data/lib/inspec/dsl.rb +17 -17
- data/lib/inspec/metadata.rb +3 -8
- data/lib/inspec/plugins/resource.rb +1 -1
- data/lib/inspec/profile.rb +3 -2
- data/lib/inspec/profile_context.rb +2 -2
- data/lib/inspec/rule.rb +7 -7
- data/lib/inspec/shell.rb +5 -8
- data/lib/inspec/targets/dir.rb +1 -1
- data/lib/inspec/targets/tar.rb +3 -6
- data/lib/inspec/targets/url.rb +15 -9
- data/lib/inspec/targets/url.rb.orig +87 -0
- data/lib/inspec/version.rb +1 -1
- data/lib/matchers/matchers.rb +1 -1
- data/lib/resources/audit_policy.rb +1 -1
- data/lib/resources/command.rb +3 -3
- data/lib/resources/etc_group.rb +1 -1
- data/lib/resources/file.rb +4 -3
- data/lib/resources/group.rb +14 -18
- data/lib/resources/iptables.rb +1 -1
- data/lib/resources/json.rb +4 -6
- data/lib/resources/kernel_parameter.rb +1 -1
- data/lib/resources/os.rb +1 -1
- data/lib/resources/package.rb +20 -2
- data/lib/resources/passwd.rb +1 -1
- data/lib/resources/port.rb +112 -42
- data/lib/resources/postgres_conf.rb +1 -1
- data/lib/resources/postgres_session.rb +2 -2
- data/lib/resources/registry_key.rb +2 -1
- data/lib/resources/security_policy.rb +2 -2
- data/lib/resources/service.rb +50 -1
- data/lib/resources/user.rb +45 -0
- data/lib/resources/yum.rb +2 -2
- data/lib/utils/convert.rb +1 -1
- data/lib/utils/find_files.rb +3 -3
- data/lib/utils/parser.rb +2 -2
- data/tasks/maintainers.rb +6 -6
- data/test/helper.rb +4 -2
- data/test/integration/cookbooks/os_prepare/recipes/file.rb +9 -2
- data/test/integration/cookbooks/os_prepare/recipes/json_yaml_csv_ini.rb +8 -2
- data/test/integration/test/integration/default/etc_group_spec.rb +22 -0
- data/test/integration/test/integration/default/file_spec.rb +10 -1
- data/test/integration/test/integration/default/group_spec.rb +17 -0
- data/test/integration/test/integration/default/package_spec.rb +10 -4
- data/test/integration/test/integration/default/port_spec.rb +6 -0
- data/test/integration/test/integration/default/service_spec.rb +3 -0
- data/test/integration/test/integration/default/user_spec.rb +26 -16
- data/test/unit/metadata_test.rb +24 -0
- data/test/unit/mock/cmd/lsof-nP-i-FpctPn +63 -0
- data/test/unit/mock/cmd/netstat-tulpen +1 -0
- data/test/unit/mock/cmd/systemctl-show-all-sshd +1 -1
- data/test/unit/mock/profiles/complete-meta/metadata.rb +1 -1
- data/test/unit/mock/profiles/custom-resource/libraries/resource.rb +3 -0
- data/test/unit/mock/profiles/custom-resource/metadata.rb +7 -0
- data/{examples/kitchen-ansible/.kitchen/logs/default-centos-71.log → test/unit/mock/profiles/custom-resource/test/.gitkeep} +0 -0
- data/test/unit/profile_test.rb +6 -2
- data/test/unit/resources/port_test.rb +8 -0
- data/test/unit/targets.rb +132 -0
- metadata +19 -551
- data/bin/os +0 -23
- data/examples/kitchen-ansible/.kitchen/logs/default-ubuntu-1204.log +0 -0
- data/examples/kitchen-ansible/.kitchen/logs/default-ubuntu-1404.log +0 -432
- data/examples/kitchen-ansible/.kitchen/logs/kitchen.log +0 -10
- data/examples/kitchen-ansible/Gemfile.lock +0 -154
- data/examples/kitchen-chef/.kitchen/default-centos-71.yml +0 -6
- data/examples/kitchen-chef/.kitchen/default-ubuntu-1204.yml +0 -6
- data/examples/kitchen-chef/.kitchen/default-ubuntu-1404.yml +0 -6
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/.vagrant/machines/default/virtualbox/action_set_name +0 -1
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/.vagrant/machines/default/virtualbox/creator_uid +0 -1
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/.vagrant/machines/default/virtualbox/id +0 -1
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/.vagrant/machines/default/virtualbox/index_uuid +0 -1
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/.vagrant/machines/default/virtualbox/private_key +0 -27
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/.vagrant/machines/default/virtualbox/synced_folders +0 -1
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/Vagrantfile +0 -9
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/.vagrant/machines/default/virtualbox/action_set_name +0 -1
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/.vagrant/machines/default/virtualbox/creator_uid +0 -1
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/.vagrant/machines/default/virtualbox/id +0 -1
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/.vagrant/machines/default/virtualbox/index_uuid +0 -1
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/.vagrant/machines/default/virtualbox/private_key +0 -27
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/.vagrant/machines/default/virtualbox/synced_folders +0 -1
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/Vagrantfile +0 -9
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name +0 -1
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid +0 -1
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id +0 -1
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid +0 -1
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key +0 -27
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders +0 -1
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/Vagrantfile +0 -9
- data/examples/kitchen-chef/.kitchen/logs/default-centos-71.log +0 -4
- data/examples/kitchen-chef/.kitchen/logs/default-ubuntu-1204.log +0 -4
- data/examples/kitchen-chef/.kitchen/logs/default-ubuntu-1404.log +0 -4
- data/examples/kitchen-chef/.kitchen/logs/kitchen.log +0 -8
- data/examples/kitchen-chef/Berksfile.lock +0 -11
- data/examples/kitchen-chef/Gemfile.lock +0 -223
- data/examples/kitchen-puppet/.bundle/config +0 -2
- data/examples/kitchen-puppet/.kitchen/logs/default-centos-71.log +0 -0
- data/examples/kitchen-puppet/.kitchen/logs/default-ubuntu-1204.log +0 -0
- data/examples/kitchen-puppet/.kitchen/logs/default-ubuntu-1404.log +0 -306
- data/examples/kitchen-puppet/.kitchen/logs/kitchen.log +0 -10
- data/examples/kitchen-puppet/.librarian/puppet/config +0 -2
- data/examples/kitchen-puppet/Gemfile.lock +0 -174
- data/examples/kitchen-puppet/Puppetfile.lock +0 -2
- data/examples/profile/libraries/.DS_Store +0 -0
- data/examples/test-kitchen/.kitchen/logs/default-centos-71.log +0 -5
- data/examples/test-kitchen/.kitchen/logs/default-ubuntu-1204.log +0 -5
- data/examples/test-kitchen/.kitchen/logs/default-ubuntu-1404.log +0 -5
- data/examples/test-kitchen/.kitchen/logs/kitchen.log +0 -5
- data/examples/test-kitchen/Berksfile.lock +0 -11
- data/examples/test-kitchen/Gemfile.lock +0 -233
- data/lib/.DS_Store +0 -0
- data/lib/resources/certificate.rb +0 -0
- data/lib/resources/private_key.rb +0 -0
- data/test/chefdk/.gitignore +0 -16
- data/test/chefdk/.kitchen.yml +0 -27
- data/test/chefdk/Policyfile.rb +0 -16
- data/test/chefdk/README.md +0 -4
- data/test/chefdk/chefignore +0 -100
- data/test/chefdk/metadata.rb +0 -7
- data/test/chefdk/recipes/default.rb +0 -5
- data/test/chefdk/spec/spec_helper.rb +0 -2
- data/test/chefdk/spec/unit/recipes/default_spec.rb +0 -20
- data/test/chefdk/test/integration/default/serverspec/default_spec.rb +0 -9
- data/test/chefdk/test/integration/helpers/serverspec/spec_helper.rb +0 -8
- data/test/integration/.DS_Store +0 -0
- data/test/integration/.kitchen.local.yml +0 -68
- data/test/integration/.kitchen/default-aws-linux.yml +0 -4
- data/test/integration/.kitchen/default-centos-511.yml +0 -6
- data/test/integration/.kitchen/default-centos-67.yml +0 -6
- data/test/integration/.kitchen/default-centos-7.yml +0 -4
- data/test/integration/.kitchen/default-centos-71.yml +0 -6
- data/test/integration/.kitchen/default-debian-6010.yml +0 -6
- data/test/integration/.kitchen/default-debian-78.yml +0 -6
- data/test/integration/.kitchen/default-debian-8.yml +0 -4
- data/test/integration/.kitchen/default-debian-81.yml +0 -6
- data/test/integration/.kitchen/default-fedora-21.yml +0 -6
- data/test/integration/.kitchen/default-fedora-22.yml +0 -4
- data/test/integration/.kitchen/default-freebsd-102.yml +0 -6
- data/test/integration/.kitchen/default-freebsd-93.yml +0 -6
- data/test/integration/.kitchen/default-opensuse-132-x86-64.yml +0 -6
- data/test/integration/.kitchen/default-redhat-65.yml +0 -4
- data/test/integration/.kitchen/default-redhat-71.yml +0 -4
- data/test/integration/.kitchen/default-suse-11sp3.yml +0 -4
- data/test/integration/.kitchen/default-suse-12.yml +0 -4
- data/test/integration/.kitchen/default-ubuntu-1004.yml +0 -6
- data/test/integration/.kitchen/default-ubuntu-1204.yml +0 -4
- data/test/integration/.kitchen/default-ubuntu-1404.yml +0 -4
- data/test/integration/.kitchen/default-ubuntu-1510.yml +0 -4
- data/test/integration/.kitchen/default-windows-2012.yml +0 -5
- data/test/integration/.kitchen/default-windows-2012r2.yml +0 -6
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-511/.vagrant/machines/default/virtualbox/action_set_name +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-511/.vagrant/machines/default/virtualbox/creator_uid +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-511/.vagrant/machines/default/virtualbox/id +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-511/.vagrant/machines/default/virtualbox/index_uuid +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-511/.vagrant/machines/default/virtualbox/private_key +0 -27
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-511/.vagrant/machines/default/virtualbox/synced_folders +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-511/Vagrantfile +0 -9
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67-i386/Vagrantfile +0 -9
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67/.vagrant/machines/default/virtualbox/action_set_name +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67/.vagrant/machines/default/virtualbox/creator_uid +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67/.vagrant/machines/default/virtualbox/id +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67/.vagrant/machines/default/virtualbox/index_uuid +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67/.vagrant/machines/default/virtualbox/private_key +0 -27
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67/.vagrant/machines/default/virtualbox/synced_folders +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67/Vagrantfile +0 -9
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/action_set_name +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/creator_uid +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/id +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/index_uuid +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/private_key +0 -27
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/synced_folders +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/Vagrantfile +0 -9
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-6010/.vagrant/machines/default/virtualbox/action_set_name +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-6010/.vagrant/machines/default/virtualbox/creator_uid +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-6010/.vagrant/machines/default/virtualbox/id +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-6010/.vagrant/machines/default/virtualbox/index_uuid +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-6010/.vagrant/machines/default/virtualbox/private_key +0 -27
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-6010/.vagrant/machines/default/virtualbox/synced_folders +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-6010/Vagrantfile +0 -9
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-78/.vagrant/machines/default/virtualbox/action_set_name +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-78/.vagrant/machines/default/virtualbox/creator_uid +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-78/.vagrant/machines/default/virtualbox/id +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-78/.vagrant/machines/default/virtualbox/index_uuid +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-78/.vagrant/machines/default/virtualbox/private_key +0 -27
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-78/.vagrant/machines/default/virtualbox/synced_folders +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-78/Vagrantfile +0 -9
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/action_set_name +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/creator_uid +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/id +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/index_uuid +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/private_key +0 -27
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/synced_folders +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/Vagrantfile +0 -9
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-21/.vagrant/machines/default/virtualbox/action_set_name +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-21/.vagrant/machines/default/virtualbox/creator_uid +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-21/.vagrant/machines/default/virtualbox/id +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-21/.vagrant/machines/default/virtualbox/index_uuid +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-21/.vagrant/machines/default/virtualbox/private_key +0 -27
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-21/.vagrant/machines/default/virtualbox/synced_folders +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-21/Vagrantfile +0 -9
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/action_set_name +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/creator_uid +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/id +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/index_uuid +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/private_key +0 -27
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/synced_folders +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/Vagrantfile +0 -9
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-102/.vagrant/machines/default/virtualbox/action_set_name +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-102/.vagrant/machines/default/virtualbox/creator_uid +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-102/.vagrant/machines/default/virtualbox/id +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-102/.vagrant/machines/default/virtualbox/index_uuid +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-102/.vagrant/machines/default/virtualbox/private_key +0 -27
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-102/.vagrant/machines/default/virtualbox/synced_folders +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-102/Vagrantfile +0 -9
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-93/.vagrant/machines/default/virtualbox/action_set_name +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-93/.vagrant/machines/default/virtualbox/creator_uid +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-93/.vagrant/machines/default/virtualbox/id +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-93/.vagrant/machines/default/virtualbox/index_uuid +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-93/.vagrant/machines/default/virtualbox/private_key +0 -27
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-93/.vagrant/machines/default/virtualbox/synced_folders +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-93/Vagrantfile +0 -9
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-opensuse-132-x86-64/.vagrant/machines/default/virtualbox/action_set_name +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-opensuse-132-x86-64/.vagrant/machines/default/virtualbox/creator_uid +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-opensuse-132-x86-64/.vagrant/machines/default/virtualbox/id +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-opensuse-132-x86-64/.vagrant/machines/default/virtualbox/index_uuid +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-opensuse-132-x86-64/.vagrant/machines/default/virtualbox/private_key +0 -27
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-opensuse-132-x86-64/.vagrant/machines/default/virtualbox/synced_folders +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-opensuse-132-x86-64/Vagrantfile +0 -9
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1004/.vagrant/machines/default/virtualbox/action_set_name +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1004/.vagrant/machines/default/virtualbox/creator_uid +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1004/.vagrant/machines/default/virtualbox/id +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1004/.vagrant/machines/default/virtualbox/index_uuid +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1004/.vagrant/machines/default/virtualbox/private_key +0 -27
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1004/.vagrant/machines/default/virtualbox/synced_folders +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1004/Vagrantfile +0 -9
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/action_set_name +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/creator_uid +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/id +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/index_uuid +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/private_key +0 -27
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/synced_folders +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/Vagrantfile +0 -9
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key +0 -27
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders +0 -1
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/Vagrantfile +0 -9
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-new-ubuntu-1404/Vagrantfile +0 -9
- data/test/integration/.kitchen/logs/default-aws-linux.log +0 -0
- data/test/integration/.kitchen/logs/default-centos-511-i386.log +0 -0
- data/test/integration/.kitchen/logs/default-centos-511.log +0 -0
- data/test/integration/.kitchen/logs/default-centos-67-i386.log +0 -0
- data/test/integration/.kitchen/logs/default-centos-67.log +0 -0
- data/test/integration/.kitchen/logs/default-centos-7.log +0 -0
- data/test/integration/.kitchen/logs/default-centos-71.log +0 -0
- data/test/integration/.kitchen/logs/default-debian-6010-i386.log +0 -0
- data/test/integration/.kitchen/logs/default-debian-6010.log +0 -0
- data/test/integration/.kitchen/logs/default-debian-78-i386.log +0 -0
- data/test/integration/.kitchen/logs/default-debian-78.log +0 -0
- data/test/integration/.kitchen/logs/default-debian-8.log +0 -0
- data/test/integration/.kitchen/logs/default-debian-81-i386.log +0 -0
- data/test/integration/.kitchen/logs/default-debian-81.log +0 -0
- data/test/integration/.kitchen/logs/default-fedora-21-i386.log +0 -0
- data/test/integration/.kitchen/logs/default-fedora-21.log +0 -0
- data/test/integration/.kitchen/logs/default-fedora-22.log +0 -0
- data/test/integration/.kitchen/logs/default-freebsd-102.log +0 -0
- data/test/integration/.kitchen/logs/default-freebsd-93.log +0 -0
- data/test/integration/.kitchen/logs/default-mint-172-cinnamon.log +0 -0
- data/test/integration/.kitchen/logs/default-opensuse-132-i386.log +0 -0
- data/test/integration/.kitchen/logs/default-opensuse-132-x86-64.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 +0 -0
- data/test/integration/.kitchen/logs/default-ubuntu-1004.log +0 -0
- data/test/integration/.kitchen/logs/default-ubuntu-1204-i386.log +0 -0
- data/test/integration/.kitchen/logs/default-ubuntu-1204.log +0 -23
- data/test/integration/.kitchen/logs/default-ubuntu-1404-i386.log +0 -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-2012.log +0 -0
- data/test/integration/.kitchen/logs/default-windows-2012r2.log +0 -0
- data/test/integration/.kitchen/logs/kitchen.log +0 -3
- 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 +0 -3
- 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 +0 -1
- data/test/integration/Berksfile.lock +0 -11
- data/test/integration/TODO.md +0 -15
- 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 +0 -7
- data/test/integration/test/integration/default/etc_group.rb +0 -13
- data/test/serverspec/.kitchen.yml +0 -18
- data/test/serverspec/.kitchen/default-ubuntu-1404.yml +0 -6
- data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name +0 -1
- data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid +0 -1
- data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id +0 -1
- data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid +0 -1
- data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key +0 -27
- data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders +0 -1
- data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/Vagrantfile +0 -9
- data/test/serverspec/.kitchen/logs/default-ubuntu-1404.log +0 -2
- data/test/serverspec/.kitchen/logs/kitchen.log +0 -3
- data/test/serverspec/Berksfile +0 -3
- data/test/serverspec/Berksfile.lock +0 -5
- data/test/serverspec/TODO.md +0 -2
- data/test/serverspec/test/integration/default/serverspec/os_spec.rb +0 -25
- data/test/serverspec/test/integration/default/serverspec/spec_helper.rb +0 -48
- data/test/serverspec/test/integration/default/serverspec/sysctl_spec.rb +0 -37
- data/test/unit/mock/cmd/lsof-np-itcp +0 -4
data/test/unit/metadata_test.rb
CHANGED
@@ -9,6 +9,30 @@ describe 'metadata with supported operating systems' do
|
|
9
9
|
describe 'running on ubuntu 14.04' do
|
10
10
|
let (:backend) { MockLoader.new(:ubuntu1404).backend }
|
11
11
|
|
12
|
+
it 'finalizes a loaded metadata via Profile ID' do
|
13
|
+
res = Inspec::Metadata.from_yaml('mock', '---', nil)
|
14
|
+
Inspec::Metadata.finalize(res, 'mock')
|
15
|
+
res.params[:name].must_equal('mock')
|
16
|
+
end
|
17
|
+
|
18
|
+
it 'finalizes a loaded metadata via Profile ID and overwrites the ID' do
|
19
|
+
res = Inspec::Metadata.from_yaml('mock', "---\nname: hello", nil)
|
20
|
+
Inspec::Metadata.finalize(res, 'mock')
|
21
|
+
res.params[:name].must_equal('mock')
|
22
|
+
end
|
23
|
+
|
24
|
+
it 'finalizes a loaded metadata by turning strings into symbols' do
|
25
|
+
res = Inspec::Metadata.from_yaml('mock', "---\nauthor: world", nil)
|
26
|
+
Inspec::Metadata.finalize(res, 'mock')
|
27
|
+
res.params[:author].must_equal('world')
|
28
|
+
end
|
29
|
+
|
30
|
+
it 'loads the support field from metadata' do
|
31
|
+
res = Inspec::Metadata.from_yaml('mock',
|
32
|
+
"---\nsupports:\n - os: ubuntu", nil)
|
33
|
+
res.params[:supports].must_equal([{ 'os' => 'ubuntu' }])
|
34
|
+
end
|
35
|
+
|
12
36
|
# Description of method
|
13
37
|
#
|
14
38
|
# @param [Type] params describe params
|
@@ -0,0 +1,63 @@
|
|
1
|
+
p697
|
2
|
+
cUserEvent
|
3
|
+
tIPv4
|
4
|
+
PUDP
|
5
|
+
n*:*
|
6
|
+
p6835
|
7
|
+
cVBoxHeadl
|
8
|
+
tIPv4
|
9
|
+
PTCP
|
10
|
+
n127.0.0.1:2022
|
11
|
+
tIPv4
|
12
|
+
PUDP
|
13
|
+
n*:61197
|
14
|
+
p2022
|
15
|
+
cjava
|
16
|
+
tIPv6
|
17
|
+
PTCP
|
18
|
+
n192.168.1.66:51098->172.18.1.63:22
|
19
|
+
p8708
|
20
|
+
csshd
|
21
|
+
tIPv4
|
22
|
+
PTCP
|
23
|
+
n*:22
|
24
|
+
tIPv6
|
25
|
+
PTCP
|
26
|
+
n*:22
|
27
|
+
p13451
|
28
|
+
cssh
|
29
|
+
tIPv4
|
30
|
+
PTCP
|
31
|
+
n192.168.1.66:46951->192.168.1.80:22
|
32
|
+
p24137
|
33
|
+
cntpd
|
34
|
+
tIPv4
|
35
|
+
PUDP
|
36
|
+
n*:123
|
37
|
+
tIPv6
|
38
|
+
PUDP
|
39
|
+
n*:123
|
40
|
+
tIPv4
|
41
|
+
PUDP
|
42
|
+
n127.0.0.1:123
|
43
|
+
tIPv4
|
44
|
+
PUDP
|
45
|
+
n192.168.1.66:123
|
46
|
+
tIPv4
|
47
|
+
PUDP
|
48
|
+
n172.17.42.1:123
|
49
|
+
tIPv6
|
50
|
+
PUDP
|
51
|
+
n[2602:30a:c0d0:e070:8e70:5aff:fe66:6ebc]:123
|
52
|
+
tIPv6
|
53
|
+
PUDP
|
54
|
+
n[::1]:123
|
55
|
+
tIPv6
|
56
|
+
PUDP
|
57
|
+
n[fe80::8e70:5aff:fe66:6ebc]:123
|
58
|
+
tIPv6
|
59
|
+
PUDP
|
60
|
+
n[2602:30a:c0d0:e070:b1e3:fa7c:c1cd:e1dd]:123
|
61
|
+
tIPv4
|
62
|
+
PUDP
|
63
|
+
n9.48.126.170:123
|
@@ -3,3 +3,4 @@ Proto Recv-Q Send-Q Local Address Foreign Address State
|
|
3
3
|
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 21699 1/sshd
|
4
4
|
tcp6 0 48 2601:1:ad80:1445::54776 2620:0:861:52:208::6667 LISTEN 0 21702 2043/pidgin
|
5
5
|
tcp6 0 0 :::22 :::* LISTEN 0 21701 1/sshd
|
6
|
+
udp 0 0 0.0.0.0:111 0.0.0.0:* 0 8689 545/rpcbind
|
File without changes
|
data/test/unit/profile_test.rb
CHANGED
@@ -69,19 +69,23 @@ describe Inspec::Profile do
|
|
69
69
|
end
|
70
70
|
end
|
71
71
|
|
72
|
-
describe 'a complete metadata profile' do
|
72
|
+
describe 'a complete metadata profile (legacy mode)' do
|
73
73
|
let(:profile) { load_profile('complete-meta', {logger: logger}) }
|
74
74
|
|
75
75
|
it 'prints ok messages' do
|
76
76
|
logger.expect :info, nil, ["Checking profile in #{home}/mock/profiles/complete-meta"]
|
77
77
|
logger.expect :warn, nil, ['The use of `metadata.rb` is deprecated. Use `inspec.yml`.']
|
78
78
|
logger.expect :info, nil, ['Metadata OK.']
|
79
|
-
logger.expect :warn, nil, ["Profile uses deprecated `test` directory, rename it to `controls
|
79
|
+
logger.expect :warn, nil, ["Profile uses deprecated `test` directory, rename it to `controls`."]
|
80
80
|
logger.expect :warn, nil, ['No controls or tests were defined.']
|
81
81
|
|
82
82
|
profile.check
|
83
83
|
logger.verify
|
84
84
|
end
|
85
|
+
|
86
|
+
it 'doesnt have constraints on supported systems' do
|
87
|
+
profile.metadata.params.wont_include(:supports)
|
88
|
+
end
|
85
89
|
end
|
86
90
|
|
87
91
|
describe 'a complete metadata profile with controls' do
|
@@ -14,6 +14,14 @@ describe 'Inspec::Resources::Port' do
|
|
14
14
|
_(resource.processes).must_equal ['sshd']
|
15
15
|
end
|
16
16
|
|
17
|
+
it 'verify UDP port on Ubuntu 14.04' do
|
18
|
+
resource = MockLoader.new(:ubuntu1404).load_resource('port', 111)
|
19
|
+
_(resource.listening?).must_equal true
|
20
|
+
_(resource.protocols).must_equal %w{ udp }
|
21
|
+
_(resource.pids).must_equal [545]
|
22
|
+
_(resource.processes).must_equal ['rpcbind']
|
23
|
+
end
|
24
|
+
|
17
25
|
it 'verify port on MacOs x' do
|
18
26
|
resource = MockLoader.new(:osx104).load_resource('port', 2022)
|
19
27
|
_(resource.listening?).must_equal true
|
@@ -0,0 +1,132 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# author: Stephan Renatus
|
3
|
+
|
4
|
+
require 'helper'
|
5
|
+
|
6
|
+
describe Inspec::Targets::UrlHelper do
|
7
|
+
let(:helper) { Inspec::Targets::UrlHelper.new }
|
8
|
+
|
9
|
+
it 'handles http' do
|
10
|
+
helper.handles?('http://chef.io').must_equal true
|
11
|
+
end
|
12
|
+
|
13
|
+
it 'handles https' do
|
14
|
+
helper.handles?('https://chef.io').must_equal true
|
15
|
+
end
|
16
|
+
|
17
|
+
it 'returns false if given an invalid URL' do
|
18
|
+
helper.handles?('cheshire_cat').must_equal false
|
19
|
+
end
|
20
|
+
|
21
|
+
it 'returns false if given an URL with a protocol different from http[s]' do
|
22
|
+
helper.handles?('gopher://chef.io').must_equal false
|
23
|
+
end
|
24
|
+
|
25
|
+
it 'resolves various github urls' do
|
26
|
+
hlpr = Minitest::Mock.new
|
27
|
+
helper.stub :resolve_zip, hlpr do
|
28
|
+
%w{https://github.com/chef/inspec
|
29
|
+
https://github.com/chef/inspec.git
|
30
|
+
https://www.github.com/chef/inspec.git
|
31
|
+
http://github.com/chef/inspec
|
32
|
+
http://github.com/chef/inspec.git
|
33
|
+
http://www.github.com/chef/inspec.git}.each do |github|
|
34
|
+
hlpr.expect :call, nil, ['https://github.com/chef/inspec/archive/master.tar.gz', {}]
|
35
|
+
|
36
|
+
helper.resolve(github)
|
37
|
+
end
|
38
|
+
hlpr.verify
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
it 'leaves proper, non-github urls unchanged' do
|
43
|
+
url = 'https://chef.io/something.tar.gz'
|
44
|
+
hlpr = Minitest::Mock.new
|
45
|
+
hlpr.expect :call, nil, [url, {}]
|
46
|
+
helper.stub :resolve_zip, hlpr do
|
47
|
+
helper.resolve(url)
|
48
|
+
end
|
49
|
+
hlpr.verify
|
50
|
+
end
|
51
|
+
|
52
|
+
let (:url) { 'https://github.com/chef/inspec/archive/master.tar.gz' }
|
53
|
+
let (:opts) { { http_basic_authentication: ['', ''] } }
|
54
|
+
|
55
|
+
def archive_of_type(type)
|
56
|
+
archive = Minitest::Mock.new
|
57
|
+
archive.expect :write, nil, ["#{type}-content"]
|
58
|
+
archive.expect :path, "/path/to/#{type}-archive.tar.gz" # always tar.gz!
|
59
|
+
[:binmode, :rewind, :close, :unlink].each do |meth|
|
60
|
+
archive.expect meth, nil
|
61
|
+
end
|
62
|
+
archive
|
63
|
+
end
|
64
|
+
|
65
|
+
def remote_of_type(type, content_type)
|
66
|
+
remote = Minitest::Mock.new
|
67
|
+
remote.expect :read, "#{type}-content"
|
68
|
+
remote.expect :meta, { 'content-type' => content_type }
|
69
|
+
remote
|
70
|
+
end
|
71
|
+
|
72
|
+
let (:archive_sth) { archive_of_type('sth') }
|
73
|
+
let (:remote_sth) { remote_of_type('sth', 'application/x-very-funny') }
|
74
|
+
|
75
|
+
it 'downloads an archive and returns it with its content-type' do
|
76
|
+
helper.stub :open, remote_sth, [url, opts] do
|
77
|
+
helper.download_archive(url, archive_sth, {}).must_equal([archive_sth, 'application/x-very-funny'])
|
78
|
+
end
|
79
|
+
remote_sth.verify
|
80
|
+
end
|
81
|
+
|
82
|
+
it 'downloads an archive and returns it with its content-type using options, too' do
|
83
|
+
helper.stub :open, remote_sth, [url, { http_basic_authentication: ['alice', 'pw'] }] do
|
84
|
+
helper.download_archive(url, archive_sth, 'user' => 'alice', 'password' => 'pw').must_equal([archive_sth, 'application/x-very-funny'])
|
85
|
+
end
|
86
|
+
remote_sth.verify
|
87
|
+
end
|
88
|
+
|
89
|
+
let (:archive_zip) { archive_of_type('zip') }
|
90
|
+
let (:archive_tgz) { archive_of_type('tgz') }
|
91
|
+
|
92
|
+
let (:tarhelper) do
|
93
|
+
th = Minitest::Mock.new
|
94
|
+
th.expect :resolve, 'tgz-content', ['/path/to/tgz-archive.tar.gz']
|
95
|
+
th
|
96
|
+
end
|
97
|
+
|
98
|
+
%w{ application/gzip application/x-gzip }.each do |content_type|
|
99
|
+
it "unpacks a tarball (#{content_type}) with TarHelper and returns the content" do
|
100
|
+
Tempfile.stub :new, archive_tgz, [['inspec-dl-', '.tar.gz']] do
|
101
|
+
helper.stub :download_archive, [archive_tgz, content_type], [url, archive_tgz, opts] do
|
102
|
+
Inspec::Targets::TarHelper.stub :new, tarhelper do
|
103
|
+
helper.resolve_zip(url, {}).must_equal('tgz-content')
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|
107
|
+
tarhelper.verify
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
let (:ziphelper) do
|
112
|
+
zip = Minitest::Mock.new
|
113
|
+
zip.expect :resolve, 'zip-content', [Pathname.new('/path/to/zip-archive.zip')]
|
114
|
+
zip
|
115
|
+
end
|
116
|
+
|
117
|
+
%w{ application/zip application/x-zip-compressed }.each do |content_type|
|
118
|
+
it "renames and unpacks a zip file (#{content_type}) with ZipHelper and returns the content" do
|
119
|
+
helper.stub :download_archive, [archive_zip, content_type], [url, archive_zip, opts] do
|
120
|
+
Tempfile.stub :new, archive_zip, [['inspec-dl-', '.tar.gz']] do
|
121
|
+
File.stub :rename, nil, ['/path/to/zip-archive.tar.gz', '/path/to/zip-archive.zip'] do
|
122
|
+
Inspec::Targets::ZipHelper.stub :new, ziphelper do
|
123
|
+
File.stub :unlink, nil, ['/path/to/zip-archive.zip'] do
|
124
|
+
helper.resolve_zip(url, {}).must_equal('zip-content')
|
125
|
+
end
|
126
|
+
end
|
127
|
+
end
|
128
|
+
end
|
129
|
+
end
|
130
|
+
end
|
131
|
+
end
|
132
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dominik Richter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: r-train
|
@@ -173,7 +173,6 @@ files:
|
|
173
173
|
- README.md
|
174
174
|
- Rakefile
|
175
175
|
- bin/inspec
|
176
|
-
- bin/os
|
177
176
|
- docs/ctl_inspec.rst
|
178
177
|
- docs/dsl_inspec.rst
|
179
178
|
- docs/dsl_resource.rst
|
@@ -184,66 +183,23 @@ files:
|
|
184
183
|
- docs/template.rst
|
185
184
|
- examples/README.md
|
186
185
|
- examples/kitchen-ansible/.kitchen.yml
|
187
|
-
- examples/kitchen-ansible/.kitchen/logs/default-centos-71.log
|
188
|
-
- examples/kitchen-ansible/.kitchen/logs/default-ubuntu-1204.log
|
189
|
-
- examples/kitchen-ansible/.kitchen/logs/default-ubuntu-1404.log
|
190
|
-
- examples/kitchen-ansible/.kitchen/logs/kitchen.log
|
191
186
|
- examples/kitchen-ansible/Gemfile
|
192
|
-
- examples/kitchen-ansible/Gemfile.lock
|
193
187
|
- examples/kitchen-ansible/README.md
|
194
188
|
- examples/kitchen-ansible/files/nginx.repo
|
195
189
|
- examples/kitchen-ansible/tasks/main.yml
|
196
190
|
- examples/kitchen-ansible/test/integration/default/default.yml
|
197
191
|
- examples/kitchen-ansible/test/integration/default/web_spec.rb
|
198
192
|
- examples/kitchen-chef/.kitchen.yml
|
199
|
-
- examples/kitchen-chef/.kitchen/default-centos-71.yml
|
200
|
-
- examples/kitchen-chef/.kitchen/default-ubuntu-1204.yml
|
201
|
-
- examples/kitchen-chef/.kitchen/default-ubuntu-1404.yml
|
202
|
-
- examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/.vagrant/machines/default/virtualbox/action_set_name
|
203
|
-
- examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/.vagrant/machines/default/virtualbox/creator_uid
|
204
|
-
- examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/.vagrant/machines/default/virtualbox/id
|
205
|
-
- examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/.vagrant/machines/default/virtualbox/index_uuid
|
206
|
-
- examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/.vagrant/machines/default/virtualbox/private_key
|
207
|
-
- examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/.vagrant/machines/default/virtualbox/synced_folders
|
208
|
-
- examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/Vagrantfile
|
209
|
-
- examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/.vagrant/machines/default/virtualbox/action_set_name
|
210
|
-
- examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/.vagrant/machines/default/virtualbox/creator_uid
|
211
|
-
- examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/.vagrant/machines/default/virtualbox/id
|
212
|
-
- examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/.vagrant/machines/default/virtualbox/index_uuid
|
213
|
-
- examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/.vagrant/machines/default/virtualbox/private_key
|
214
|
-
- examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/.vagrant/machines/default/virtualbox/synced_folders
|
215
|
-
- examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/Vagrantfile
|
216
|
-
- examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name
|
217
|
-
- examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid
|
218
|
-
- examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id
|
219
|
-
- examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid
|
220
|
-
- examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key
|
221
|
-
- examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders
|
222
|
-
- examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/Vagrantfile
|
223
|
-
- examples/kitchen-chef/.kitchen/logs/default-centos-71.log
|
224
|
-
- examples/kitchen-chef/.kitchen/logs/default-ubuntu-1204.log
|
225
|
-
- examples/kitchen-chef/.kitchen/logs/default-ubuntu-1404.log
|
226
|
-
- examples/kitchen-chef/.kitchen/logs/kitchen.log
|
227
193
|
- examples/kitchen-chef/Berksfile
|
228
|
-
- examples/kitchen-chef/Berksfile.lock
|
229
194
|
- examples/kitchen-chef/Gemfile
|
230
|
-
- examples/kitchen-chef/Gemfile.lock
|
231
195
|
- examples/kitchen-chef/README.md
|
232
196
|
- examples/kitchen-chef/metadata.rb
|
233
197
|
- examples/kitchen-chef/recipes/default.rb
|
234
198
|
- examples/kitchen-chef/recipes/nginx.rb
|
235
199
|
- examples/kitchen-chef/test/integration/default/web_spec.rb
|
236
|
-
- examples/kitchen-puppet/.bundle/config
|
237
200
|
- examples/kitchen-puppet/.kitchen.yml
|
238
|
-
- examples/kitchen-puppet/.kitchen/logs/default-centos-71.log
|
239
|
-
- examples/kitchen-puppet/.kitchen/logs/default-ubuntu-1204.log
|
240
|
-
- examples/kitchen-puppet/.kitchen/logs/default-ubuntu-1404.log
|
241
|
-
- examples/kitchen-puppet/.kitchen/logs/kitchen.log
|
242
|
-
- examples/kitchen-puppet/.librarian/puppet/config
|
243
201
|
- examples/kitchen-puppet/Gemfile
|
244
|
-
- examples/kitchen-puppet/Gemfile.lock
|
245
202
|
- examples/kitchen-puppet/Puppetfile
|
246
|
-
- examples/kitchen-puppet/Puppetfile.lock
|
247
203
|
- examples/kitchen-puppet/README.md
|
248
204
|
- examples/kitchen-puppet/manifests/site.pp
|
249
205
|
- examples/kitchen-puppet/metadata.json
|
@@ -252,16 +208,11 @@ files:
|
|
252
208
|
- examples/profile/controls/example.rb
|
253
209
|
- examples/profile/controls/gordon.rb
|
254
210
|
- examples/profile/inspec.yml
|
255
|
-
- examples/profile/libraries/.DS_Store
|
256
211
|
- examples/profile/libraries/gordon_config.rb
|
257
|
-
- examples/
|
258
|
-
- examples/
|
259
|
-
- examples/
|
260
|
-
- examples/test-kitchen/.kitchen/logs/kitchen.log
|
261
|
-
- examples/test-kitchen/Berksfile.lock
|
262
|
-
- examples/test-kitchen/Gemfile.lock
|
212
|
+
- examples/resource/controls/tiny.rb
|
213
|
+
- examples/resource/inspec.yml
|
214
|
+
- examples/resource/libraries/tiny.rb
|
263
215
|
- inspec.gemspec
|
264
|
-
- lib/.DS_Store
|
265
216
|
- lib/inspec.rb
|
266
217
|
- lib/inspec/archive/tar.rb
|
267
218
|
- lib/inspec/archive/zip.rb
|
@@ -286,6 +237,7 @@ files:
|
|
286
237
|
- lib/inspec/targets/folder.rb
|
287
238
|
- lib/inspec/targets/tar.rb
|
288
239
|
- lib/inspec/targets/url.rb
|
240
|
+
- lib/inspec/targets/url.rb.orig
|
289
241
|
- lib/inspec/targets/zip.rb
|
290
242
|
- lib/inspec/version.rb
|
291
243
|
- lib/matchers/matchers.rb
|
@@ -297,7 +249,6 @@ files:
|
|
297
249
|
- lib/resources/auditd_rules.rb
|
298
250
|
- lib/resources/bond.rb
|
299
251
|
- lib/resources/bridge.rb
|
300
|
-
- lib/resources/certificate.rb
|
301
252
|
- lib/resources/command.rb
|
302
253
|
- lib/resources/csv.rb
|
303
254
|
- lib/resources/directory.rb
|
@@ -332,7 +283,6 @@ files:
|
|
332
283
|
- lib/resources/postgres.rb
|
333
284
|
- lib/resources/postgres_conf.rb
|
334
285
|
- lib/resources/postgres_session.rb
|
335
|
-
- lib/resources/private_key.rb
|
336
286
|
- lib/resources/processes.rb
|
337
287
|
- lib/resources/registry_key.rb
|
338
288
|
- lib/resources/script.rb
|
@@ -351,236 +301,12 @@ files:
|
|
351
301
|
- lib/utils/parser.rb
|
352
302
|
- lib/utils/simpleconfig.rb
|
353
303
|
- tasks/maintainers.rb
|
354
|
-
- test/chefdk/.gitignore
|
355
|
-
- test/chefdk/.kitchen.yml
|
356
|
-
- test/chefdk/Policyfile.rb
|
357
|
-
- test/chefdk/README.md
|
358
|
-
- test/chefdk/chefignore
|
359
|
-
- test/chefdk/metadata.rb
|
360
|
-
- test/chefdk/recipes/default.rb
|
361
|
-
- test/chefdk/spec/spec_helper.rb
|
362
|
-
- test/chefdk/spec/unit/recipes/default_spec.rb
|
363
|
-
- test/chefdk/test/integration/default/serverspec/default_spec.rb
|
364
|
-
- test/chefdk/test/integration/helpers/serverspec/spec_helper.rb
|
365
304
|
- test/docker_run.rb
|
366
305
|
- test/docker_test.rb
|
367
306
|
- test/helper.rb
|
368
|
-
- test/integration/.DS_Store
|
369
307
|
- test/integration/.kitchen.ec2.yml
|
370
|
-
- test/integration/.kitchen.local.yml
|
371
308
|
- test/integration/.kitchen.yml
|
372
|
-
- test/integration/.kitchen/default-aws-linux.yml
|
373
|
-
- test/integration/.kitchen/default-centos-511.yml
|
374
|
-
- test/integration/.kitchen/default-centos-67.yml
|
375
|
-
- test/integration/.kitchen/default-centos-7.yml
|
376
|
-
- test/integration/.kitchen/default-centos-71.yml
|
377
|
-
- test/integration/.kitchen/default-debian-6010.yml
|
378
|
-
- test/integration/.kitchen/default-debian-78.yml
|
379
|
-
- test/integration/.kitchen/default-debian-8.yml
|
380
|
-
- test/integration/.kitchen/default-debian-81.yml
|
381
|
-
- test/integration/.kitchen/default-fedora-21.yml
|
382
|
-
- test/integration/.kitchen/default-fedora-22.yml
|
383
|
-
- test/integration/.kitchen/default-freebsd-102.yml
|
384
|
-
- test/integration/.kitchen/default-freebsd-93.yml
|
385
|
-
- test/integration/.kitchen/default-opensuse-132-x86-64.yml
|
386
|
-
- test/integration/.kitchen/default-redhat-65.yml
|
387
|
-
- test/integration/.kitchen/default-redhat-71.yml
|
388
|
-
- test/integration/.kitchen/default-suse-11sp3.yml
|
389
|
-
- test/integration/.kitchen/default-suse-12.yml
|
390
|
-
- test/integration/.kitchen/default-ubuntu-1004.yml
|
391
|
-
- test/integration/.kitchen/default-ubuntu-1204.yml
|
392
|
-
- test/integration/.kitchen/default-ubuntu-1404.yml
|
393
|
-
- test/integration/.kitchen/default-ubuntu-1510.yml
|
394
|
-
- test/integration/.kitchen/default-windows-2012.yml
|
395
|
-
- test/integration/.kitchen/default-windows-2012r2.yml
|
396
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-511/.vagrant/machines/default/virtualbox/action_set_name
|
397
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-511/.vagrant/machines/default/virtualbox/creator_uid
|
398
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-511/.vagrant/machines/default/virtualbox/id
|
399
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-511/.vagrant/machines/default/virtualbox/index_uuid
|
400
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-511/.vagrant/machines/default/virtualbox/private_key
|
401
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-511/.vagrant/machines/default/virtualbox/synced_folders
|
402
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-511/Vagrantfile
|
403
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67-i386/Vagrantfile
|
404
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67/.vagrant/machines/default/virtualbox/action_set_name
|
405
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67/.vagrant/machines/default/virtualbox/creator_uid
|
406
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67/.vagrant/machines/default/virtualbox/id
|
407
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67/.vagrant/machines/default/virtualbox/index_uuid
|
408
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67/.vagrant/machines/default/virtualbox/private_key
|
409
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67/.vagrant/machines/default/virtualbox/synced_folders
|
410
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67/Vagrantfile
|
411
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/action_set_name
|
412
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/creator_uid
|
413
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/id
|
414
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/index_uuid
|
415
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/private_key
|
416
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/synced_folders
|
417
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/Vagrantfile
|
418
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-6010/.vagrant/machines/default/virtualbox/action_set_name
|
419
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-6010/.vagrant/machines/default/virtualbox/creator_uid
|
420
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-6010/.vagrant/machines/default/virtualbox/id
|
421
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-6010/.vagrant/machines/default/virtualbox/index_uuid
|
422
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-6010/.vagrant/machines/default/virtualbox/private_key
|
423
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-6010/.vagrant/machines/default/virtualbox/synced_folders
|
424
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-6010/Vagrantfile
|
425
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-78/.vagrant/machines/default/virtualbox/action_set_name
|
426
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-78/.vagrant/machines/default/virtualbox/creator_uid
|
427
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-78/.vagrant/machines/default/virtualbox/id
|
428
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-78/.vagrant/machines/default/virtualbox/index_uuid
|
429
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-78/.vagrant/machines/default/virtualbox/private_key
|
430
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-78/.vagrant/machines/default/virtualbox/synced_folders
|
431
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-78/Vagrantfile
|
432
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/action_set_name
|
433
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/creator_uid
|
434
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/id
|
435
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/index_uuid
|
436
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/private_key
|
437
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/synced_folders
|
438
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/Vagrantfile
|
439
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-21/.vagrant/machines/default/virtualbox/action_set_name
|
440
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-21/.vagrant/machines/default/virtualbox/creator_uid
|
441
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-21/.vagrant/machines/default/virtualbox/id
|
442
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-21/.vagrant/machines/default/virtualbox/index_uuid
|
443
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-21/.vagrant/machines/default/virtualbox/private_key
|
444
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-21/.vagrant/machines/default/virtualbox/synced_folders
|
445
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-21/Vagrantfile
|
446
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/action_set_name
|
447
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/creator_uid
|
448
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/id
|
449
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/index_uuid
|
450
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/private_key
|
451
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/synced_folders
|
452
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/Vagrantfile
|
453
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-102/.vagrant/machines/default/virtualbox/action_set_name
|
454
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-102/.vagrant/machines/default/virtualbox/creator_uid
|
455
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-102/.vagrant/machines/default/virtualbox/id
|
456
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-102/.vagrant/machines/default/virtualbox/index_uuid
|
457
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-102/.vagrant/machines/default/virtualbox/private_key
|
458
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-102/.vagrant/machines/default/virtualbox/synced_folders
|
459
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-102/Vagrantfile
|
460
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-93/.vagrant/machines/default/virtualbox/action_set_name
|
461
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-93/.vagrant/machines/default/virtualbox/creator_uid
|
462
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-93/.vagrant/machines/default/virtualbox/id
|
463
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-93/.vagrant/machines/default/virtualbox/index_uuid
|
464
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-93/.vagrant/machines/default/virtualbox/private_key
|
465
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-93/.vagrant/machines/default/virtualbox/synced_folders
|
466
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-93/Vagrantfile
|
467
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-opensuse-132-x86-64/.vagrant/machines/default/virtualbox/action_set_name
|
468
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-opensuse-132-x86-64/.vagrant/machines/default/virtualbox/creator_uid
|
469
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-opensuse-132-x86-64/.vagrant/machines/default/virtualbox/id
|
470
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-opensuse-132-x86-64/.vagrant/machines/default/virtualbox/index_uuid
|
471
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-opensuse-132-x86-64/.vagrant/machines/default/virtualbox/private_key
|
472
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-opensuse-132-x86-64/.vagrant/machines/default/virtualbox/synced_folders
|
473
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-opensuse-132-x86-64/Vagrantfile
|
474
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1004/.vagrant/machines/default/virtualbox/action_set_name
|
475
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1004/.vagrant/machines/default/virtualbox/creator_uid
|
476
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1004/.vagrant/machines/default/virtualbox/id
|
477
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1004/.vagrant/machines/default/virtualbox/index_uuid
|
478
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1004/.vagrant/machines/default/virtualbox/private_key
|
479
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1004/.vagrant/machines/default/virtualbox/synced_folders
|
480
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1004/Vagrantfile
|
481
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/action_set_name
|
482
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/creator_uid
|
483
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/id
|
484
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/index_uuid
|
485
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/private_key
|
486
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/synced_folders
|
487
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/Vagrantfile
|
488
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name
|
489
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid
|
490
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id
|
491
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid
|
492
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key
|
493
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders
|
494
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/Vagrantfile
|
495
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-new-ubuntu-1404/Vagrantfile
|
496
|
-
- test/integration/.kitchen/logs/default-aws-linux.log
|
497
|
-
- test/integration/.kitchen/logs/default-centos-511-i386.log
|
498
|
-
- test/integration/.kitchen/logs/default-centos-511.log
|
499
|
-
- test/integration/.kitchen/logs/default-centos-67-i386.log
|
500
|
-
- test/integration/.kitchen/logs/default-centos-67.log
|
501
|
-
- test/integration/.kitchen/logs/default-centos-7.log
|
502
|
-
- test/integration/.kitchen/logs/default-centos-71.log
|
503
|
-
- test/integration/.kitchen/logs/default-debian-6010-i386.log
|
504
|
-
- test/integration/.kitchen/logs/default-debian-6010.log
|
505
|
-
- test/integration/.kitchen/logs/default-debian-78-i386.log
|
506
|
-
- test/integration/.kitchen/logs/default-debian-78.log
|
507
|
-
- test/integration/.kitchen/logs/default-debian-8.log
|
508
|
-
- test/integration/.kitchen/logs/default-debian-81-i386.log
|
509
|
-
- test/integration/.kitchen/logs/default-debian-81.log
|
510
|
-
- test/integration/.kitchen/logs/default-fedora-21-i386.log
|
511
|
-
- test/integration/.kitchen/logs/default-fedora-21.log
|
512
|
-
- test/integration/.kitchen/logs/default-fedora-22.log
|
513
|
-
- test/integration/.kitchen/logs/default-freebsd-102.log
|
514
|
-
- test/integration/.kitchen/logs/default-freebsd-93.log
|
515
|
-
- test/integration/.kitchen/logs/default-mint-172-cinnamon.log
|
516
|
-
- test/integration/.kitchen/logs/default-opensuse-132-i386.log
|
517
|
-
- test/integration/.kitchen/logs/default-opensuse-132-x86-64.log
|
518
|
-
- test/integration/.kitchen/logs/default-redhat-65.log
|
519
|
-
- test/integration/.kitchen/logs/default-redhat-71.log
|
520
|
-
- test/integration/.kitchen/logs/default-suse-11sp3.log
|
521
|
-
- test/integration/.kitchen/logs/default-suse-12.log
|
522
|
-
- test/integration/.kitchen/logs/default-ubuntu-1004-i386.log
|
523
|
-
- test/integration/.kitchen/logs/default-ubuntu-1004.log
|
524
|
-
- test/integration/.kitchen/logs/default-ubuntu-1204-i386.log
|
525
|
-
- test/integration/.kitchen/logs/default-ubuntu-1204.log
|
526
|
-
- test/integration/.kitchen/logs/default-ubuntu-1404-i386.log
|
527
|
-
- test/integration/.kitchen/logs/default-ubuntu-1404.log
|
528
|
-
- test/integration/.kitchen/logs/default-ubuntu-1510.log
|
529
|
-
- test/integration/.kitchen/logs/default-windows-2012.log
|
530
|
-
- test/integration/.kitchen/logs/default-windows-2012r2.log
|
531
|
-
- test/integration/.kitchen/logs/kitchen.log
|
532
|
-
- test/integration/.kitchen/logs/new-centos-511-i386.log
|
533
|
-
- test/integration/.kitchen/logs/new-centos-511.log
|
534
|
-
- test/integration/.kitchen/logs/new-centos-67-i386.log
|
535
|
-
- test/integration/.kitchen/logs/new-centos-67.log
|
536
|
-
- test/integration/.kitchen/logs/new-centos-71.log
|
537
|
-
- test/integration/.kitchen/logs/new-debian-6010-i386.log
|
538
|
-
- test/integration/.kitchen/logs/new-debian-6010.log
|
539
|
-
- test/integration/.kitchen/logs/new-debian-78-i386.log
|
540
|
-
- test/integration/.kitchen/logs/new-debian-78.log
|
541
|
-
- test/integration/.kitchen/logs/new-debian-81-i386.log
|
542
|
-
- test/integration/.kitchen/logs/new-debian-81.log
|
543
|
-
- test/integration/.kitchen/logs/new-fedora-21-i386.log
|
544
|
-
- test/integration/.kitchen/logs/new-fedora-21.log
|
545
|
-
- test/integration/.kitchen/logs/new-fedora-22.log
|
546
|
-
- test/integration/.kitchen/logs/new-freebsd-102.log
|
547
|
-
- test/integration/.kitchen/logs/new-freebsd-93.log
|
548
|
-
- test/integration/.kitchen/logs/new-opensuse-132-i386.log
|
549
|
-
- test/integration/.kitchen/logs/new-opensuse-132-x86-64.log
|
550
|
-
- test/integration/.kitchen/logs/new-ubuntu-1004-i386.log
|
551
|
-
- test/integration/.kitchen/logs/new-ubuntu-1004.log
|
552
|
-
- test/integration/.kitchen/logs/new-ubuntu-1204-i386.log
|
553
|
-
- test/integration/.kitchen/logs/new-ubuntu-1204.log
|
554
|
-
- test/integration/.kitchen/logs/new-ubuntu-1404-i386.log
|
555
|
-
- test/integration/.kitchen/logs/new-ubuntu-1404.log
|
556
|
-
- test/integration/.kitchen/logs/test-centos-511-i386.log
|
557
|
-
- test/integration/.kitchen/logs/test-centos-511.log
|
558
|
-
- test/integration/.kitchen/logs/test-centos-67-i386.log
|
559
|
-
- test/integration/.kitchen/logs/test-centos-67.log
|
560
|
-
- test/integration/.kitchen/logs/test-centos-71.log
|
561
|
-
- test/integration/.kitchen/logs/test-debian-6010-i386.log
|
562
|
-
- test/integration/.kitchen/logs/test-debian-6010.log
|
563
|
-
- test/integration/.kitchen/logs/test-debian-78-i386.log
|
564
|
-
- test/integration/.kitchen/logs/test-debian-78.log
|
565
|
-
- test/integration/.kitchen/logs/test-debian-81-i386.log
|
566
|
-
- test/integration/.kitchen/logs/test-debian-81.log
|
567
|
-
- test/integration/.kitchen/logs/test-fedora-21-i386.log
|
568
|
-
- test/integration/.kitchen/logs/test-fedora-21.log
|
569
|
-
- test/integration/.kitchen/logs/test-fedora-22.log
|
570
|
-
- test/integration/.kitchen/logs/test-freebsd-102.log
|
571
|
-
- test/integration/.kitchen/logs/test-freebsd-93.log
|
572
|
-
- test/integration/.kitchen/logs/test-opensuse-132-i386.log
|
573
|
-
- test/integration/.kitchen/logs/test-opensuse-132-x86-64.log
|
574
|
-
- test/integration/.kitchen/logs/test-ubuntu-1004-i386.log
|
575
|
-
- test/integration/.kitchen/logs/test-ubuntu-1004.log
|
576
|
-
- test/integration/.kitchen/logs/test-ubuntu-1204-i386.log
|
577
|
-
- test/integration/.kitchen/logs/test-ubuntu-1204.log
|
578
|
-
- test/integration/.kitchen/logs/test-ubuntu-1404-i386.log
|
579
|
-
- test/integration/.kitchen/logs/test-ubuntu-1404.log
|
580
|
-
- test/integration/.kitchen/new-ubuntu-1404.yml
|
581
309
|
- test/integration/Berksfile
|
582
|
-
- test/integration/Berksfile.lock
|
583
|
-
- test/integration/TODO.md
|
584
310
|
- test/integration/cookbooks/os_prepare/files/example.csv
|
585
311
|
- test/integration/cookbooks/os_prepare/files/example.ini
|
586
312
|
- test/integration/cookbooks/os_prepare/files/example.json
|
@@ -594,15 +320,11 @@ files:
|
|
594
320
|
- test/integration/cookbooks/os_prepare/recipes/package.rb
|
595
321
|
- test/integration/cookbooks/os_prepare/recipes/registry_key.rb
|
596
322
|
- test/integration/cookbooks/os_prepare/recipes/service.rb
|
597
|
-
- test/integration/test/.DS_Store
|
598
|
-
- test/integration/test/integration/.DS_Store
|
599
|
-
- test/integration/test/integration/default/.DS_Store
|
600
323
|
- test/integration/test/integration/default/_debug_spec.rb
|
601
324
|
- test/integration/test/integration/default/apt_spec.rb
|
602
|
-
- test/integration/test/integration/default/certificate_spec.rb
|
603
325
|
- test/integration/test/integration/default/compare_matcher_spec.rb
|
604
326
|
- test/integration/test/integration/default/csv_spec.rb
|
605
|
-
- test/integration/test/integration/default/
|
327
|
+
- test/integration/test/integration/default/etc_group_spec.rb
|
606
328
|
- test/integration/test/integration/default/file_spec.rb
|
607
329
|
- test/integration/test/integration/default/group_spec.rb
|
608
330
|
- test/integration/test/integration/default/ini_spec.rb
|
@@ -623,23 +345,6 @@ files:
|
|
623
345
|
- test/resource/file_test.rb
|
624
346
|
- test/resource/ssh_config.rb
|
625
347
|
- test/resource/sshd_config.rb
|
626
|
-
- test/serverspec/.kitchen.yml
|
627
|
-
- test/serverspec/.kitchen/default-ubuntu-1404.yml
|
628
|
-
- test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name
|
629
|
-
- test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid
|
630
|
-
- test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id
|
631
|
-
- test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid
|
632
|
-
- test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key
|
633
|
-
- test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders
|
634
|
-
- test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/Vagrantfile
|
635
|
-
- test/serverspec/.kitchen/logs/default-ubuntu-1404.log
|
636
|
-
- test/serverspec/.kitchen/logs/kitchen.log
|
637
|
-
- test/serverspec/Berksfile
|
638
|
-
- test/serverspec/Berksfile.lock
|
639
|
-
- test/serverspec/TODO.md
|
640
|
-
- test/serverspec/test/integration/default/serverspec/os_spec.rb
|
641
|
-
- test/serverspec/test/integration/default/serverspec/spec_helper.rb
|
642
|
-
- test/serverspec/test/integration/default/serverspec/sysctl_spec.rb
|
643
348
|
- test/test-extra.yaml
|
644
349
|
- test/test.yaml
|
645
350
|
- test/unit/metadata_test.rb
|
@@ -681,7 +386,7 @@ files:
|
|
681
386
|
- test/unit/mock/cmd/ls-1-etc-init.d
|
682
387
|
- test/unit/mock/cmd/ls-sys-class-net-br
|
683
388
|
- test/unit/mock/cmd/lsmod
|
684
|
-
- test/unit/mock/cmd/lsof-
|
389
|
+
- test/unit/mock/cmd/lsof-nP-i-FpctPn
|
685
390
|
- test/unit/mock/cmd/mount
|
686
391
|
- test/unit/mock/cmd/mount-multiple
|
687
392
|
- test/unit/mock/cmd/netstat-tulpen
|
@@ -726,6 +431,9 @@ files:
|
|
726
431
|
- test/unit/mock/profiles/complete-meta/test/.gitkeep
|
727
432
|
- test/unit/mock/profiles/complete-profile/controls/filesystem_spec.rb
|
728
433
|
- test/unit/mock/profiles/complete-profile/inspec.yml
|
434
|
+
- test/unit/mock/profiles/custom-resource/libraries/resource.rb
|
435
|
+
- test/unit/mock/profiles/custom-resource/metadata.rb
|
436
|
+
- test/unit/mock/profiles/custom-resource/test/.gitkeep
|
729
437
|
- test/unit/mock/profiles/empty/metadata.rb
|
730
438
|
- test/unit/mock/profiles/metadata/metadata.rb
|
731
439
|
- test/unit/profile_context_test.rb
|
@@ -773,6 +481,7 @@ files:
|
|
773
481
|
- test/unit/resources/yaml_test.rb
|
774
482
|
- test/unit/resources/yum_test.rb
|
775
483
|
- test/unit/simpleconfig_test.rb
|
484
|
+
- test/unit/targets.rb
|
776
485
|
- test/unit/utils/find_files_test.rb
|
777
486
|
- test/unit/utils/passwd_parser_test.rb
|
778
487
|
homepage: https://github.com/chef/inspec
|
@@ -795,241 +504,17 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
795
504
|
version: '0'
|
796
505
|
requirements: []
|
797
506
|
rubyforge_project:
|
798
|
-
rubygems_version: 2.4.
|
507
|
+
rubygems_version: 2.4.5.1
|
799
508
|
signing_key:
|
800
509
|
specification_version: 4
|
801
510
|
summary: Validate Inspec compliance checks
|
802
511
|
test_files:
|
803
|
-
- test/chefdk/.gitignore
|
804
|
-
- test/chefdk/.kitchen.yml
|
805
|
-
- test/chefdk/Policyfile.rb
|
806
|
-
- test/chefdk/README.md
|
807
|
-
- test/chefdk/chefignore
|
808
|
-
- test/chefdk/metadata.rb
|
809
|
-
- test/chefdk/recipes/default.rb
|
810
|
-
- test/chefdk/spec/spec_helper.rb
|
811
|
-
- test/chefdk/spec/unit/recipes/default_spec.rb
|
812
|
-
- test/chefdk/test/integration/default/serverspec/default_spec.rb
|
813
|
-
- test/chefdk/test/integration/helpers/serverspec/spec_helper.rb
|
814
512
|
- test/docker_run.rb
|
815
513
|
- test/docker_test.rb
|
816
514
|
- test/helper.rb
|
817
|
-
- test/integration/.DS_Store
|
818
515
|
- test/integration/.kitchen.ec2.yml
|
819
|
-
- test/integration/.kitchen.local.yml
|
820
516
|
- test/integration/.kitchen.yml
|
821
|
-
- test/integration/.kitchen/default-aws-linux.yml
|
822
|
-
- test/integration/.kitchen/default-centos-511.yml
|
823
|
-
- test/integration/.kitchen/default-centos-67.yml
|
824
|
-
- test/integration/.kitchen/default-centos-7.yml
|
825
|
-
- test/integration/.kitchen/default-centos-71.yml
|
826
|
-
- test/integration/.kitchen/default-debian-6010.yml
|
827
|
-
- test/integration/.kitchen/default-debian-78.yml
|
828
|
-
- test/integration/.kitchen/default-debian-8.yml
|
829
|
-
- test/integration/.kitchen/default-debian-81.yml
|
830
|
-
- test/integration/.kitchen/default-fedora-21.yml
|
831
|
-
- test/integration/.kitchen/default-fedora-22.yml
|
832
|
-
- test/integration/.kitchen/default-freebsd-102.yml
|
833
|
-
- test/integration/.kitchen/default-freebsd-93.yml
|
834
|
-
- test/integration/.kitchen/default-opensuse-132-x86-64.yml
|
835
|
-
- test/integration/.kitchen/default-redhat-65.yml
|
836
|
-
- test/integration/.kitchen/default-redhat-71.yml
|
837
|
-
- test/integration/.kitchen/default-suse-11sp3.yml
|
838
|
-
- test/integration/.kitchen/default-suse-12.yml
|
839
|
-
- test/integration/.kitchen/default-ubuntu-1004.yml
|
840
|
-
- test/integration/.kitchen/default-ubuntu-1204.yml
|
841
|
-
- test/integration/.kitchen/default-ubuntu-1404.yml
|
842
|
-
- test/integration/.kitchen/default-ubuntu-1510.yml
|
843
|
-
- test/integration/.kitchen/default-windows-2012.yml
|
844
|
-
- test/integration/.kitchen/default-windows-2012r2.yml
|
845
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-511/.vagrant/machines/default/virtualbox/action_set_name
|
846
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-511/.vagrant/machines/default/virtualbox/creator_uid
|
847
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-511/.vagrant/machines/default/virtualbox/id
|
848
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-511/.vagrant/machines/default/virtualbox/index_uuid
|
849
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-511/.vagrant/machines/default/virtualbox/private_key
|
850
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-511/.vagrant/machines/default/virtualbox/synced_folders
|
851
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-511/Vagrantfile
|
852
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67-i386/Vagrantfile
|
853
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67/.vagrant/machines/default/virtualbox/action_set_name
|
854
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67/.vagrant/machines/default/virtualbox/creator_uid
|
855
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67/.vagrant/machines/default/virtualbox/id
|
856
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67/.vagrant/machines/default/virtualbox/index_uuid
|
857
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67/.vagrant/machines/default/virtualbox/private_key
|
858
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67/.vagrant/machines/default/virtualbox/synced_folders
|
859
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67/Vagrantfile
|
860
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/action_set_name
|
861
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/creator_uid
|
862
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/id
|
863
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/index_uuid
|
864
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/private_key
|
865
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/synced_folders
|
866
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/Vagrantfile
|
867
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-6010/.vagrant/machines/default/virtualbox/action_set_name
|
868
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-6010/.vagrant/machines/default/virtualbox/creator_uid
|
869
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-6010/.vagrant/machines/default/virtualbox/id
|
870
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-6010/.vagrant/machines/default/virtualbox/index_uuid
|
871
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-6010/.vagrant/machines/default/virtualbox/private_key
|
872
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-6010/.vagrant/machines/default/virtualbox/synced_folders
|
873
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-6010/Vagrantfile
|
874
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-78/.vagrant/machines/default/virtualbox/action_set_name
|
875
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-78/.vagrant/machines/default/virtualbox/creator_uid
|
876
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-78/.vagrant/machines/default/virtualbox/id
|
877
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-78/.vagrant/machines/default/virtualbox/index_uuid
|
878
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-78/.vagrant/machines/default/virtualbox/private_key
|
879
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-78/.vagrant/machines/default/virtualbox/synced_folders
|
880
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-78/Vagrantfile
|
881
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/action_set_name
|
882
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/creator_uid
|
883
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/id
|
884
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/index_uuid
|
885
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/private_key
|
886
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/synced_folders
|
887
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/Vagrantfile
|
888
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-21/.vagrant/machines/default/virtualbox/action_set_name
|
889
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-21/.vagrant/machines/default/virtualbox/creator_uid
|
890
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-21/.vagrant/machines/default/virtualbox/id
|
891
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-21/.vagrant/machines/default/virtualbox/index_uuid
|
892
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-21/.vagrant/machines/default/virtualbox/private_key
|
893
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-21/.vagrant/machines/default/virtualbox/synced_folders
|
894
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-21/Vagrantfile
|
895
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/action_set_name
|
896
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/creator_uid
|
897
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/id
|
898
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/index_uuid
|
899
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/private_key
|
900
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/synced_folders
|
901
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/Vagrantfile
|
902
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-102/.vagrant/machines/default/virtualbox/action_set_name
|
903
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-102/.vagrant/machines/default/virtualbox/creator_uid
|
904
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-102/.vagrant/machines/default/virtualbox/id
|
905
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-102/.vagrant/machines/default/virtualbox/index_uuid
|
906
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-102/.vagrant/machines/default/virtualbox/private_key
|
907
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-102/.vagrant/machines/default/virtualbox/synced_folders
|
908
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-102/Vagrantfile
|
909
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-93/.vagrant/machines/default/virtualbox/action_set_name
|
910
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-93/.vagrant/machines/default/virtualbox/creator_uid
|
911
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-93/.vagrant/machines/default/virtualbox/id
|
912
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-93/.vagrant/machines/default/virtualbox/index_uuid
|
913
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-93/.vagrant/machines/default/virtualbox/private_key
|
914
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-93/.vagrant/machines/default/virtualbox/synced_folders
|
915
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-93/Vagrantfile
|
916
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-opensuse-132-x86-64/.vagrant/machines/default/virtualbox/action_set_name
|
917
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-opensuse-132-x86-64/.vagrant/machines/default/virtualbox/creator_uid
|
918
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-opensuse-132-x86-64/.vagrant/machines/default/virtualbox/id
|
919
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-opensuse-132-x86-64/.vagrant/machines/default/virtualbox/index_uuid
|
920
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-opensuse-132-x86-64/.vagrant/machines/default/virtualbox/private_key
|
921
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-opensuse-132-x86-64/.vagrant/machines/default/virtualbox/synced_folders
|
922
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-opensuse-132-x86-64/Vagrantfile
|
923
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1004/.vagrant/machines/default/virtualbox/action_set_name
|
924
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1004/.vagrant/machines/default/virtualbox/creator_uid
|
925
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1004/.vagrant/machines/default/virtualbox/id
|
926
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1004/.vagrant/machines/default/virtualbox/index_uuid
|
927
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1004/.vagrant/machines/default/virtualbox/private_key
|
928
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1004/.vagrant/machines/default/virtualbox/synced_folders
|
929
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1004/Vagrantfile
|
930
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/action_set_name
|
931
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/creator_uid
|
932
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/id
|
933
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/index_uuid
|
934
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/private_key
|
935
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/synced_folders
|
936
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/Vagrantfile
|
937
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name
|
938
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid
|
939
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id
|
940
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid
|
941
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key
|
942
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders
|
943
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/Vagrantfile
|
944
|
-
- test/integration/.kitchen/kitchen-vagrant/kitchen-integration-new-ubuntu-1404/Vagrantfile
|
945
|
-
- test/integration/.kitchen/logs/default-aws-linux.log
|
946
|
-
- test/integration/.kitchen/logs/default-centos-511-i386.log
|
947
|
-
- test/integration/.kitchen/logs/default-centos-511.log
|
948
|
-
- test/integration/.kitchen/logs/default-centos-67-i386.log
|
949
|
-
- test/integration/.kitchen/logs/default-centos-67.log
|
950
|
-
- test/integration/.kitchen/logs/default-centos-7.log
|
951
|
-
- test/integration/.kitchen/logs/default-centos-71.log
|
952
|
-
- test/integration/.kitchen/logs/default-debian-6010-i386.log
|
953
|
-
- test/integration/.kitchen/logs/default-debian-6010.log
|
954
|
-
- test/integration/.kitchen/logs/default-debian-78-i386.log
|
955
|
-
- test/integration/.kitchen/logs/default-debian-78.log
|
956
|
-
- test/integration/.kitchen/logs/default-debian-8.log
|
957
|
-
- test/integration/.kitchen/logs/default-debian-81-i386.log
|
958
|
-
- test/integration/.kitchen/logs/default-debian-81.log
|
959
|
-
- test/integration/.kitchen/logs/default-fedora-21-i386.log
|
960
|
-
- test/integration/.kitchen/logs/default-fedora-21.log
|
961
|
-
- test/integration/.kitchen/logs/default-fedora-22.log
|
962
|
-
- test/integration/.kitchen/logs/default-freebsd-102.log
|
963
|
-
- test/integration/.kitchen/logs/default-freebsd-93.log
|
964
|
-
- test/integration/.kitchen/logs/default-mint-172-cinnamon.log
|
965
|
-
- test/integration/.kitchen/logs/default-opensuse-132-i386.log
|
966
|
-
- test/integration/.kitchen/logs/default-opensuse-132-x86-64.log
|
967
|
-
- test/integration/.kitchen/logs/default-redhat-65.log
|
968
|
-
- test/integration/.kitchen/logs/default-redhat-71.log
|
969
|
-
- test/integration/.kitchen/logs/default-suse-11sp3.log
|
970
|
-
- test/integration/.kitchen/logs/default-suse-12.log
|
971
|
-
- test/integration/.kitchen/logs/default-ubuntu-1004-i386.log
|
972
|
-
- test/integration/.kitchen/logs/default-ubuntu-1004.log
|
973
|
-
- test/integration/.kitchen/logs/default-ubuntu-1204-i386.log
|
974
|
-
- test/integration/.kitchen/logs/default-ubuntu-1204.log
|
975
|
-
- test/integration/.kitchen/logs/default-ubuntu-1404-i386.log
|
976
|
-
- test/integration/.kitchen/logs/default-ubuntu-1404.log
|
977
|
-
- test/integration/.kitchen/logs/default-ubuntu-1510.log
|
978
|
-
- test/integration/.kitchen/logs/default-windows-2012.log
|
979
|
-
- test/integration/.kitchen/logs/default-windows-2012r2.log
|
980
|
-
- test/integration/.kitchen/logs/kitchen.log
|
981
|
-
- test/integration/.kitchen/logs/new-centos-511-i386.log
|
982
|
-
- test/integration/.kitchen/logs/new-centos-511.log
|
983
|
-
- test/integration/.kitchen/logs/new-centos-67-i386.log
|
984
|
-
- test/integration/.kitchen/logs/new-centos-67.log
|
985
|
-
- test/integration/.kitchen/logs/new-centos-71.log
|
986
|
-
- test/integration/.kitchen/logs/new-debian-6010-i386.log
|
987
|
-
- test/integration/.kitchen/logs/new-debian-6010.log
|
988
|
-
- test/integration/.kitchen/logs/new-debian-78-i386.log
|
989
|
-
- test/integration/.kitchen/logs/new-debian-78.log
|
990
|
-
- test/integration/.kitchen/logs/new-debian-81-i386.log
|
991
|
-
- test/integration/.kitchen/logs/new-debian-81.log
|
992
|
-
- test/integration/.kitchen/logs/new-fedora-21-i386.log
|
993
|
-
- test/integration/.kitchen/logs/new-fedora-21.log
|
994
|
-
- test/integration/.kitchen/logs/new-fedora-22.log
|
995
|
-
- test/integration/.kitchen/logs/new-freebsd-102.log
|
996
|
-
- test/integration/.kitchen/logs/new-freebsd-93.log
|
997
|
-
- test/integration/.kitchen/logs/new-opensuse-132-i386.log
|
998
|
-
- test/integration/.kitchen/logs/new-opensuse-132-x86-64.log
|
999
|
-
- test/integration/.kitchen/logs/new-ubuntu-1004-i386.log
|
1000
|
-
- test/integration/.kitchen/logs/new-ubuntu-1004.log
|
1001
|
-
- test/integration/.kitchen/logs/new-ubuntu-1204-i386.log
|
1002
|
-
- test/integration/.kitchen/logs/new-ubuntu-1204.log
|
1003
|
-
- test/integration/.kitchen/logs/new-ubuntu-1404-i386.log
|
1004
|
-
- test/integration/.kitchen/logs/new-ubuntu-1404.log
|
1005
|
-
- test/integration/.kitchen/logs/test-centos-511-i386.log
|
1006
|
-
- test/integration/.kitchen/logs/test-centos-511.log
|
1007
|
-
- test/integration/.kitchen/logs/test-centos-67-i386.log
|
1008
|
-
- test/integration/.kitchen/logs/test-centos-67.log
|
1009
|
-
- test/integration/.kitchen/logs/test-centos-71.log
|
1010
|
-
- test/integration/.kitchen/logs/test-debian-6010-i386.log
|
1011
|
-
- test/integration/.kitchen/logs/test-debian-6010.log
|
1012
|
-
- test/integration/.kitchen/logs/test-debian-78-i386.log
|
1013
|
-
- test/integration/.kitchen/logs/test-debian-78.log
|
1014
|
-
- test/integration/.kitchen/logs/test-debian-81-i386.log
|
1015
|
-
- test/integration/.kitchen/logs/test-debian-81.log
|
1016
|
-
- test/integration/.kitchen/logs/test-fedora-21-i386.log
|
1017
|
-
- test/integration/.kitchen/logs/test-fedora-21.log
|
1018
|
-
- test/integration/.kitchen/logs/test-fedora-22.log
|
1019
|
-
- test/integration/.kitchen/logs/test-freebsd-102.log
|
1020
|
-
- test/integration/.kitchen/logs/test-freebsd-93.log
|
1021
|
-
- test/integration/.kitchen/logs/test-opensuse-132-i386.log
|
1022
|
-
- test/integration/.kitchen/logs/test-opensuse-132-x86-64.log
|
1023
|
-
- test/integration/.kitchen/logs/test-ubuntu-1004-i386.log
|
1024
|
-
- test/integration/.kitchen/logs/test-ubuntu-1004.log
|
1025
|
-
- test/integration/.kitchen/logs/test-ubuntu-1204-i386.log
|
1026
|
-
- test/integration/.kitchen/logs/test-ubuntu-1204.log
|
1027
|
-
- test/integration/.kitchen/logs/test-ubuntu-1404-i386.log
|
1028
|
-
- test/integration/.kitchen/logs/test-ubuntu-1404.log
|
1029
|
-
- test/integration/.kitchen/new-ubuntu-1404.yml
|
1030
517
|
- test/integration/Berksfile
|
1031
|
-
- test/integration/Berksfile.lock
|
1032
|
-
- test/integration/TODO.md
|
1033
518
|
- test/integration/cookbooks/os_prepare/files/example.csv
|
1034
519
|
- test/integration/cookbooks/os_prepare/files/example.ini
|
1035
520
|
- test/integration/cookbooks/os_prepare/files/example.json
|
@@ -1043,15 +528,11 @@ test_files:
|
|
1043
528
|
- test/integration/cookbooks/os_prepare/recipes/package.rb
|
1044
529
|
- test/integration/cookbooks/os_prepare/recipes/registry_key.rb
|
1045
530
|
- test/integration/cookbooks/os_prepare/recipes/service.rb
|
1046
|
-
- test/integration/test/.DS_Store
|
1047
|
-
- test/integration/test/integration/.DS_Store
|
1048
|
-
- test/integration/test/integration/default/.DS_Store
|
1049
531
|
- test/integration/test/integration/default/_debug_spec.rb
|
1050
532
|
- test/integration/test/integration/default/apt_spec.rb
|
1051
|
-
- test/integration/test/integration/default/certificate_spec.rb
|
1052
533
|
- test/integration/test/integration/default/compare_matcher_spec.rb
|
1053
534
|
- test/integration/test/integration/default/csv_spec.rb
|
1054
|
-
- test/integration/test/integration/default/
|
535
|
+
- test/integration/test/integration/default/etc_group_spec.rb
|
1055
536
|
- test/integration/test/integration/default/file_spec.rb
|
1056
537
|
- test/integration/test/integration/default/group_spec.rb
|
1057
538
|
- test/integration/test/integration/default/ini_spec.rb
|
@@ -1072,23 +553,6 @@ test_files:
|
|
1072
553
|
- test/resource/file_test.rb
|
1073
554
|
- test/resource/ssh_config.rb
|
1074
555
|
- test/resource/sshd_config.rb
|
1075
|
-
- test/serverspec/.kitchen.yml
|
1076
|
-
- test/serverspec/.kitchen/default-ubuntu-1404.yml
|
1077
|
-
- test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name
|
1078
|
-
- test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid
|
1079
|
-
- test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id
|
1080
|
-
- test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid
|
1081
|
-
- test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key
|
1082
|
-
- test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders
|
1083
|
-
- test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/Vagrantfile
|
1084
|
-
- test/serverspec/.kitchen/logs/default-ubuntu-1404.log
|
1085
|
-
- test/serverspec/.kitchen/logs/kitchen.log
|
1086
|
-
- test/serverspec/Berksfile
|
1087
|
-
- test/serverspec/Berksfile.lock
|
1088
|
-
- test/serverspec/TODO.md
|
1089
|
-
- test/serverspec/test/integration/default/serverspec/os_spec.rb
|
1090
|
-
- test/serverspec/test/integration/default/serverspec/spec_helper.rb
|
1091
|
-
- test/serverspec/test/integration/default/serverspec/sysctl_spec.rb
|
1092
556
|
- test/test-extra.yaml
|
1093
557
|
- test/test.yaml
|
1094
558
|
- test/unit/metadata_test.rb
|
@@ -1130,7 +594,7 @@ test_files:
|
|
1130
594
|
- test/unit/mock/cmd/ls-1-etc-init.d
|
1131
595
|
- test/unit/mock/cmd/ls-sys-class-net-br
|
1132
596
|
- test/unit/mock/cmd/lsmod
|
1133
|
-
- test/unit/mock/cmd/lsof-
|
597
|
+
- test/unit/mock/cmd/lsof-nP-i-FpctPn
|
1134
598
|
- test/unit/mock/cmd/mount
|
1135
599
|
- test/unit/mock/cmd/mount-multiple
|
1136
600
|
- test/unit/mock/cmd/netstat-tulpen
|
@@ -1175,6 +639,9 @@ test_files:
|
|
1175
639
|
- test/unit/mock/profiles/complete-meta/test/.gitkeep
|
1176
640
|
- test/unit/mock/profiles/complete-profile/controls/filesystem_spec.rb
|
1177
641
|
- test/unit/mock/profiles/complete-profile/inspec.yml
|
642
|
+
- test/unit/mock/profiles/custom-resource/libraries/resource.rb
|
643
|
+
- test/unit/mock/profiles/custom-resource/metadata.rb
|
644
|
+
- test/unit/mock/profiles/custom-resource/test/.gitkeep
|
1178
645
|
- test/unit/mock/profiles/empty/metadata.rb
|
1179
646
|
- test/unit/mock/profiles/metadata/metadata.rb
|
1180
647
|
- test/unit/profile_context_test.rb
|
@@ -1222,5 +689,6 @@ test_files:
|
|
1222
689
|
- test/unit/resources/yaml_test.rb
|
1223
690
|
- test/unit/resources/yum_test.rb
|
1224
691
|
- test/unit/simpleconfig_test.rb
|
692
|
+
- test/unit/targets.rb
|
1225
693
|
- test/unit/utils/find_files_test.rb
|
1226
694
|
- test/unit/utils/passwd_parser_test.rb
|