Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Commit

Permalink
Fix bug so that Amazon loads the Amazon repo instead of the CentOS 6 …
Browse files Browse the repository at this point in the history
…repo
  • Loading branch information
mjulian committed Dec 7, 2016
1 parent 851d4ca commit 8f12149
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,29 @@ platforms:
ssh_key: ~/.ssh/id_rsa
provisioner:
ansible_platform: 'amazon'
require_chef_for_busser: true
require_ruby_for_busser: false
verifier:
ruby_bindir: '/opt/chef/embedded/bin'
- name: amazonlinux-2016.09
driver:
name: ec2
image_id: ami-5ec1673e
aws_ssh_key_id: test-kitchen
region: us-west-2
availability_zone: a
instance_type: t2.large
associate_public_ip: true
interface: dns
transport:
username: ec2-user
ssh_key: ~/.ssh/id_rsa
provisioner:
ansible_platform: 'amazon'
require_chef_for_busser: true
require_ruby_for_busser: false
verifier:
ruby_bindir: '/opt/chef/embedded/bin'
# Ansible doesn't provide Debian repos so we use the omnibus installer to provide Ansible
- name: debian-7
driver:
Expand Down
2 changes: 1 addition & 1 deletion tasks/repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@
yum_repository:
name: 'librato_{{ librato_repo_base }}'
description: 'librato_{{ librato_repo_base }}'
baseurl: '{{ librato_repo_url }}{{ librato_repo_base }}/el/6/$basearch'
baseurl: '{{ librato_repo_url }}librato-amazonlinux-collectd/el/6/$basearch'
gpgcheck: no
when: ansible_distribution == 'Amazon'

0 comments on commit 8f12149

Please sign in to comment.