forked from chef-boneyard/chef-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
96 lines (82 loc) · 1.89 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
driver:
name: vagrant
customize:
memory: 1024
cpus: 2
provisioner:
name: chef_zero
platforms:
- name: centos-5.11
- name: centos-6.7
- name: centos-7.1
- name: debian-7.8
- name: debian-8.1
- name: fedora-21
- name: freebsd-9.3
- name: freebsd-10.1
- name: ubuntu-12.04
- name: ubuntu-14.04
suites:
- name: service_bsd
run_list:
- recipe[chef-client::config]
- recipe[chef-client::bsd_service]
attributes: {}
includes: ["freebsd-9.3", "freebsd-10.1"]
- name: service_init
run_list:
- recipe[chef-client::config]
- recipe[chef-client::init_service]
attributes: {}
excludes: ["centos-7.1", "fedora-21"]
- name: service_runit
run_list:
- recipe[runit]
- recipe[chef-client::runit_service]
attributes: {}
- name: service_systemd
run_list:
- recipe[chef-client::systemd_service]
attributes: {}
includes: ["centos-7.1", "fedora-21"]
- name: service_upstart
run_list:
- recipe[chef-client::upstart_service]
includes: ["ubuntu-12.04", "ubuntu-14.04"]
attributes: {}
- name: cron
run_list:
- recipe[chef-client::cron]
attributes: {}
- name: config
run_list:
- recipe[chef-client::config]
attributes: {}
- name: delete_validation
run_list:
- recipe[chef-client::delete_validation]
attributes: {}
# Test that the we can use the cron_d directory
- name: cook-use_cron_d
run_list:
- recipe[chef-client::cron]
attributes:
chef_client:
cron:
use_cron_d: true
# Test that the running process includes command-line "daemon" options
- name: cook-1951
run_list:
- recipe[chef-client::config]
- recipe[chef-client::service]
attributes:
chef_client:
init_style: "init"
daemon_options: ["-E cook-1951"]
# Testing when we are using chef-client on a Chef Server (12+ only)
- name: server
run_list:
- recipe[chef-server]
- recipe[chef-client::config]
- recipe[chef-client::service]
attributes: {}