master
 1#<% require "kitchen-sync" %>
 2---
 3driver:
 4  name: vagrant
 5
 6provisioner:
 7  name: chef_solo
 8
 9platforms:
10  - name: ubuntu-16.04
11
12suites:
13  - name: default
14    run_list:
15      - recipe[stronglifters::default]
16      - recipe[stronglifters::web]
17      - recipe[stronglifters::worker]
18      - recipe[stronglifters::postgres]
19    attributes:
20      stronglifters:
21        application_name: "stronglifters"
22        ruby_version: "2.2.3"
23        username: "vagrant"
24      postgresql:
25        password:
26          postgres: "iloverandompasswordsbutthiswilldo"
27      postgres:
28        database: "mydb"
29        username: "rails"
30        password: "password"
31        host: "localhost"
32  - name: web
33    run_list:
34      - recipe[stronglifters::default]
35      - recipe[stronglifters::web]
36    attributes:
37      env:
38        app_api_key: "api-key"
39        app_secret_key: "secret-key"
40      postgres:
41        database: "mydb"
42        username: "rails"
43        password: "password"
44        host: "localhost"
45  - name: worker
46    run_list:
47      - recipe[stronglifters::default]
48      - recipe[stronglifters::worker]
49    attributes:
50      postgres:
51        database: "mydb"
52        username: "rails"
53        password: "password"
54        host: "localhost"
55  - name: db
56    run_list:
57      - recipe[stronglifters::default]
58      - recipe[stronglifters::postgres]
59    attributes:
60      postgresql:
61        password:
62          postgres: "iloverandompasswordsbutthiswilldo"
63      postgres:
64        database: "mydb"
65        username: "rails"
66        password: "password"
67        host: "localhost"
68
69transport:
70  name: sftp