-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.kitchen.yml
110 lines (97 loc) · 2.67 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
---
driver:
name: vagrant
provisioner:
name: chef_zero
require_chef_omnibus: true
platforms:
- name: ubuntu-14.04
- name: centos-7.1
suites:
- name: default
run_list:
- recipe[attribute-validator::install]
# Expected to fail converge - TODO: integrate better with test kitchen
- name: compile-broken-default
run_list:
- recipe[attribute-validator::compile-time-check]
attributes:
attribute-validator:
rules:
demfoos:
path: /foo
required: true
# Expected to fail converge - TODO: integrate better with test kitchen
- name: compile-broken-error
run_list:
- recipe[attribute-validator::compile-time-check]
attributes:
attribute-validator:
fail-action: error
rules:
demfoos:
path: /foo
required: true
# Expected to pass converge but emit warning in converge log - TODO: integrate better with test kitchen
- name: compile-broken-warn
run_list:
- recipe[attribute-validator::compile-time-check]
attributes:
attribute-validator:
fail-action: warn
rules:
demfoos:
path: /foo
required: true
- name: compile-clean
run_list:
- recipe[attribute-validator::compile-time-check]
attributes:
foo: bar
attribute-validator:
rules:
demfoos:
path: /foo
required: true
# Expected to fail converge - TODO: integrate better with test kitchen
- name: converge-broken-default
run_list:
- recipe[attribute-validator::converge-time-check]
attributes:
attribute-validator:
rules:
demfoos:
path: /foo
required: true
# Expected to fail converge - TODO: integrate better with test kitchen
- name: converge-broken-error
run_list:
- recipe[attribute-validator::converge-time-check]
attributes:
attribute-validator:
fail-action: error
rules:
demfoos:
path: /foo
required: true
# Expected to pass converge but emit warning in converge log - TODO: integrate better with test kitchen
- name: converge-broken-warn
run_list:
- recipe[attribute-validator::converge-time-check]
attributes:
attribute-validator:
fail-action: warn
rules:
demfoos:
path: /foo
required: true
- name: converge-clean
run_list:
- recipe[attribute-validator::converge-time-check]
attributes:
foo: bar
attribute-validator:
rules:
demfoos:
path: /foo
required: true