Skip to content

Instantly share code, notes, and snippets.

@majormoses
Created February 11, 2017 00:55
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 majormoses/cf303fef69f75fd25f7bc6e245c6a38e to your computer and use it in GitHub Desktop.
Save majormoses/cf303fef69f75fd25f7bc6e245c6a38e to your computer and use it in GitHub Desktop.
---
driver:
name: dokken
chef_version: 12.9.41
privileged: true
transport:
name: dokken
verifier:
root_path: '/opt/verifier'
sudo: false
provisioner:
name: dokken
roles_path: test/roles
data_bags_path: test/data_bags
encrypted_data_bag_secret_key_path: test/data_bags/encrypted.secret
environments_path: test/environments
client_rb:
environment: kitchen
platforms:
- name: ubuntu-1404
driver:
image: ubuntu-upstart:14.04
named_run_list: debian
pid_one_command: /sbin/init
intermediate_instructions: # install addtional packages that can't be installed by cookbook
- RUN apt-get -y update
- RUN apt -f install
- RUN apt-get install -y apt-transport-https
- RUN apt-get install -y build-essential
# - RUN apt-get install -y ruby-dev
- RUN apt-get install -y zlib1g-dev
suites:
- name: sensu_client
driver:
hostname: kitchen-client
run_list:
- recipe[cc_apt::update]
- role[sensu_client]
attributes:
cc:
sensu:
api:
host: localhost
roles:
- application_admin_portal
- nginx
- sensu_rabbitmq
service:
common:
DYNAMODB_TABLES:
- "test.platform-pipeline.pipeline_job"
- "test.platform-scheduler.schedule"
vars:
ACTIVITY_STATUS_QUEUEACTIVITY_STATUS_QUEUE: "test-pipeline-activity-status"
USER: ccservice
- name: sensu_ext_monitor
run_list:
- recipe[cc_apt::update]
- role[sensu_ext_monitor]
attributes:
cc:
sensu:
api:
host: localhost
roles:
- sensu_ext_monitor
- application_admin_portal
monitoring:
consul:
host: kitchen.consul
service:
common:
DYNAMODB_TABLES:
- "test.platform-pipeline.pipeline_job"
- "test.platform-scheduler.schedule"
vars:
ACTIVITY_STATUS_QUEUEACTIVITY_STATUS_QUEUE: "test-pipeline-activity-status"
USER: ccservice
- name: sensu_server
run_list:
- recipe[cc_apt::update]
- role[sensu_server]
attributes:
cc:
sensu:
api:
host: localhost
service:
common:
DYNAMODB_TABLES:
- "test.platform-pipeline.pipeline_job"
- "test.platform-scheduler.schedule"
vars:
ACTIVITY_STATUS_QUEUEACTIVITY_STATUS_QUEUE: "test-pipeline-activity-status"
USER: ccservice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment