inspec 0.9.7 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +40 -2
- data/Gemfile +1 -0
- data/README.md +21 -2
- data/Rakefile +1 -1
- data/bin/inspec +25 -3
- data/bin/os +23 -0
- data/docs/dsl_resource.rst +90 -0
- data/docs/profiles.rst +167 -0
- data/docs/resources.rst +79 -0
- data/examples/README.md +1 -0
- data/examples/kitchen-ansible/.kitchen/logs/default-centos-71.log +0 -0
- data/examples/kitchen-ansible/.kitchen/logs/default-ubuntu-1204.log +0 -0
- data/examples/kitchen-ansible/.kitchen/logs/default-ubuntu-1404.log +432 -0
- data/examples/kitchen-ansible/.kitchen/logs/kitchen.log +10 -0
- data/examples/kitchen-ansible/Gemfile.lock +154 -0
- data/examples/kitchen-chef/.kitchen/default-centos-71.yml +6 -0
- data/examples/kitchen-chef/.kitchen/default-ubuntu-1204.yml +6 -0
- data/examples/kitchen-chef/.kitchen/default-ubuntu-1404.yml +6 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/.vagrant/machines/default/virtualbox/creator_uid +1 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/.vagrant/machines/default/virtualbox/id +1 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/.vagrant/machines/default/virtualbox/private_key +27 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/.vagrant/machines/default/virtualbox/synced_folders +1 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-centos-71/Vagrantfile +9 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/.vagrant/machines/default/virtualbox/creator_uid +1 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/.vagrant/machines/default/virtualbox/id +1 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/.vagrant/machines/default/virtualbox/private_key +27 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/.vagrant/machines/default/virtualbox/synced_folders +1 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1204/Vagrantfile +9 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid +1 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id +1 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key +27 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders +1 -0
- data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/Vagrantfile +9 -0
- data/examples/kitchen-chef/.kitchen/logs/default-centos-71.log +4 -0
- data/examples/kitchen-chef/.kitchen/logs/default-ubuntu-1204.log +4 -0
- data/examples/kitchen-chef/.kitchen/logs/default-ubuntu-1404.log +4 -0
- data/examples/kitchen-chef/.kitchen/logs/kitchen.log +8 -0
- data/examples/kitchen-chef/Berksfile.lock +11 -0
- data/examples/kitchen-chef/Gemfile.lock +223 -0
- data/examples/kitchen-puppet/.bundle/config +2 -0
- data/examples/kitchen-puppet/.kitchen/logs/default-centos-71.log +0 -0
- data/examples/kitchen-puppet/.kitchen/logs/default-ubuntu-1204.log +0 -0
- data/examples/kitchen-puppet/.kitchen/logs/default-ubuntu-1404.log +306 -0
- data/examples/kitchen-puppet/.kitchen/logs/kitchen.log +10 -0
- data/examples/kitchen-puppet/.librarian/puppet/config +2 -0
- data/examples/kitchen-puppet/Gemfile.lock +174 -0
- data/examples/kitchen-puppet/Puppetfile.lock +2 -0
- data/examples/profile/README.md +30 -0
- data/examples/profile/controls/example.rb +14 -0
- data/examples/profile/controls/gordon.rb +20 -0
- data/examples/profile/inspec.yml +10 -0
- data/examples/profile/libraries/.DS_Store +0 -0
- data/examples/profile/libraries/gordon_config.rb +17 -0
- data/examples/test-kitchen/.kitchen/logs/default-centos-71.log +5 -0
- data/examples/test-kitchen/.kitchen/logs/default-ubuntu-1204.log +5 -0
- data/examples/test-kitchen/.kitchen/logs/default-ubuntu-1404.log +5 -0
- data/examples/test-kitchen/.kitchen/logs/kitchen.log +5 -0
- data/examples/test-kitchen/Berksfile.lock +11 -0
- data/examples/test-kitchen/Gemfile.lock +233 -0
- data/inspec.gemspec +1 -1
- data/lib/.DS_Store +0 -0
- data/lib/inspec/archive/tar.rb +29 -0
- data/lib/inspec/archive/zip.rb +19 -0
- data/lib/inspec/metadata.rb +110 -15
- data/lib/inspec/profile.rb +88 -19
- data/lib/inspec/profile_context.rb +10 -4
- data/lib/inspec/resource.rb +1 -0
- data/lib/inspec/runner.rb +21 -4
- data/lib/inspec/targets.rb +2 -1
- data/lib/inspec/targets/archive.rb +39 -0
- data/lib/inspec/targets/core.rb +2 -2
- data/lib/inspec/targets/dir.rb +18 -2
- data/lib/inspec/targets/file.rb +4 -0
- data/lib/inspec/targets/folder.rb +21 -11
- data/lib/inspec/targets/tar.rb +36 -5
- data/lib/inspec/targets/url.rb +45 -13
- data/lib/inspec/targets/zip.rb +22 -15
- data/lib/inspec/version.rb +1 -1
- data/lib/matchers/matchers.rb +30 -0
- data/lib/resources/certificate.rb +0 -0
- data/lib/resources/etc_group.rb +1 -1
- data/lib/resources/file.rb +28 -3
- data/lib/resources/mount.rb +57 -0
- data/lib/resources/passwd.rb +1 -1
- data/lib/resources/private_key.rb +0 -0
- data/lib/resources/user.rb +3 -2
- data/lib/utils/hash.rb +29 -1
- data/lib/utils/parser.rb +34 -1
- data/lib/utils/simpleconfig.rb +1 -1
- data/test/chefdk/.gitignore +16 -0
- data/test/chefdk/.kitchen.yml +27 -0
- data/test/chefdk/Policyfile.rb +16 -0
- data/test/chefdk/README.md +4 -0
- data/test/chefdk/chefignore +100 -0
- data/test/chefdk/metadata.rb +7 -0
- data/test/chefdk/recipes/default.rb +5 -0
- data/test/chefdk/spec/spec_helper.rb +2 -0
- data/test/chefdk/spec/unit/recipes/default_spec.rb +20 -0
- data/test/chefdk/test/integration/default/serverspec/default_spec.rb +9 -0
- data/test/chefdk/test/integration/helpers/serverspec/spec_helper.rb +8 -0
- data/test/helper.rb +3 -1
- data/test/integration/.DS_Store +0 -0
- data/test/integration/.kitchen.ec2.yml +67 -0
- data/test/integration/.kitchen.local.yml +68 -0
- data/test/integration/.kitchen/default-aws-linux.yml +4 -0
- data/test/integration/.kitchen/default-centos-511.yml +6 -0
- data/test/integration/.kitchen/default-centos-67.yml +6 -0
- data/test/integration/.kitchen/default-centos-7.yml +4 -0
- data/test/integration/.kitchen/default-centos-71.yml +6 -0
- data/test/integration/.kitchen/default-debian-6010.yml +6 -0
- data/test/integration/.kitchen/default-debian-78.yml +6 -0
- data/test/integration/.kitchen/default-debian-8.yml +4 -0
- data/test/integration/.kitchen/default-debian-81.yml +6 -0
- data/test/integration/.kitchen/default-fedora-21.yml +6 -0
- data/test/integration/.kitchen/default-fedora-22.yml +4 -0
- data/test/integration/.kitchen/default-freebsd-102.yml +6 -0
- data/test/integration/.kitchen/default-freebsd-93.yml +6 -0
- data/test/integration/.kitchen/default-opensuse-132-x86-64.yml +6 -0
- data/test/integration/.kitchen/default-redhat-65.yml +4 -0
- data/test/integration/.kitchen/default-redhat-71.yml +4 -0
- data/test/integration/.kitchen/default-suse-11sp3.yml +4 -0
- data/test/integration/.kitchen/default-suse-12.yml +4 -0
- data/test/integration/.kitchen/default-ubuntu-1004.yml +6 -0
- data/test/integration/.kitchen/default-ubuntu-1204.yml +4 -0
- data/test/integration/.kitchen/default-ubuntu-1404.yml +4 -0
- data/test/integration/.kitchen/default-ubuntu-1510.yml +4 -0
- data/test/integration/.kitchen/default-windows-2012.yml +5 -0
- data/test/integration/.kitchen/default-windows-2012r2.yml +6 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-511/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-511/.vagrant/machines/default/virtualbox/creator_uid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-511/.vagrant/machines/default/virtualbox/id +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-511/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-511/.vagrant/machines/default/virtualbox/private_key +27 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-511/.vagrant/machines/default/virtualbox/synced_folders +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-511/Vagrantfile +9 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67-i386/Vagrantfile +9 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67/.vagrant/machines/default/virtualbox/creator_uid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67/.vagrant/machines/default/virtualbox/id +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67/.vagrant/machines/default/virtualbox/private_key +27 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67/.vagrant/machines/default/virtualbox/synced_folders +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67/Vagrantfile +9 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/creator_uid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/id +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/private_key +27 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/.vagrant/machines/default/virtualbox/synced_folders +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-71/Vagrantfile +9 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-6010/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-6010/.vagrant/machines/default/virtualbox/creator_uid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-6010/.vagrant/machines/default/virtualbox/id +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-6010/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-6010/.vagrant/machines/default/virtualbox/private_key +27 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-6010/.vagrant/machines/default/virtualbox/synced_folders +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-6010/Vagrantfile +9 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-78/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-78/.vagrant/machines/default/virtualbox/creator_uid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-78/.vagrant/machines/default/virtualbox/id +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-78/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-78/.vagrant/machines/default/virtualbox/private_key +27 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-78/.vagrant/machines/default/virtualbox/synced_folders +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-78/Vagrantfile +9 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/creator_uid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/id +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/private_key +27 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/synced_folders +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/Vagrantfile +9 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-21/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-21/.vagrant/machines/default/virtualbox/creator_uid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-21/.vagrant/machines/default/virtualbox/id +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-21/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-21/.vagrant/machines/default/virtualbox/private_key +27 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-21/.vagrant/machines/default/virtualbox/synced_folders +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-21/Vagrantfile +9 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/creator_uid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/id +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/private_key +27 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/.vagrant/machines/default/virtualbox/synced_folders +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-fedora-22/Vagrantfile +9 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-102/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-102/.vagrant/machines/default/virtualbox/creator_uid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-102/.vagrant/machines/default/virtualbox/id +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-102/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-102/.vagrant/machines/default/virtualbox/private_key +27 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-102/.vagrant/machines/default/virtualbox/synced_folders +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-102/Vagrantfile +9 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-93/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-93/.vagrant/machines/default/virtualbox/creator_uid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-93/.vagrant/machines/default/virtualbox/id +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-93/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-93/.vagrant/machines/default/virtualbox/private_key +27 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-93/.vagrant/machines/default/virtualbox/synced_folders +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-freebsd-93/Vagrantfile +9 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-opensuse-132-x86-64/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-opensuse-132-x86-64/.vagrant/machines/default/virtualbox/creator_uid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-opensuse-132-x86-64/.vagrant/machines/default/virtualbox/id +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-opensuse-132-x86-64/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-opensuse-132-x86-64/.vagrant/machines/default/virtualbox/private_key +27 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-opensuse-132-x86-64/.vagrant/machines/default/virtualbox/synced_folders +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-opensuse-132-x86-64/Vagrantfile +9 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1004/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1004/.vagrant/machines/default/virtualbox/creator_uid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1004/.vagrant/machines/default/virtualbox/id +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1004/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1004/.vagrant/machines/default/virtualbox/private_key +27 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1004/.vagrant/machines/default/virtualbox/synced_folders +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1004/Vagrantfile +9 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/creator_uid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/id +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/private_key +27 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/synced_folders +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/Vagrantfile +9 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key +27 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders +1 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/Vagrantfile +9 -0
- data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-new-ubuntu-1404/Vagrantfile +9 -0
- 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 +23 -0
- 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 +3 -0
- data/test/integration/.kitchen/logs/new-centos-511-i386.log +0 -0
- data/test/integration/.kitchen/logs/new-centos-511.log +0 -0
- data/test/integration/.kitchen/logs/new-centos-67-i386.log +0 -0
- data/test/integration/.kitchen/logs/new-centos-67.log +0 -0
- data/test/integration/.kitchen/logs/new-centos-71.log +0 -0
- data/test/integration/.kitchen/logs/new-debian-6010-i386.log +0 -0
- data/test/integration/.kitchen/logs/new-debian-6010.log +0 -0
- data/test/integration/.kitchen/logs/new-debian-78-i386.log +0 -0
- data/test/integration/.kitchen/logs/new-debian-78.log +0 -0
- data/test/integration/.kitchen/logs/new-debian-81-i386.log +0 -0
- data/test/integration/.kitchen/logs/new-debian-81.log +0 -0
- data/test/integration/.kitchen/logs/new-fedora-21-i386.log +0 -0
- data/test/integration/.kitchen/logs/new-fedora-21.log +0 -0
- data/test/integration/.kitchen/logs/new-fedora-22.log +0 -0
- data/test/integration/.kitchen/logs/new-freebsd-102.log +0 -0
- data/test/integration/.kitchen/logs/new-freebsd-93.log +0 -0
- data/test/integration/.kitchen/logs/new-opensuse-132-i386.log +0 -0
- data/test/integration/.kitchen/logs/new-opensuse-132-x86-64.log +0 -0
- data/test/integration/.kitchen/logs/new-ubuntu-1004-i386.log +0 -0
- data/test/integration/.kitchen/logs/new-ubuntu-1004.log +0 -0
- data/test/integration/.kitchen/logs/new-ubuntu-1204-i386.log +0 -0
- data/test/integration/.kitchen/logs/new-ubuntu-1204.log +0 -0
- data/test/integration/.kitchen/logs/new-ubuntu-1404-i386.log +0 -0
- data/test/integration/.kitchen/logs/new-ubuntu-1404.log +3 -0
- data/test/integration/.kitchen/logs/test-centos-511-i386.log +0 -0
- data/test/integration/.kitchen/logs/test-centos-511.log +0 -0
- data/test/integration/.kitchen/logs/test-centos-67-i386.log +0 -0
- data/test/integration/.kitchen/logs/test-centos-67.log +0 -0
- data/test/integration/.kitchen/logs/test-centos-71.log +0 -0
- data/test/integration/.kitchen/logs/test-debian-6010-i386.log +0 -0
- data/test/integration/.kitchen/logs/test-debian-6010.log +0 -0
- data/test/integration/.kitchen/logs/test-debian-78-i386.log +0 -0
- data/test/integration/.kitchen/logs/test-debian-78.log +0 -0
- data/test/integration/.kitchen/logs/test-debian-81-i386.log +0 -0
- data/test/integration/.kitchen/logs/test-debian-81.log +0 -0
- data/test/integration/.kitchen/logs/test-fedora-21-i386.log +0 -0
- data/test/integration/.kitchen/logs/test-fedora-21.log +0 -0
- data/test/integration/.kitchen/logs/test-fedora-22.log +0 -0
- data/test/integration/.kitchen/logs/test-freebsd-102.log +0 -0
- data/test/integration/.kitchen/logs/test-freebsd-93.log +0 -0
- data/test/integration/.kitchen/logs/test-opensuse-132-i386.log +0 -0
- data/test/integration/.kitchen/logs/test-opensuse-132-x86-64.log +0 -0
- data/test/integration/.kitchen/logs/test-ubuntu-1004-i386.log +0 -0
- data/test/integration/.kitchen/logs/test-ubuntu-1004.log +0 -0
- data/test/integration/.kitchen/logs/test-ubuntu-1204-i386.log +0 -0
- data/test/integration/.kitchen/logs/test-ubuntu-1204.log +0 -0
- data/test/integration/.kitchen/logs/test-ubuntu-1404-i386.log +0 -0
- data/test/integration/.kitchen/logs/test-ubuntu-1404.log +0 -0
- data/test/integration/.kitchen/new-ubuntu-1404.yml +1 -0
- data/test/integration/Berksfile.lock +11 -0
- data/test/integration/TODO.md +15 -0
- data/test/integration/cookbooks/os_prepare/recipes/default.rb +1 -0
- data/test/integration/cookbooks/os_prepare/recipes/json_yaml_csv_ini.rb +13 -6
- data/test/integration/cookbooks/os_prepare/recipes/mount.rb +29 -0
- data/test/integration/test/.DS_Store +0 -0
- data/test/integration/test/integration/.DS_Store +0 -0
- data/test/integration/test/integration/default/.DS_Store +0 -0
- data/test/integration/test/integration/default/certificate_spec.rb +7 -0
- data/test/integration/test/integration/default/csv_spec.rb +7 -1
- data/test/integration/test/integration/default/file_spec.rb +29 -0
- data/test/integration/test/integration/default/ini_spec.rb +7 -1
- data/test/integration/test/integration/default/json_spec.rb +7 -1
- data/test/integration/test/integration/default/mount_spec.rb +10 -0
- data/test/integration/test/integration/default/yaml_spec.rb +7 -1
- data/test/serverspec/.kitchen.yml +18 -0
- data/test/serverspec/.kitchen/default-ubuntu-1404.yml +6 -0
- data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name +1 -0
- data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid +1 -0
- data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id +1 -0
- data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid +1 -0
- data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key +27 -0
- data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders +1 -0
- data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/Vagrantfile +9 -0
- data/test/serverspec/.kitchen/logs/default-ubuntu-1404.log +2 -0
- data/test/serverspec/.kitchen/logs/kitchen.log +3 -0
- data/test/serverspec/Berksfile +3 -0
- data/test/serverspec/Berksfile.lock +5 -0
- data/test/serverspec/TODO.md +2 -0
- data/test/serverspec/test/integration/default/serverspec/os_spec.rb +25 -0
- data/test/serverspec/test/integration/default/serverspec/spec_helper.rb +48 -0
- data/test/serverspec/test/integration/default/serverspec/sysctl_spec.rb +37 -0
- data/test/unit/metadata_test.rb +69 -0
- data/test/unit/mock/cmd/mount +1 -0
- data/test/unit/mock/cmd/mount-multiple +2 -0
- data/test/unit/mock/profiles/complete-meta/metadata.rb +7 -0
- data/test/unit/mock/profiles/complete-meta/test/.gitkeep +0 -0
- data/test/unit/mock/profiles/complete-profile/controls/filesystem_spec.rb +16 -0
- data/test/unit/mock/profiles/complete-profile/inspec.yml +10 -0
- data/test/unit/profile_context_test.rb +2 -2
- data/test/unit/profile_test.rb +63 -6
- data/test/unit/resources/file_test.rb +4 -0
- data/test/unit/resources/mount_test.rb +26 -0
- data/test/unit/utils/{content_parser_test.rb → passwd_parser_test.rb} +2 -2
- metadata +588 -5
@@ -0,0 +1,26 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# author: Christoph Hartmann
|
3
|
+
# author: Dominik Richter
|
4
|
+
|
5
|
+
require 'helper'
|
6
|
+
require 'inspec/resource'
|
7
|
+
|
8
|
+
describe Inspec::Resources::File do
|
9
|
+
let(:root_resource) { load_resource('mount', '/') }
|
10
|
+
|
11
|
+
it 'parses the mount data properly' do
|
12
|
+
root_resource.send(:device).must_equal('/dev/xvda1')
|
13
|
+
root_resource.send(:type).must_equal('ext4')
|
14
|
+
root_resource.send(:options).must_equal(['rw','discard'])
|
15
|
+
root_resource.send(:count).must_equal(1)
|
16
|
+
end
|
17
|
+
|
18
|
+
let(:iso_resource) { load_resource('mount', '/mnt/iso-disk') }
|
19
|
+
|
20
|
+
it 'parses the mount data properly' do
|
21
|
+
iso_resource.send(:device).must_equal('/root/alpine-3.3.0-x86_64_2.iso')
|
22
|
+
iso_resource.send(:type).must_equal('iso9660')
|
23
|
+
iso_resource.send(:options).must_equal(['ro'])
|
24
|
+
iso_resource.send(:count).must_equal(2)
|
25
|
+
end
|
26
|
+
end
|
@@ -2,8 +2,8 @@
|
|
2
2
|
# author: Dominik Richter
|
3
3
|
# author: Christoph Hartmann
|
4
4
|
|
5
|
-
describe
|
6
|
-
let (:parser) { Class.new() { include
|
5
|
+
describe PasswdParser do
|
6
|
+
let (:parser) { Class.new() { include PasswdParser }.new }
|
7
7
|
|
8
8
|
describe '#parse_passwd' do
|
9
9
|
it 'parses nil content' do
|
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.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dominik Richter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: r-train
|
@@ -17,6 +17,9 @@ dependencies:
|
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0.9'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 0.9.3
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -24,6 +27,9 @@ dependencies:
|
|
24
27
|
- - "~>"
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '0.9'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 0.9.3
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: thor
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -167,37 +173,98 @@ files:
|
|
167
173
|
- README.md
|
168
174
|
- Rakefile
|
169
175
|
- bin/inspec
|
176
|
+
- bin/os
|
170
177
|
- docs/ctl_inspec.rst
|
171
178
|
- docs/dsl_inspec.rst
|
179
|
+
- docs/dsl_resource.rst
|
172
180
|
- docs/inspec_and_friends.rst
|
181
|
+
- docs/profiles.rst
|
173
182
|
- docs/readme.rst
|
174
183
|
- docs/resources.rst
|
175
184
|
- docs/template.rst
|
176
185
|
- examples/README.md
|
177
186
|
- 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
|
178
191
|
- examples/kitchen-ansible/Gemfile
|
192
|
+
- examples/kitchen-ansible/Gemfile.lock
|
179
193
|
- examples/kitchen-ansible/README.md
|
180
194
|
- examples/kitchen-ansible/files/nginx.repo
|
181
195
|
- examples/kitchen-ansible/tasks/main.yml
|
182
196
|
- examples/kitchen-ansible/test/integration/default/default.yml
|
183
197
|
- examples/kitchen-ansible/test/integration/default/web_spec.rb
|
184
198
|
- 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
|
185
227
|
- examples/kitchen-chef/Berksfile
|
228
|
+
- examples/kitchen-chef/Berksfile.lock
|
186
229
|
- examples/kitchen-chef/Gemfile
|
230
|
+
- examples/kitchen-chef/Gemfile.lock
|
187
231
|
- examples/kitchen-chef/README.md
|
188
232
|
- examples/kitchen-chef/metadata.rb
|
189
233
|
- examples/kitchen-chef/recipes/default.rb
|
190
234
|
- examples/kitchen-chef/recipes/nginx.rb
|
191
235
|
- examples/kitchen-chef/test/integration/default/web_spec.rb
|
236
|
+
- examples/kitchen-puppet/.bundle/config
|
192
237
|
- 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
|
193
243
|
- examples/kitchen-puppet/Gemfile
|
244
|
+
- examples/kitchen-puppet/Gemfile.lock
|
194
245
|
- examples/kitchen-puppet/Puppetfile
|
246
|
+
- examples/kitchen-puppet/Puppetfile.lock
|
195
247
|
- examples/kitchen-puppet/README.md
|
196
248
|
- examples/kitchen-puppet/manifests/site.pp
|
197
249
|
- examples/kitchen-puppet/metadata.json
|
198
250
|
- examples/kitchen-puppet/test/integration/default/web_spec.rb
|
251
|
+
- examples/profile/README.md
|
252
|
+
- examples/profile/controls/example.rb
|
253
|
+
- examples/profile/controls/gordon.rb
|
254
|
+
- examples/profile/inspec.yml
|
255
|
+
- examples/profile/libraries/.DS_Store
|
256
|
+
- examples/profile/libraries/gordon_config.rb
|
257
|
+
- examples/test-kitchen/.kitchen/logs/default-centos-71.log
|
258
|
+
- examples/test-kitchen/.kitchen/logs/default-ubuntu-1204.log
|
259
|
+
- examples/test-kitchen/.kitchen/logs/default-ubuntu-1404.log
|
260
|
+
- examples/test-kitchen/.kitchen/logs/kitchen.log
|
261
|
+
- examples/test-kitchen/Berksfile.lock
|
262
|
+
- examples/test-kitchen/Gemfile.lock
|
199
263
|
- inspec.gemspec
|
264
|
+
- lib/.DS_Store
|
200
265
|
- lib/inspec.rb
|
266
|
+
- lib/inspec/archive/tar.rb
|
267
|
+
- lib/inspec/archive/zip.rb
|
201
268
|
- lib/inspec/backend.rb
|
202
269
|
- lib/inspec/dsl.rb
|
203
270
|
- lib/inspec/log.rb
|
@@ -212,6 +279,7 @@ files:
|
|
212
279
|
- lib/inspec/runner.rb
|
213
280
|
- lib/inspec/shell.rb
|
214
281
|
- lib/inspec/targets.rb
|
282
|
+
- lib/inspec/targets/archive.rb
|
215
283
|
- lib/inspec/targets/core.rb
|
216
284
|
- lib/inspec/targets/dir.rb
|
217
285
|
- lib/inspec/targets/file.rb
|
@@ -229,6 +297,7 @@ files:
|
|
229
297
|
- lib/resources/auditd_rules.rb
|
230
298
|
- lib/resources/bond.rb
|
231
299
|
- lib/resources/bridge.rb
|
300
|
+
- lib/resources/certificate.rb
|
232
301
|
- lib/resources/command.rb
|
233
302
|
- lib/resources/csv.rb
|
234
303
|
- lib/resources/directory.rb
|
@@ -246,6 +315,7 @@ files:
|
|
246
315
|
- lib/resources/kernel_parameter.rb
|
247
316
|
- lib/resources/limits_conf.rb
|
248
317
|
- lib/resources/login_def.rb
|
318
|
+
- lib/resources/mount.rb
|
249
319
|
- lib/resources/mysql.rb
|
250
320
|
- lib/resources/mysql_conf.rb
|
251
321
|
- lib/resources/mysql_session.rb
|
@@ -262,6 +332,7 @@ files:
|
|
262
332
|
- lib/resources/postgres.rb
|
263
333
|
- lib/resources/postgres_conf.rb
|
264
334
|
- lib/resources/postgres_session.rb
|
335
|
+
- lib/resources/private_key.rb
|
265
336
|
- lib/resources/processes.rb
|
266
337
|
- lib/resources/registry_key.rb
|
267
338
|
- lib/resources/script.rb
|
@@ -280,11 +351,236 @@ files:
|
|
280
351
|
- lib/utils/parser.rb
|
281
352
|
- lib/utils/simpleconfig.rb
|
282
353
|
- 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
|
283
365
|
- test/docker_run.rb
|
284
366
|
- test/docker_test.rb
|
285
367
|
- test/helper.rb
|
368
|
+
- test/integration/.DS_Store
|
369
|
+
- test/integration/.kitchen.ec2.yml
|
370
|
+
- test/integration/.kitchen.local.yml
|
286
371
|
- 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
|
287
581
|
- test/integration/Berksfile
|
582
|
+
- test/integration/Berksfile.lock
|
583
|
+
- test/integration/TODO.md
|
288
584
|
- test/integration/cookbooks/os_prepare/files/example.csv
|
289
585
|
- test/integration/cookbooks/os_prepare/files/example.ini
|
290
586
|
- test/integration/cookbooks/os_prepare/files/example.json
|
@@ -294,11 +590,16 @@ files:
|
|
294
590
|
- test/integration/cookbooks/os_prepare/recipes/default.rb
|
295
591
|
- test/integration/cookbooks/os_prepare/recipes/file.rb
|
296
592
|
- test/integration/cookbooks/os_prepare/recipes/json_yaml_csv_ini.rb
|
593
|
+
- test/integration/cookbooks/os_prepare/recipes/mount.rb
|
297
594
|
- test/integration/cookbooks/os_prepare/recipes/package.rb
|
298
595
|
- test/integration/cookbooks/os_prepare/recipes/registry_key.rb
|
299
596
|
- 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
|
300
600
|
- test/integration/test/integration/default/_debug_spec.rb
|
301
601
|
- test/integration/test/integration/default/apt_spec.rb
|
602
|
+
- test/integration/test/integration/default/certificate_spec.rb
|
302
603
|
- test/integration/test/integration/default/compare_matcher_spec.rb
|
303
604
|
- test/integration/test/integration/default/csv_spec.rb
|
304
605
|
- test/integration/test/integration/default/etc_group.rb
|
@@ -308,6 +609,7 @@ files:
|
|
308
609
|
- test/integration/test/integration/default/json_spec.rb
|
309
610
|
- test/integration/test/integration/default/kernel_module_spec.rb
|
310
611
|
- test/integration/test/integration/default/kernel_parameter_spec.rb
|
612
|
+
- test/integration/test/integration/default/mount_spec.rb
|
311
613
|
- test/integration/test/integration/default/os_spec.rb
|
312
614
|
- test/integration/test/integration/default/package_spec.rb
|
313
615
|
- test/integration/test/integration/default/port_spec.rb
|
@@ -321,8 +623,26 @@ files:
|
|
321
623
|
- test/resource/file_test.rb
|
322
624
|
- test/resource/ssh_config.rb
|
323
625
|
- 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
|
324
643
|
- test/test-extra.yaml
|
325
644
|
- test/test.yaml
|
645
|
+
- test/unit/metadata_test.rb
|
326
646
|
- test/unit/mock/cmd/$env-PATH
|
327
647
|
- test/unit/mock/cmd/Get-NetAdapter
|
328
648
|
- test/unit/mock/cmd/GetUserAccount
|
@@ -362,6 +682,8 @@ files:
|
|
362
682
|
- test/unit/mock/cmd/ls-sys-class-net-br
|
363
683
|
- test/unit/mock/cmd/lsmod
|
364
684
|
- test/unit/mock/cmd/lsof-np-itcp
|
685
|
+
- test/unit/mock/cmd/mount
|
686
|
+
- test/unit/mock/cmd/mount-multiple
|
365
687
|
- test/unit/mock/cmd/netstat-tulpen
|
366
688
|
- test/unit/mock/cmd/npm-ls-g--json-bower
|
367
689
|
- test/unit/mock/cmd/pacman-qi-curl
|
@@ -400,6 +722,10 @@ files:
|
|
400
722
|
- test/unit/mock/files/serve-cgi-bin.conf
|
401
723
|
- test/unit/mock/files/ssh_config
|
402
724
|
- test/unit/mock/files/sshd_config
|
725
|
+
- test/unit/mock/profiles/complete-meta/metadata.rb
|
726
|
+
- test/unit/mock/profiles/complete-meta/test/.gitkeep
|
727
|
+
- test/unit/mock/profiles/complete-profile/controls/filesystem_spec.rb
|
728
|
+
- test/unit/mock/profiles/complete-profile/inspec.yml
|
403
729
|
- test/unit/mock/profiles/empty/metadata.rb
|
404
730
|
- test/unit/mock/profiles/metadata/metadata.rb
|
405
731
|
- test/unit/profile_context_test.rb
|
@@ -426,6 +752,7 @@ files:
|
|
426
752
|
- test/unit/resources/kernel_parameter_test.rb
|
427
753
|
- test/unit/resources/limits_conf_test.rb
|
428
754
|
- test/unit/resources/login_def_test.rb
|
755
|
+
- test/unit/resources/mount_test.rb
|
429
756
|
- test/unit/resources/mysql_conf_test.rb
|
430
757
|
- test/unit/resources/npm_test.rb
|
431
758
|
- test/unit/resources/ntp_conf_test.rb
|
@@ -446,8 +773,8 @@ files:
|
|
446
773
|
- test/unit/resources/yaml_test.rb
|
447
774
|
- test/unit/resources/yum_test.rb
|
448
775
|
- test/unit/simpleconfig_test.rb
|
449
|
-
- test/unit/utils/content_parser_test.rb
|
450
776
|
- test/unit/utils/find_files_test.rb
|
777
|
+
- test/unit/utils/passwd_parser_test.rb
|
451
778
|
homepage: https://github.com/chef/inspec
|
452
779
|
licenses:
|
453
780
|
- Apache 2.0
|
@@ -468,16 +795,241 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
468
795
|
version: '0'
|
469
796
|
requirements: []
|
470
797
|
rubyforge_project:
|
471
|
-
rubygems_version: 2.4.
|
798
|
+
rubygems_version: 2.4.6
|
472
799
|
signing_key:
|
473
800
|
specification_version: 4
|
474
801
|
summary: Validate Inspec compliance checks
|
475
802
|
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
|
476
814
|
- test/docker_run.rb
|
477
815
|
- test/docker_test.rb
|
478
816
|
- test/helper.rb
|
817
|
+
- test/integration/.DS_Store
|
818
|
+
- test/integration/.kitchen.ec2.yml
|
819
|
+
- test/integration/.kitchen.local.yml
|
479
820
|
- 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
|
480
1030
|
- test/integration/Berksfile
|
1031
|
+
- test/integration/Berksfile.lock
|
1032
|
+
- test/integration/TODO.md
|
481
1033
|
- test/integration/cookbooks/os_prepare/files/example.csv
|
482
1034
|
- test/integration/cookbooks/os_prepare/files/example.ini
|
483
1035
|
- test/integration/cookbooks/os_prepare/files/example.json
|
@@ -487,11 +1039,16 @@ test_files:
|
|
487
1039
|
- test/integration/cookbooks/os_prepare/recipes/default.rb
|
488
1040
|
- test/integration/cookbooks/os_prepare/recipes/file.rb
|
489
1041
|
- test/integration/cookbooks/os_prepare/recipes/json_yaml_csv_ini.rb
|
1042
|
+
- test/integration/cookbooks/os_prepare/recipes/mount.rb
|
490
1043
|
- test/integration/cookbooks/os_prepare/recipes/package.rb
|
491
1044
|
- test/integration/cookbooks/os_prepare/recipes/registry_key.rb
|
492
1045
|
- 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
|
493
1049
|
- test/integration/test/integration/default/_debug_spec.rb
|
494
1050
|
- test/integration/test/integration/default/apt_spec.rb
|
1051
|
+
- test/integration/test/integration/default/certificate_spec.rb
|
495
1052
|
- test/integration/test/integration/default/compare_matcher_spec.rb
|
496
1053
|
- test/integration/test/integration/default/csv_spec.rb
|
497
1054
|
- test/integration/test/integration/default/etc_group.rb
|
@@ -501,6 +1058,7 @@ test_files:
|
|
501
1058
|
- test/integration/test/integration/default/json_spec.rb
|
502
1059
|
- test/integration/test/integration/default/kernel_module_spec.rb
|
503
1060
|
- test/integration/test/integration/default/kernel_parameter_spec.rb
|
1061
|
+
- test/integration/test/integration/default/mount_spec.rb
|
504
1062
|
- test/integration/test/integration/default/os_spec.rb
|
505
1063
|
- test/integration/test/integration/default/package_spec.rb
|
506
1064
|
- test/integration/test/integration/default/port_spec.rb
|
@@ -514,8 +1072,26 @@ test_files:
|
|
514
1072
|
- test/resource/file_test.rb
|
515
1073
|
- test/resource/ssh_config.rb
|
516
1074
|
- 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
|
517
1092
|
- test/test-extra.yaml
|
518
1093
|
- test/test.yaml
|
1094
|
+
- test/unit/metadata_test.rb
|
519
1095
|
- test/unit/mock/cmd/$env-PATH
|
520
1096
|
- test/unit/mock/cmd/Get-NetAdapter
|
521
1097
|
- test/unit/mock/cmd/GetUserAccount
|
@@ -555,6 +1131,8 @@ test_files:
|
|
555
1131
|
- test/unit/mock/cmd/ls-sys-class-net-br
|
556
1132
|
- test/unit/mock/cmd/lsmod
|
557
1133
|
- test/unit/mock/cmd/lsof-np-itcp
|
1134
|
+
- test/unit/mock/cmd/mount
|
1135
|
+
- test/unit/mock/cmd/mount-multiple
|
558
1136
|
- test/unit/mock/cmd/netstat-tulpen
|
559
1137
|
- test/unit/mock/cmd/npm-ls-g--json-bower
|
560
1138
|
- test/unit/mock/cmd/pacman-qi-curl
|
@@ -593,6 +1171,10 @@ test_files:
|
|
593
1171
|
- test/unit/mock/files/serve-cgi-bin.conf
|
594
1172
|
- test/unit/mock/files/ssh_config
|
595
1173
|
- test/unit/mock/files/sshd_config
|
1174
|
+
- test/unit/mock/profiles/complete-meta/metadata.rb
|
1175
|
+
- test/unit/mock/profiles/complete-meta/test/.gitkeep
|
1176
|
+
- test/unit/mock/profiles/complete-profile/controls/filesystem_spec.rb
|
1177
|
+
- test/unit/mock/profiles/complete-profile/inspec.yml
|
596
1178
|
- test/unit/mock/profiles/empty/metadata.rb
|
597
1179
|
- test/unit/mock/profiles/metadata/metadata.rb
|
598
1180
|
- test/unit/profile_context_test.rb
|
@@ -619,6 +1201,7 @@ test_files:
|
|
619
1201
|
- test/unit/resources/kernel_parameter_test.rb
|
620
1202
|
- test/unit/resources/limits_conf_test.rb
|
621
1203
|
- test/unit/resources/login_def_test.rb
|
1204
|
+
- test/unit/resources/mount_test.rb
|
622
1205
|
- test/unit/resources/mysql_conf_test.rb
|
623
1206
|
- test/unit/resources/npm_test.rb
|
624
1207
|
- test/unit/resources/ntp_conf_test.rb
|
@@ -639,5 +1222,5 @@ test_files:
|
|
639
1222
|
- test/unit/resources/yaml_test.rb
|
640
1223
|
- test/unit/resources/yum_test.rb
|
641
1224
|
- test/unit/simpleconfig_test.rb
|
642
|
-
- test/unit/utils/content_parser_test.rb
|
643
1225
|
- test/unit/utils/find_files_test.rb
|
1226
|
+
- test/unit/utils/passwd_parser_test.rb
|