-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.kitchen.yml
70 lines (66 loc) · 1.59 KB
/
.kitchen.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
---
driver:
name: ec2
require_chef_omnibus: latest
aws_ssh_key_id: <%= ENV['AWS_EC2_KEYPAIR'] %>
associate_public_ip: true
subnet_id: <%= ENV['AWS_SUBNET'] %>
security_group_ids: <%= ENV['AWS_EC2_SG'].split(',').to_s %>
transport:
ssh_key: <%= ENV['AWS_EC2_KEYPASS'] %>
username: ec2-user
platforms:
# - name: amazon-linux-micro-tokyo
# driver:
# instance_type: t3.micro
# image_id: ami-0c3fd0f5d33134a76 # Amazon Linux 2 AMI (HVM), SSD Volume Type
# region: ap-northeast-1
# availability_zone: ap-northeast-1a
# tags:
# Name: test-kitchen-micro
- name: amazon-linux-large-tokyo
driver:
instance_type: c5.large
image_id: ami-052c9af0c988f8bbd # Amazon Linux 2 AMI (HVM), SSD Volume Type
region: ap-northeast-1
availability_zone: c
tags:
Name: test-kitchen-large
provisioner:
name: chef_zero
require_chef_omnibus: 15.1.36
verifier:
name: shell
suites:
- name: base
run_list:
- recipe[amimoto::repos]
- recipe[amimoto::nginx]
- recipe[amimoto::update-motd]
- recipe[amimoto::default]
- recipe[amimoto::nginx_default]
- recipe[amimoto::wordpress]
attributes:
phpfpm:
version: "73"
redis:
enabled: true
wordpress:
db:
user_name: kitchen
- name: modphp
run_list:
- recipe[amimoto::repos]
- recipe[amimoto::nginx]
- recipe[amimoto::update-motd]
- recipe[amimoto::default]
- recipe[amimoto::nginx_default]
- recipe[amimoto::wordpress]
attributes:
mod_php7:
enabled: true
redis:
enabled: true
wordpress:
db:
user_name: kitchen