Skip to content

Instantly share code, notes, and snippets.

@smford22
Created August 31, 2017 07:14
Show Gist options
  • Save smford22/5d05db49014f76dd13608c30730d79b5 to your computer and use it in GitHub Desktop.
Save smford22/5d05db49014f76dd13608c30730d79b5 to your computer and use it in GitHub Desktop.
Chef Endpoints Workshop .kitchen.yml
---
driver:
  name: vagrant
  vm_hostname: <YOUR_NAME>
  customize:
    memory: 2048
    cpus: 2

provisioner:
  name: chef_zero
  # You may wish to disable always updating cookbooks in CI or other testing environments.
  # For example:
  #   always_update_cookbooks: <%= !ENV['CI'] %>
  always_update_cookbooks: true
  roles_path: test/fixtures/roles
  client_rb:
    data_collector.server_url: 'https://34.212.39.65/data-collector/v0/'
    data_collector.token: '93a49a4f2482c64126f7b6015e6b0f30284287ee4054ff8807fb63d9cbd1c506'
    data_collector.raise_on_failure: true
    ssl_verify_mode: ':verify_none'
    verify_api_cert: false
    node_name: <YOURNAME>-kitchen

verifier:
  name: inspec

platforms:
  - name: <PLATFORM>

suites:
  - name: default
    run_list:
      - recipe[osx_hardening::default]
      - role[osx_audit]
    verifier:
      inspec_tests:
        - test/smoke/default
    attributes:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment