Skip to content

Instantly share code, notes, and snippets.

@brylor
Created April 10, 2018 16:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brylor/7a2edd6c529979dab9bcb77cb4d6a29d to your computer and use it in GitHub Desktop.
Save brylor/7a2edd6c529979dab9bcb77cb4d6a29d to your computer and use it in GitHub Desktop.
---
driver:
name: docker
use_sudo: false
provisioner:
name: chef_zero
data_bags_path: data_bags
environments_path: 'environments'
client_rb:
environment: development
environment: "development"
# 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: debian
suites:
- name: tomcat
driver:
vm_hostname: tomcat
network:
customize:
memory: 1024
cpus: 4
run_list:
- recipe[tomcatsrv::default]
verifier:
inspec_tests:
- test/integration/default
attributes:
- name: node
driver:
vm_hostname: node
network:
- ["private_network", {ip: "10.0.0.32"}]
customize:
memory: 1024
cpus: 4
run_list:
- recipe[nodesrv::default]
verifier:
inspec_tests:
- test/integration/default
attributes:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment