Skip to content

Instantly share code, notes, and snippets.

@benmullin333
Created November 17, 2018 20:44
Show Gist options
  • Save benmullin333/ab3a884a15fab46e53d06e0cff953321 to your computer and use it in GitHub Desktop.
Save benmullin333/ab3a884a15fab46e53d06e0cff953321 to your computer and use it in GitHub Desktop.
---
driver:
name: docker_cli
socket: "<%= ENV['DOCKER_HOST'] %>"
image: XXXXX/amazonlinux-14kitchen:201709.1
pre_create_command: "../../bin/kitchen-docker-preamble.sh"
privileged: false
dns:
- 1.1.1.1
- 8.8.8.8
add_host:
- wildcard.fedoraproject.org:8.43.85.67
- wildcard.fedoraproject.org:209.132.181.16
- rubygems.org:151.101.64.70
- rubygems.org:151.101.192.70
- rubygems.org:151.101.0.70
- rubygems.org:151.101.128.70
transport:
name: docker_cli
provisioner:
name: chef_zero
data_bags_path: "../../test/data_bags"
roles_path: "../../test/roles"
environments_path: "../../test/environments"
encrypted_data_bag_secret_key_path: "../../test/.chef/test_secret_file"
client_rb:
environment: test
platforms:
- name: amazonlinux-2017.09
suites:
- name: default
run_list:
- recipe[change_newrelic::install_java_agent_jar]
- recipe[change_newrelic::java_agent_configuration]
- recipe[change_newrelic::javascript_configuration]
- recipe[change_newrelic::python_configuration]
- recipe[change_newrelic::install_redis_plugin]
- recipe[change_newrelic::infrastructure]
attributes:
change_newrelic:
license_key: XXXXXXXX
java_agent:
config_file: "/tmp/newrelic-java-agent.yml"
config:
common:
app_name: Change App JavaAgent
javascript:
config_file: "/tmp/newrelic-javascript.js"
config:
app_name: Change App JavaScript
python:
app_name: Change App Python
file_location: "/tmp/newrelic.ini"
- name: ruby
run_list:
- recipe[change_newrelic::ruby_configuration]
attributes:
change_newrelic:
license_key: XXXXXXX
ruby:
config_file: "/tmp/newrelic-ruby.yml"
config:
app_name: Change App Ruby
staging_app_name: Change App Ruby (staging)
demo_app_name: Change App Ruby (demo)
# excludes:
# - aws-2017.09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment