-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #314 from vinzent/amazonlinux_beaker_nodeset
Add Amazon Linux EC2 example beaker nodeset
- Loading branch information
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
moduleroot/spec/acceptance/nodesets/ec2/amazonlinux-2016091.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
# This file is managed via modulesync | ||
# https://github.com/voxpupuli/modulesync | ||
# https://github.com/voxpupuli/modulesync_config | ||
# | ||
# Additional ~/.fog config file with AWS EC2 credentials | ||
# required. | ||
# | ||
# see: https://github.com/puppetlabs/beaker/blob/master/docs/how_to/hypervisors/ec2.md | ||
# | ||
# Amazon Linux is not a RHEL clone. | ||
# | ||
HOSTS: | ||
amazonlinux-2016091-x64: | ||
roles: | ||
- master | ||
platform: centos-6-x86_64 | ||
hypervisor: ec2 | ||
# refers to image_tempaltes.yaml AMI[vmname] entry: | ||
vmname: amazonlinux-2016091-eu-central-1 | ||
# refers to image_tempaltes.yaml entry inside AMI[vmname][:image]: | ||
snapshot: aio | ||
# t2.micro is free tier eligible (https://aws.amazon.com/en/free/): | ||
amisize: t2.micro | ||
# required so that beaker sanitizes sshd_config and root authorized_keys: | ||
user: ec2-user | ||
CONFIG: | ||
type: aio | ||
:ec2_yaml: spec/acceptance/nodesets/ec2/image_templates.yaml | ||
... | ||
# vim: syntax=yaml |
14 changes: 14 additions & 0 deletions
14
moduleroot/spec/acceptance/nodesets/ec2/image_templates.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# This file is managed via modulesync | ||
# https://github.com/voxpupuli/modulesync | ||
# https://github.com/voxpupuli/modulesync_config | ||
# | ||
# see also: https://github.com/puppetlabs/beaker/blob/master/docs/how_to/hypervisors/ec2.md | ||
# | ||
# Hint: image IDs (ami-*) for the same image are different per location. | ||
# | ||
AMI: | ||
# Amazon Linux AMI 2016.09.1 (HVM), SSD Volume Type | ||
amazonlinux-2016091-eu-central-1: | ||
:image: | ||
:aio: ami-af0fc0c0 | ||
:region: eu-central-1 |