Skip to content

InSpec Profile - Integration Tests for bonusbits_base cookbook

License

Notifications You must be signed in to change notification settings

bonusbits/bonusbits_base_inspec

Repository files navigation

InSpec Bonus Bits Base Cookbook Profile

Project Release CircleCI Join the chat at https://gitter.im/bonusbits GitHub issues

Used to run integration tests for when using the bonusbits_base Chef Cookbook.

Standalone Usage

This Compliance Profile requires InSpec for execution:

$ git clone https://github.com/bonusbits/bonusbits_base_inspec.git
$ inspec exec bonusbits_base_inspec

You can also execute the profile directly from Github:

$ inspec exec https://github.com/bonusbits/bonusbits_base_inspec

Kitchen Usage

Add the InSpec Profile to your test suites in the Test Kitchen configuration.

verifier:
  name: inspec
  
suites:
  - name: default
    run_list:
      - recipe[blah]
    verifier:
      inspec_tests:
        - name: bonusbits_base
          git: https://github.com/bonusbits/bonusbits_base_inspec.git
          release: 2.1.0
      attributes:
        debug: false
        inside_aws: true

Attributes

Control Attribute Type Default Options
all debug Boolean false true/false
aws inside_aws Boolean false true/false
aws configure_aws_profile Boolean true true/false
backups test_backups Boolean false true/false
bash_profile test_bash_profile Boolean true true/false
chef test_chef Boolean true true/false
cloudwatch test_cloudwatch Boolean false true/false
cloudwatch_logs inside_aws Boolean false true/false
cloudwatch_logs test_cloudwatch_logs Boolean true true/false
gem_source test_gem_source Boolean true true/false
java test_java Boolean false true/false
java java_package_name String java-1.8.0-openjdk N/A
java java_specify_version Boolean false true/false
java java_version String 1.8.0.151-1.b12.35.amzn1 N/A
node_info configure_node_info Boolean true true/false
packages install_packages Boolean true true/false
packages amazon_packages Array long list array of package names
packages redhat_packages Array long list array of package names
packages debian_packages Array long list array of package names
packages suse_packages Array long list array of package names
packages windows_packages Array short list array of package names
proxy configure_proxy Boolean false true/false
selinux configure_selinux Boolean true true/false
sudoers configure_sudoers Boolean false true/false

About

InSpec Profile - Integration Tests for bonusbits_base cookbook

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages