Skip to content

Instantly share code, notes, and snippets.

@dm4r
Last active April 20, 2017 01:04
Show Gist options
  • Save dm4r/bf293468a19bfb90151089b8ab8bd18c to your computer and use it in GitHub Desktop.
Save dm4r/bf293468a19bfb90151089b8ab8bd18c to your computer and use it in GitHub Desktop.
Chef Intro Workshop - .kitchen.yml file
---
driver:
  name: vagrant
  network:
    - ["private_network", {ip: "192.168.33.33"}]

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

verifier:
  name: inspec

platforms:
  - name: windows-2012R2
    transport:
      name: winrm
    driver:
      box: mwrock/Windows2012R2

suites:
  - name: default
    run_list:
      - recipe[webserver::default]
    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