Skip to content

Instantly share code, notes, and snippets.

@bryanwb
Created April 17, 2013 13:14
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 bryanwb/5404197 to your computer and use it in GitHub Desktop.
Save bryanwb/5404197 to your computer and use it in GitHub Desktop.
sample test-kitchen yaml
---
driver_plugin: ec2
driver_config:
region: us-east-1
availability_zone: us-east-1d
flavor_id: m1.small
groups:
- default
require_chef_omnibus: true
image_id: ami-xxxxxx
username: root
run_list:
- recipe[yum::epel]
driver_config:
platforms:
- name: cass1
- name: cass2
- name: cass3
suites:
- name: default
run_list: ["recipe[cassandra]"]
attributes:
cassandra:
<% unless Dir['.kitchen/*.yml'].empty? %>
seeds: <%= Dir['.kitchen/*.yml'].map {|f| open(f, 'r').readlines[2].match(/.* ([\d\.]*)\n/)[1] } %>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment