Created
April 17, 2013 13:14
-
-
Save bryanwb/5404197 to your computer and use it in GitHub Desktop.
sample test-kitchen yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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